« Return to Thread: Boot OE from a CompactFlash card

Re: Boot OE from a CompactFlash card

by gordu :: Rate this Message:

Reply to Author | View in Thread

The gumstix-factory.script  is the result of running mkimage against gumstix-factory.script.source. In gumstix/gumstix-oe/extras/cf-root you should also have a script makefactoryscript.sh that runs mkimage with the right parameters to produce gumstix-factory.script.

If you want to buid your own rootfs and kernel images I found the following
http://www.klc.net.nz/linux/?page_id=10
which mostly worked. I had to tweek a few things (I'll try find my notes)  but in the end it all worked.

gord

On Mon, May 12, 2008 at 1:25 PM, Scott Lerman <smlerman@...> wrote:
On Mon, May 12, 2008 at 2:48 PM, Steve Sakoman <sakoman@...> wrote:
> Or even easier, pick up the tarballs from:
>
>  http://www.sakoman.net/oe/cf-boot/
>
>  Steve
>
>
>
>  On Mon, May 12, 2008 at 11:44 AM, Steve Sakoman <sakoman@...> wrote:
>  > Take a look in your extras/cf-root directory for the script.
>  >
>  >  Steve
>  >
>  >
>  >
>  >  On Mon, May 12, 2008 at 11:34 AM, Scott Lerman <smlerman@...> wrote:
>  >  > 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
>  >  >
>  >
>
>  -------------------------------------------------------------------------
>  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
>

Looks good, thanks. I noticed in the gumstix-factory.script that
there's a bunch of garbage characters at the top of the file. Is that
the uboot header that I vaguely remember reading about?

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


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