Re: [Gumstix-users] Running script during set-up

Amazing! Yes that line is rather misleading...
I re-ran the script with the appropriate desktop-nand-image file, and after
about 10 minutes it stopped printing "untar" messages. How do I know if it's
worked?
Thanks again Benny, your help has been invaluable, and not too basic! It
would seem that the instructions on the Gumstix site could do with a slight
updating for those less experienced users such as myself.
Hugo
Benny B. Simonsen wrote:
>
> 2010/8/13 munchable <hugo@...>
>
>>
>> Thanks for your help Benny, I managed to do what you say, but only by
>> creating a new partition on the sd card, copying the files across and
>> then
>> removing the partition.
>>
>
> Don't quite understand what and why you have to create a new partition.
> You
> should have a small FAT partition (MLO u-boot kernel) and a large ext3
> where
> you should have plenty of space for the tar ball
>
>>
>> Now that I'm further down the line, I have a new problem... I run the
>> script, and it churns away for about 20 minutes before grinding to a halt
>> with a whole fiesta of "No space left on device" messages. I'm using a
>> 4gb
>> SD card, which I configured using the instructions on the Gumstix page.
>> I've
>> been through the whole process twice now, same result each time. Any
>> ideas!?
>>
>
> Which image do you use?
> If you read
> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Downloading-pre-built-images/111.html
>
> you will see:
> Quote: "In particular you will need to use omap3-desktop-nand-image rather
> than omap3-desktop-image" Unquote
> If you did use the omap3-desktop-image then the "No space left on device"
> would indicate that the flash partition were full.
>
> The size of the SD card is not an issue. The line
>
> mount -t jffs2 /dev/mtdblock4 /media/mtdblock4
>
> in the script, will "insert the flash partition at /media/mtdblock4 so any
> files you will copy to that place will not end on the SD.
> Sorry if I'm to basic in the description, but you wrote yourself that
> linux
> were a "new thing" :)
>
> @gumstix
> I guess the line
>
> rootfs=omap3-desktop-image-overo.tar.bz2
>
> in the script which can be found here:
> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
> can be a bit confusing. The omap3-desktop-image-overo is exactly the one
> that can't be used.
>
> Could you change it to:
>
> rootfs=omap3-desktop-nand-image-overo.tar.bz2
>
>
> Thanks
> Benny
>
>
>>
>> Yours,
>> Hugo
>>
>>
>>
>>
>> Benny B. Simonsen wrote:
>> >
>> > 2010/8/13 Hugo Grimmett <hugo@...>
>> >
>> >> Hi chaps,
>> >>
>> >> I'm trying to set up the Gumstix as per the instructions on the
>> >> "getting-started" page, and have encountered a snag. I've created the
>> >> bootable SD card, and I'm using the console port to log into the
>> Gumstix.
>> >> I
>> >> have created a shell-script which contains the program detailed on
>> this
>> >> page
>> >> (
>> >>
>> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
>> >> )
>> >> in the recommended /home/root/images folder.
>> >>
>> >> When I first ran it, I got a load of error messages saying it couldn't
>> >> find
>> >> any of the relevant files. Ok, so I mounted the FAT32 partition of the
>> SD
>> >> card and copied the MLO, u-boot.bin and uImage.bin files across into
>> the
>> >> /home/root/images folder where my script was. It now seems happy until
>> it
>> >> gets to looking for the rootfs tarball, where it returns "ERROR:
>> couldn't
>> >> find rootfs tarball".
>> >>
>> >> What do I do? The instructions said that I should use my development
>> >> machine
>> >> to untar the file system into one of the partitions, so as far as I am
>> >> aware
>> >> the rootfs tarball isn't going to be on the SD card.
>> >>
>> >> Any help would be much appreciated, and please bear in mind that my
>> >> knowledge of linux is superficial at best.
>> >>
>> >> Yours,
>> >> Hugo
>> >>
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> This SF.net email is sponsored by
>> >>
>> >> Make an app they can't live without
>> >> Enter the BlackBerry Developer Challenge
>> >> http://p.sf.net/sfu/RIM-dev2dev
>> >> _______________________________________________
>> >> gumstix-users mailing list
>> >> gumstix-users@...
>> >> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>> >>
>> >
>> > Hi,
>> >
>> > The script looks for omap3-desktop-image-overo.tar.bz2 where you start
>> the
>> > script (/home/root/images). So yes you have to put the tarball on th SD
>> > and
>> > then the script will untar it to what will become / when you boot from
>> > NAND.
>> >
>> > BR
>> > Benny
>> >
>> >
>> ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by
>> >
>> > Make an app they can't live without
>> > Enter the BlackBerry Developer Challenge
>> > http://p.sf.net/sfu/RIM-dev2dev
>> > _______________________________________________
>> > gumstix-users mailing list
>> > gumstix-users@...
>> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Running-script-during-set-up-tp29431364p29432829.html
>> Sent from the Gumstix mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@...
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
--
View this message in context: http://old.nabble.com/Running-script-during-set-up-tp29431364p29444022.html
Sent from the Gumstix mailing list archive at Nabble.com.

