« Return to Thread: Boot OE from a CompactFlash card

Re: Boot OE from a CompactFlash card

by Scott Lerman-2 :: Rate this Message:

Reply to Author | View in Thread

The gumstix-factory.script from that wiki page has this:

if mmcinit; then
       setenv bootargs console=ttyS0,115200n8 rootdelay=1 root=/dev/mmcblk0p2
       if fatload mmc 0 a2000000 uimage; then
               set workedok Success
       fi
fi

Since I'm using CF instead of MMC, does this look right:

if pinit on; then
      setenv bootargs rw console=ttyS0,115200n8 reboot=cold,hard MEDIA=CF
       if fatload ide 0 a2000000 uimage; then
               set workedok Success
       fi
fi

--
Scott Lerman

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

 « Return to Thread: Boot OE from a CompactFlash card

LightInTheBox - Buy quality products at wholesale price