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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,018 Views
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

Labels (1)
0 Kudos
Reply
3 Replies

822 Views
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

822 Views
maniam
Contributor I

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

0 Kudos
Reply

822 Views
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 Kudos
Reply