Thread view

Hi chaps,
I'm trying to set up the Gumstix as per the instructions on the
"getting-started" page, and have encountered a snag. I've created the
bootable SD card, and I'm using the console port to log into the Gumstix. I
have created a shell-script which contains the program detailed on this page
(http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html)
in the recommended /home/root/images folder.
When I first ran it, I got a load of error messages saying it couldn't find
any of the relevant files. Ok, so I mounted the FAT32 partition of the SD
card and copied the MLO, u-boot.bin and uImage.bin files across into the
/home/root/images folder where my script was. It now seems happy until it
gets to looking for the rootfs tarball, where it returns "ERROR: couldn't
find rootfs tarball".
What do I do? The instructions said that I should use my development machine
to untar the file system into one of the partitions, so as far as I am aware
the rootfs tarball isn't going to be on the SD card.
Any help would be much appreciated, and please bear in mind that my
knowledge of linux is superficial at best.
Yours,
Hugo

2010/8/13 Hugo Grimmett <hugo@...>
> Hi chaps,
>
> I'm trying to set up the Gumstix as per the instructions on the
> "getting-started" page, and have encountered a snag. I've created the
> bootable SD card, and I'm using the console port to log into the Gumstix. I
> have created a shell-script which contains the program detailed on this
> page
> (
> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
> )
> in the recommended /home/root/images folder.
>
> When I first ran it, I got a load of error messages saying it couldn't find
> any of the relevant files. Ok, so I mounted the FAT32 partition of the SD
> card and copied the MLO, u-boot.bin and uImage.bin files across into the
> /home/root/images folder where my script was. It now seems happy until it
> gets to looking for the rootfs tarball, where it returns "ERROR: couldn't
> find rootfs tarball".
>
> What do I do? The instructions said that I should use my development
> machine
> to untar the file system into one of the partitions, so as far as I am
> aware
> the rootfs tarball isn't going to be on the SD card.
>
> Any help would be much appreciated, and please bear in mind that my
> knowledge of linux is superficial at best.
>
> Yours,
> Hugo
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
Hi,
The script looks for omap3-desktop-image-overo.tar.bz2 where you start the
script (/home/root/images). So yes you have to put the tarball on th SD and
then the script will untar it to what will become / when you boot from NAND.
BR
Benny

Thanks for your help Benny, I managed to do what you say, but only by
creating a new partition on the sd card, copying the files across and then
removing the partition.
Now that I'm further down the line, I have a new problem... I run the
script, and it churns away for about 20 minutes before grinding to a halt
with a whole fiesta of "No space left on device" messages. I'm using a 4gb
SD card, which I configured using the instructions on the Gumstix page. I've
been through the whole process twice now, same result each time. Any ideas!?
Yours,
Hugo
Benny B. Simonsen wrote:
>
> 2010/8/13 Hugo Grimmett <hugo@...>
>
>> Hi chaps,
>>
>> I'm trying to set up the Gumstix as per the instructions on the
>> "getting-started" page, and have encountered a snag. I've created the
>> bootable SD card, and I'm using the console port to log into the Gumstix.
>> I
>> have created a shell-script which contains the program detailed on this
>> page
>> (
>> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
>> )
>> in the recommended /home/root/images folder.
>>
>> When I first ran it, I got a load of error messages saying it couldn't
>> find
>> any of the relevant files. Ok, so I mounted the FAT32 partition of the SD
>> card and copied the MLO, u-boot.bin and uImage.bin files across into the
>> /home/root/images folder where my script was. It now seems happy until it
>> gets to looking for the rootfs tarball, where it returns "ERROR: couldn't
>> find rootfs tarball".
>>
>> What do I do? The instructions said that I should use my development
>> machine
>> to untar the file system into one of the partitions, so as far as I am
>> aware
>> the rootfs tarball isn't going to be on the SD card.
>>
>> Any help would be much appreciated, and please bear in mind that my
>> knowledge of linux is superficial at best.
>>
>> Yours,
>> Hugo
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@...
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>
> Hi,
>
> The script looks for omap3-desktop-image-overo.tar.bz2 where you start the
> script (/home/root/images). So yes you have to put the tarball on th SD
> and
> then the script will untar it to what will become / when you boot from
> NAND.
>
> BR
> Benny
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
--
View this message in context: http://old.nabble.com/Running-script-during-set-up-tp29431364p29432829.html
Sent from the Gumstix mailing list archive at Nabble.com.

