10-28-2019, 09:24 AM
uBoot should be at offset 32768 (bytes) within the image.
To confirm this, I opened the .img file in 7zip (there are probably archive programs on Linux which can show the sections of a raw image too), which gets me this... From here, I extracted the individual sections and ran the "strings" command (I did it within WSL, but obviously on Linux you could just do this natively) on each one until I found something that looks like uBoot. As it turns out, RWFW.img is a match.
Offset 32768 is pretty standard for this. The earlier Rockchip-specific bootloaders reside in even lower offsets, and chainload one to another before finally starting up uBoot.
Also as a note: You may not want to rely on information from the linux-sunxi wiki when dealing with the PBP. General topics will likely be accurate, but the focus of that wiki is on Allwinner systems, which don't always operate in the same way as Rockchip.
To confirm this, I opened the .img file in 7zip (there are probably archive programs on Linux which can show the sections of a raw image too), which gets me this... From here, I extracted the individual sections and ran the "strings" command (I did it within WSL, but obviously on Linux you could just do this natively) on each one until I found something that looks like uBoot. As it turns out, RWFW.img is a match.
Offset 32768 is pretty standard for this. The earlier Rockchip-specific bootloaders reside in even lower offsets, and chainload one to another before finally starting up uBoot.
Also as a note: You may not want to rely on information from the linux-sunxi wiki when dealing with the PBP. General topics will likely be accurate, but the focus of that wiki is on Allwinner systems, which don't always operate in the same way as Rockchip.
Community administrator and sysadmin for PINE64
(Translation: If something breaks on the website, forum, or chat network, I'm a good person to yell at about it)
(Translation: If something breaks on the website, forum, or chat network, I'm a good person to yell at about it)