
Hi Heiko:
On 2017年09月22日 08:24, Andy Yan wrote:
Hi Heiko:
On 2017年09月21日 22:55, Heiko Stübner wrote:
Hi Andy,
Am Donnerstag, 21. September 2017, 22:03:32 CEST schrieb Andy Yan:
Hi Heiko: I try to boot the upstream u-boot-rockchip branch on my rk3188 board with(rock_defconfig)
But I got this error: early_init() nit_and_scan() returned error -22 early_init() failed: -22 ERROR ### Please RESET the board ###
the current commit head is: 782088d("rockchip: imply ADC and SARADC_ROCKCHIP on supported SoCs") Do you ever meet something like this?
that is very strange. When testing Philipp's branch, I was also testing the commit you mention to see if anything broke since I last changed u-boot on my radxa rock. And the above commit started just fine, when starting from an sd-card.
Not sure from which medium you're starting though. But from what I remember Pawel got nand working in his rk3066 series, but that is not yet merged.
I boot from emmc, I will go on hack on it.
I finally can boot it with the rock_defconfig. But the way to package the tpl spl u-boot a little different.
cat ${DIR}/out/tpl/u-boot-tpl.bin > tplspl.bin truncate -s 1020 tplspl.bin sed -i "/^/{1s/^/RK31/}" tplspl.bin cat ${DIR}/out/spl/u-boot-spl.bin > spl.bin truncate -s %2048 spl.bin cat spl.bin >> tplspl.bin
Then the tplspl.bin + u-boot.bin should package by boot_merger(tplsplb.in for FLashData, u-boot.bin for FlashBoot) from rockchip downstream u-boot repo: ./tools/boot_merger ./tools/rk_tools/RKBOOT/RK310BMINIALL.ini
download to emmc by "upgrade_tool ul" command. According to our bootrom code author, the rk31(maybe include rk30) bootrom has a limitation that the idbblock couldn't accessed by upgrade_tool wl command.
Heiko