Firefly Open Source Community

Title: the offset of bootloader in bootable SD card [Print This Page]

Author: hsinsoft    Time: 4/29/2015 16:51
Title: the offset of bootloader in bootable SD card
Hi,
I am using SD card to boot rk3288 platform by prebuild image.
I had compiled my own bootloader(RK3288Loader_uboot_V2.17.02.bin) and I want to update the bootloader(uboot) in SD card.
Due to I can't using upgrade_tool to update the RK3288Loader_uboot_V2.17.02.bin when SD card is inserted.

I am trying to use linux command "dd" to fuse my SD card, but I didn't know the offset.(I tried offset: 0x0, 0x2000 )
Have someone know the offset to fuse the  RK3288Loader_uboot_V2.17.02.bin?



Author: hsinsoft    Time: 4/30/2015 13:58
I found a method the achieve my goal. Pack the FlashBoot.bin and execute
$ sudo dd if=FlashBoot.bin of=/dev/sdb conv=sync,fsync seek=100
Author: naobsd    Time: 4/30/2015 18:59
just FYI,

offset is specified in IDB sector 0. it(seek=100) may be different when you use another DDR init blob.

here is some info
http://androtab.info/rockchip/u-boot/

some detail is not yet described, but you can ask me freely on #linux-rockchip on Freenode IRC




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1