LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   U boot flas to SD Card (https://www.linuxquestions.org/questions/linux-software-2/u-boot-flas-to-sd-card-775957/)

shariefbe 12-15-2009 10:37 PM

U boot flas to SD Card
 
Hello,
I am using ARM based board. I want to boot the kernel from SD Card. For that i have to install the u boot bootloader into SD card. how to install u boot from host computer? i have partitioned my SD card into 3. i have to install u boot in first partition. So please kindly help me.

Skaperen 12-16-2009 08:00 AM

Do you really want both the boot loader and the kernel on the SD card? Is there no boot loader in the on-board flash? Is there on-board flash? I'd love to have an ARM board that had a hardware means to load the boot loader from an SD card, but I've never seen one. In the past I've had RedBoot in the on-board flash, and it loaded my initrd and kernel from whatever device (I was doing USB drives and network).

Whatever you want to be directly into a partition on the SD card, you can use dd or most other programs. The input is your file that is already in an image format, and the output is the target device partition.

dd if=mybootfile.img of=/dev/sdx1 bs=512


All times are GMT -5. The time now is 07:30 PM.