Finding u-boot code in SD card using a hex viewer

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Finding u-boot code in SD card using a hex viewer

1,662件の閲覧回数
maniam
Contributor I

Hi, 

I am using NITROGEN6X board from Boundary Devices (here)

The linux kernel uses U-boot as the boot loader.

I open the SD Card content in a hex viewer and I can see/decode the MBR in sector 0.

I am now trying to find the stage 1 (secondary program loader) and stage 2 code in the hex viewer.

Is there any documents describing this?

- Mani

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,466件の閲覧回数
gary_bisson
Senior Contributor III

Hi Mani,

All our platforms come with U-Boot flashed in NOR flash, you won't be able to see U-Boot in our SDCard images since it is not there. That is how we can provide one single sdcard image that works on all our platforms.

You can learn how to build/flash U-Boot on our platforms here:

https://boundarydevices.com/u-boot-v2016-03/ 

Regards,

Gary

1,466件の閲覧回数
maniam
Contributor I

Thanks! Is there any way to dump the NOR flash to a file?

0 件の賞賛
返信

1,466件の閲覧回数
gary_bisson
Senior Contributor III

Hi,

Yes, U-Boot is located in /dev/mtd0, you can cat its content to a file directly.

Regards,

Gary

0 件の賞賛
返信