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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,666 次查看
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,470 次查看
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,470 次查看
maniam
Contributor I

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

0 项奖励
回复

1,470 次查看
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 项奖励
回复