2010/8/13 munchable <hugo@...>
>
> Thanks for your help Benny, I managed to do what you say, but only by
> creating a new partition on the sd card, copying the files across and then
> removing the partition.
>
Don't quite understand what and why you have to create a new partition. You
should have a small FAT partition (MLO u-boot kernel) and a large ext3 where
you should have plenty of space for the tar ball
>
> Now that I'm further down the line, I have a new problem... I run the
> script, and it churns away for about 20 minutes before grinding to a halt
> with a whole fiesta of "No space left on device" messages. I'm using a 4gb
> SD card, which I configured using the instructions on the Gumstix page.
> I've
> been through the whole process twice now, same result each time. Any
> ideas!?
>
Which image do you use?
If you read
http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Downloading-pre-built-images/111.html
you will see:
Quote: "In particular you will need to use omap3-desktop-nand-image rather
than omap3-desktop-image" Unquote
If you did use the omap3-desktop-image then the "No space left on device"
would indicate that the flash partition were full.
The size of the SD card is not an issue. The line
mount -t jffs2 /dev/mtdblock4 /media/mtdblock4
in the script, will "insert the flash partition at /media/mtdblock4 so any
files you will copy to that place will not end on the SD.
Sorry if I'm to basic in the description, but you wrote yourself that linux
were a "new thing" :)
@gumstix
I guess the line
rootfs=omap3-desktop-image-overo.tar.bz2
in the script which can be found here:
http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
can be a bit confusing. The omap3-desktop-image-overo is exactly the one
that can't be used.
Could you change it to:
rootfs=omap3-desktop-nand-image-overo.tar.bz2
Thanks
Benny
>
> Yours,
> Hugo
>
>
>
>
> Benny B. Simonsen wrote:
> >
> > 2010/8/13 Hugo Grimmett <hugo@...>
> >
> >> Hi chaps,
> >>
> >> I'm trying to set up the Gumstix as per the instructions on the
> >> "getting-started" page, and have encountered a snag. I've created the
> >> bootable SD card, and I'm using the console port to log into the
> Gumstix.
> >> I
> >> have created a shell-script which contains the program detailed on this
> >> page
> >> (
> >>
> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
> >> )
> >> in the recommended /home/root/images folder.
> >>
> >> When I first ran it, I got a load of error messages saying it couldn't
> >> find
> >> any of the relevant files. Ok, so I mounted the FAT32 partition of the
> SD
> >> card and copied the MLO, u-boot.bin and uImage.bin files across into the
> >> /home/root/images folder where my script was. It now seems happy until
> it
> >> gets to looking for the rootfs tarball, where it returns "ERROR:
> couldn't
> >> find rootfs tarball".
> >>
> >> What do I do? The instructions said that I should use my development
> >> machine
> >> to untar the file system into one of the partitions, so as far as I am
> >> aware
> >> the rootfs tarball isn't going to be on the SD card.
> >>
> >> Any help would be much appreciated, and please bear in mind that my
> >> knowledge of linux is superficial at best.
> >>
> >> Yours,
> >> Hugo
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.net email is sponsored by
> >>
> >> Make an app they can't live without
> >> Enter the BlackBerry Developer Challenge
> >> http://p.sf.net/sfu/RIM-dev2dev
> >> _______________________________________________
> >> gumstix-users mailing list
> >> gumstix-users@...
> >> https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >>
> >
> > Hi,
> >
> > The script looks for omap3-desktop-image-overo.tar.bz2 where you start
> the
> > script (/home/root/images). So yes you have to put the tarball on th SD
> > and
> > then the script will untar it to what will become / when you boot from
> > NAND.
> >
> > BR
> > Benny
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > gumstix-users mailing list
> > gumstix-users@...
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Running-script-during-set-up-tp29431364p29432829.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

