Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

the offset of bootloader in bootable SD card

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32

the offset of bootloader in bootable SD card

Posted at 4/29/2015 16:51:07      View:4838 | Replies:2        Print      Only Author   [Copy Link] 1#
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?


Reply

Use props Report

32

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
32
Posted at 4/30/2015 13:58:58        Only Author  2#
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
Reply

Use props Report

244

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
244
Posted at 4/30/2015 18:59:40        Only Author  3#
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
http://androtab.info/
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list