On 03/22/2011 12:11 PM, Rich Mattes wrote:


On Tue, Mar 22, 2011 at 9:59 AM, haberldx002 <[email protected] <mailto:[email protected]>> wrote:

    Hi,
    Today I try to install Fedora 12 ARM on my Beagleboard xM, I
    follow the guide in
    https://fedoraproject.org/wiki/Architectures/ARM/BeagleBoardxMSDCard
    step by step. Everythings looks OK.
    But when I boot the board, it still boot into the orginal
    angstrom, the boot.scr likes not working. Could you please help me
    to let it work? Thanks.
    Best Regards,
    David
    2011-03-22
    ------------------------------------------------------------------------
    haberldx002

Hi,

I'm forwarding this message to the fedora ARM mailing list, as it's better to ask there than to contact me directly.

Are you using a recent version of u-boot.bin? Have you manually changed any of the u-boot environment variables at any point?

I didn't write the section of the tutorial concerning the boot.scr file. I'm not too familiar with how u-boot works, but I can say that the process worked for me on the two fresh out-of-the-box beagleboard xms i've tried it on.

Rich

Incidentally, I had modified some of the default u-boot environment variables to the point where boot.scr wasn't working for me on one of the BeagleBoards I've been working with. To fix it, I restored the bootcmd environment variable to the default value it shipped with:

setenv bootcmd "if mmc init ${mmcdev}; then if userbutton; then setenv bootscr user.scr; if run loadbootscript; then run bootscript; else if run loaduimage; then if run loadramdisk; then run ramboot; else run mmcboot; fi; fi; fi; else setenv bootscr boot.scr; if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; fi; else run nandboot; fi"
saveenv

As long as you didn't touch any of the rest of the environment variables, this should load the boot.scr file and execute what's inside of it.

Rich
_______________________________________________
arm mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/arm

Reply via email to