Amazing! Yes that line is rather misleading...
I re-ran the script with the appropriate desktop-nand-image file, and after
about 10 minutes it stopped printing "untar" messages. How do I know if it's
worked?
Thanks again Benny, your help has been invaluable, and not too basic! It
would seem that the instructions on the Gumstix site could do with a slight
updating for those less experienced users such as myself.
Hugo
Benny B. Simonsen wrote:
>
> 2010/8/13 munchable <hugo@...>
>
>>
>> Thanks for your help Benny, I managed to do what you say, but only by
>> creating a new partition on the sd card, copying the files across and
>> then
>> removing the partition.
>>
>
> Don't quite understand what and why you have to create a new partition.
> You
> should have a small FAT partition (MLO u-boot kernel) and a large ext3
> where
> you should have plenty of space for the tar ball
>
>>
>> Now that I'm further down the line, I have a new problem... I run the
>> script, and it churns away for about 20 minutes before grinding to a halt
>> with a whole fiesta of "No space left on device" messages. I'm using a
>> 4gb
>> SD card, which I configured using the instructions on the Gumstix page.
>> I've
>> been through the whole process twice now, same result each time. Any
>> ideas!?
>>
>
> Which image do you use?
> If you read
> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Downloading-pre-built-images/111.html
>
> you will see:
> Quote: "In particular you will need to use omap3-desktop-nand-image rather
> than omap3-desktop-image" Unquote
> If you did use the omap3-desktop-image then the "No space left on device"
> would indicate that the flash partition were full.
>
> The size of the SD card is not an issue. The line
>
> mount -t jffs2 /dev/mtdblock4 /media/mtdblock4
>
> in the script, will "insert the flash partition at /media/mtdblock4 so any
> files you will copy to that place will not end on the SD.
> Sorry if I'm to basic in the description, but you wrote yourself that
> linux
> were a "new thing" :)
>
> @gumstix
> I guess the line
>
> rootfs=omap3-desktop-image-overo.tar.bz2
>
> in the script which can be found here:
> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
> can be a bit confusing. The omap3-desktop-image-overo is exactly the one
> that can't be used.
>
> Could you change it to:
>
> rootfs=omap3-desktop-nand-image-overo.tar.bz2
>
>
> Thanks
> Benny
>
>
>>
>> Yours,
>> Hugo
>>
>>
>>
>>
>> Benny B. Simonsen wrote:
>> >
>> > 2010/8/13 Hugo Grimmett <hugo@...>
>> >
>> >> Hi chaps,
>> >>
>> >> I'm trying to set up the Gumstix as per the instructions on the
>> >> "getting-started" page, and have encountered a snag. I've created the
>> >> bootable SD card, and I'm using the console port to log into the
>> Gumstix.
>> >> I
>> >> have created a shell-script which contains the program detailed on
>> this
>> >> page
>> >> (
>> >>
>> http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Writing-images-to-onboard-nand/111.html
>> >> )
>> >> in the recommended /home/root/images folder.
>> >>
>> >> When I first ran it, I got a load of error messages saying it couldn't
>> >> find
>> >> any of the relevant files. Ok, so I mounted the FAT32 partition of the
>> SD
>> >> card and copied the MLO, u-boot.bin and uImage.bin files across into
>> the
>> >> /home/root/images folder where my script was. It now seems happy until
>> it
>> >> gets to looking for the rootfs tarball, where it returns "ERROR:
>> couldn't
>> >> find rootfs tarball".
>> >>
>> >> What do I do? The instructions said that I should use my development
>> >> machine
>> >> to untar the file system into one of the partitions, so as far as I am
>> >> aware
>> >> the rootfs tarball isn't going to be on the SD card.
>> >>
>> >> Any help would be much appreciated, and please bear in mind that my
>> >> knowledge of linux is superficial at best.
>> >>
>> >> Yours,
>> >> Hugo
>> >>
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> This SF.net email is sponsored by
>> >>
>> >> Make an app they can't live without
>> >> Enter the BlackBerry Developer Challenge
>> >> http://p.sf.net/sfu/RIM-dev2dev
>> >> _______________________________________________
>> >> gumstix-users mailing list
>> >> gumstix-users@...
>> >> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>> >>
>> >
>> > Hi,
>> >
>> > The script looks for omap3-desktop-image-overo.tar.bz2 where you start
>> the
>> > script (/home/root/images). So yes you have to put the tarball on th SD
>> > and
>> > then the script will untar it to what will become / when you boot from
>> > NAND.
>> >
>> > BR
>> > Benny
>> >
>> >
>> ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by
>> >
>> > Make an app they can't live without
>> > Enter the BlackBerry Developer Challenge
>> > http://p.sf.net/sfu/RIM-dev2dev
>> > _______________________________________________
>> > gumstix-users mailing list
>> > gumstix-users@...
>> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Running-script-during-set-up-tp29431364p29432829.html
>> Sent from the Gumstix mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@...
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
--
View this message in context: http://old.nabble.com/Running-script-during-set-up-tp29431364p29444022.html
Sent from the Gumstix mailing list archive at Nabble.com.