RE: Failure to generate beagle_sd.img using linaro-media-create on Ubuntu 12.04 (64-bit)

2013-03-11 Thread Rajkiran Mulugu
e to generate beagle_sd.img using linaro-media-create on Ubuntu 12.04 (64-bit) Hi all, Below is the link for the bug-id (Bug #1135454 ) created for the issue "failure to generate beagle_sd.img using linario-media-create on ubuntu 12.04 on 64bit OS". https://bugs.launchpad.net/linaro-im

Failure to generate beagle_sd.img using linaro-media-create on Ubuntu 12.04 (64-bit)

2013-02-28 Thread Rajkiran Mulugu
eagle_image wget http://releases.linaro.org/platform/linaro-m/hwpacks/final/hwpack_linaro-omap3_20101109-1_armel_supported.tar.gz wget http://releases.linaro.org/platform/linaro-m/headless/release-candidate/linaro-m-headless-tar-20101101-0.tar.gz sudo linaro-media-create --image_file beagle_sd.img --dev beagle --bin

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-20 Thread James Tunnicliffe
On 19 February 2013 18:54, Alexander Sack wrote: > On Tue, Feb 19, 2013 at 6:03 PM, James Tunnicliffe > wrote: >> On 19 February 2013 16:08, Alexander Sack wrote: >>> On Tue, Feb 19, 2013 at 2:53 PM, James Tunnicliffe >>> wrote: Good point! I would be pleasantly surprised if an image + hwp

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread Alexander Sack
On Tue, Feb 19, 2013 at 6:03 PM, James Tunnicliffe wrote: > On 19 February 2013 16:08, Alexander Sack wrote: >> On Tue, Feb 19, 2013 at 2:53 PM, James Tunnicliffe >> wrote: >>> Good point! I would be pleasantly surprised if an image + hwpack from >>> 2010 worked with our current tools. >> >> Act

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread James Tunnicliffe
On 19 February 2013 16:08, Alexander Sack wrote: > On Tue, Feb 19, 2013 at 2:53 PM, James Tunnicliffe > wrote: >> Good point! I would be pleasantly surprised if an image + hwpack from >> 2010 worked with our current tools. > > Actually, I am surprised if they do not work. > > Our official promise

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread Alexander Sack
thing it needs included >> and you might be able to hack around the fact that lmc bails out... >> >> CCing a few folks to see if they have an idea on how to hack/workaround. >> >> On Tue, Feb 19, 2013 at 6:31 AM, Amar Shankar >> wrote: >>> Hi All, >>>

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread James Tunnicliffe
folks to see if they have an idea on how to hack/workaround. > > On Tue, Feb 19, 2013 at 6:31 AM, Amar Shankar > wrote: >> Hi All, >> >> I am trying to create beagle_sd.img for beagle board using >> linaro-media-create, by referring the procedure in >&

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread Alexander Sack
ed and you might be able to hack around the fact that lmc bails out... CCing a few folks to see if they have an idea on how to hack/workaround. On Tue, Feb 19, 2013 at 6:31 AM, Amar Shankar wrote: > Hi All, > > I am trying to create beagle_sd.img for beagle board using > linaro-medi

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread Dave Pigott
As James said, Anything from the LTS (12.04 - Precise) onwards. Dave On 19 Feb 2013, at 10:02, Amar Shankar wrote: > No ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

RE: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread Amar Shankar
Subject: Re: Failure to generate beagle_sd.img using linaro-media-create Just a thought: It looks to me to be down to using 10.10 (Maverick) - I'm not sure l-m-c supports that far back, but I may be wrong. On 19 Feb 2013, at 05:31, Amar Shankar mailto:amar.shan...@infotech-enterprises.com>

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread James Tunnicliffe
k) - I'm > not sure l-m-c supports that far back, but I may be wrong. > > On 19 Feb 2013, at 05:31, Amar Shankar > wrote: > > Hi All, > > I am trying to create beagle_sd.img for beagle board using > linaro-media-create, by referring the procedure in > http://sourcef

Re: Failure to generate beagle_sd.img using linaro-media-create

2013-02-19 Thread Dave Pigott
Just a thought: It looks to me to be down to using 10.10 (Maverick) - I'm not sure l-m-c supports that far back, but I may be wrong. On 19 Feb 2013, at 05:31, Amar Shankar wrote: > Hi All, > > I am trying to create beagle_sd.img for beagle board using > linaro-media-create,

Failure to generate beagle_sd.img using linaro-media-create

2013-02-18 Thread Amar Shankar
Hi All, I am trying to create beagle_sd.img for beagle board using linaro-media-create, by referring the procedure in http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=BeagleBoardPkg#How_to_build_UEFI_for_the_BeagleBoard But I am getting the below error. Could someone please help

Re: Linaro-media-create error

2012-10-22 Thread Milo Casagrande
tools?) > And, there was another bug reported for linaro-image-tools that occurs with > the same command. This is not a error but it is warning about /bin/df (bug # > 651918): > $ sudo linaro-media-create --image_file beagle_sd.img --dev beagle --binary > nano-n-tar-20110823-1.tar

Linaro-media-create error

2012-10-22 Thread Tejas Shah
Hello, I am trying to emulate beagleboard in qemu. I am using linaro 11.08 releases of nano rootfs and hwpack (this release is dated as on 2011/08/23) and the version of linaro-media-create I am using is 2012.06. After I run the following command, I do get a image generated but with the

Re: linaro-media-create/linaro-android-media-create command line options changes

2011-10-20 Thread Christian Robottom Reis
On Wed, Oct 19, 2011 at 09:19:49AM +0300, Fathi Boudra wrote: > linaro-media-create/linaro-android-media-create command line options are now > using dashes to separate words instead of underscores. Woot, nice catch fixing it before I even complained! Thanks guys, -- Christian Robotto

linaro-media-create/linaro-android-media-create command line options changes

2011-10-18 Thread Fathi Boudra
Hi, linaro-media-create/linaro-android-media-create command line options are now using dashes to separate words instead of underscores. e.g. "--image_size" becomes "--image-size" This changes is available on the bzr repository and will be part of 2011.10 release. Please, upd

Re: Announcing linaro-media-create and live-build integration

2011-10-05 Thread James Westby
Hi Tom, That's a cool idea, thanks for doing it. Thanks, James On Tue, 27 Sep 2011 10:23:52 -0500, Tom Gall wrote: > Hi All, > > As part of the 11.09 cycle I've completed an extension to live-build3 > that add linaro-media-create. This means with this branch of linaro&#

Re: oneiric, hwpacks + linaro-media-create

2011-10-04 Thread Fathi Boudra
Hi Tom, On 4 October 2011 23:57, Tom Gall wrote: > Not getting any answers in #linaro. Which version of > linaro-media-create is required for oneiric based hwpacks and images? >  Should the PPA version suffice or does one need to use the latest > greatest from bzr? Latest rele

oneiric, hwpacks + linaro-media-create

2011-10-04 Thread Tom Gall
Hi, Not getting any answers in #linaro. Which version of linaro-media-create is required for oneiric based hwpacks and images? Should the PPA version suffice or does one need to use the latest greatest from bzr? Thanks! -- Regards, Tom "We want great men who, when fortune frowns will n

Announcing linaro-media-create and live-build integration

2011-09-27 Thread Tom Gall
Hi All, As part of the 11.09 cycle I've completed an extension to live-build3 that add linaro-media-create. This means with this branch of linaro's live-build 3 one is able to build your custom image and directly output it to either your SD media or to a file which you an dd directly to

RE: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-18 Thread Frederik Lotter
:08 To: Frederik Lotter Cc: Linaro Development Subject: Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing] On Tue, Aug 16, 2011 at 03:20:17PM +0100, Frederik Lotter wrote: > I am using 32-bit Ubuntu 11.04. Just here in my office everyone is > running into the same issue. We a

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-17 Thread Ricardo Salveti
On Wed, Aug 17, 2011 at 8:07 PM, Christian Robottom Reis wrote: > On Tue, Aug 16, 2011 at 03:20:17PM +0100, Frederik Lotter wrote: >> I am using 32-bit Ubuntu 11.04. Just here in my office everyone is >> running into the same issue. We are all Ubuntu users (11.04) and both >> 32-bit and 64-bit mac

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-17 Thread Christian Robottom Reis
On Tue, Aug 16, 2011 at 03:20:17PM +0100, Frederik Lotter wrote: > I am using 32-bit Ubuntu 11.04. Just here in my office everyone is > running into the same issue. We are all Ubuntu users (11.04) and both > 32-bit and 64-bit machines. Hey Frederik, Did you figure out what the issue was? --

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Loïc Minier
On Tue, Aug 16, 2011, James Westby wrote: > It was in the posted log: > qemu-user-static: > Installed: 0.14.50-2011.06-0-0ubuntu1~ppa11.04.1 Ah thanks; that's fairly recent, so I guess this is a bug that deserves filing -- Loïc Minier ___ linaro-d

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread James Westby
On Tue, 16 Aug 2011 17:19:59 +0200, Loïc Minier wrote: > What's your QEMU version (qemu-arm-static)? Old versions of QEMU have > bugs and limitations in their emulation of ARM instructions which might > cause weird failures such as segfaults when installing the hwpack. It was in the posted lo

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Tom Gall
wget >>>> http://snapshots.linaro.org/11.05-daily/linaro-ubuntu-desktop/20110728/1/images/tar/linaro-n-ubuntu-desktop-tar-20110728-1.tar.gz >>>> >>>> wget >>>> http://snapshots.linaro.org/11.05-daily/linaro-hwpacks/lt-panda/20110728/0/images/hw

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Thomas Gall
0110728/0/images/hwpack/hwpack_linaro-lt-panda_20110728-0_armel_supported.tar.gz >> >> bzr branch lp:linaro-image-tools >> >> ./linaro-image-tools/linaro-media-create --mmc /dev/sdc --dev panda >> --hwpack hwpack_linaro-lt-panda_20110728-0_armel_supported.tar.gz >> --binary lin

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Loïc Minier
org or IRC etc. Ideally, we would detect broken QEMU versions when running linaro-media-create, but it's non-trivial and a low priority feature, so it didn't get implemented so far. Thanks! -- Loïc Minier --- End Message --- ___ lina

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Dave Martin
> > wget > http://snapshots.linaro.org/11.05-daily/linaro-hwpacks/lt-panda/20110728/0/images/hwpack/hwpack_linaro-lt-panda_20110728-0_armel_supported.tar.gz > > bzr branch lp:linaro-image-tools > > ./linaro-image-tools/linaro-media-create --mmc /dev/sdc --dev panda >

Re: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Zach Pfeffer
mages/hwpack/hwpack_linaro-lt-panda_20110728-0_armel_supported.tar.gz bzr branch lp:linaro-image-tools ./linaro-image-tools/linaro-media-create --mmc /dev/sdc --dev panda --hwpack hwpack_linaro-lt-panda_20110728-0_armel_supported.tar.gz --binary linaro-n-ubuntu-desktop-tar-20110728-1.tar.gz -Zach

RE: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Frederik Lotter
...@linaro.org] Sent: 16 August 2011 14:36 To: Frederik Lotter Cc: Linaro Development Subject: [frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing] > We have several people here in the support office trying to build an > sdcard using the latest hwpack and root filesystem files as

[frederik.lot...@arm.com: [UBUNTU] linaro-media-create failing]

2011-08-16 Thread Christian Robottom Reis
> We have several people here in the support office trying to build an > sdcard using the latest hwpack and root filesystem files as found > here: > > http://releases.linaro.org/platform/linaro-n/ubuntu/leb-panda/latest/ > > We are running into a segfualt in /usr/bin/dpkg during what seems to > b

Re: Linaro-Media-Create

2011-05-03 Thread Loïc Minier
On Tue, May 03, 2011, Tony MANSSON wrote: > We'd like to use the --mmc option to distinguish between these two > cases: 3 partitions vs. 2 partitions. (This would be counter-intuitive as other pointed out) For now, until Hwpackv2 are implemented, you could propose a new flag indicating the ima

Re: Linaro-Media-Create

2011-05-03 Thread Mattias Backman
rnal eMMC or to the SD > card, in both cases with the standard boot and root partitions as created by > Linaro-Media-Create. > > When creating images, this first partition is needed for the option > --image_file, but should not be created for the option --mmc. > > We'd li

Re: Linaro-Media-Create

2011-05-03 Thread Peter Maydell
ard, in both cases with the standard boot and root partitions as created by > Linaro-Media-Create. > > When creating images, this first partition is needed for the option > --image_file, but should not be created for the option --mmc. This sounds like you would end up with differen

Linaro-Media-Create

2011-05-03 Thread Tony MANSSON
partitions as created by Linaro-Media-Create. When creating images, this first partition is needed for the option --image_file, but should not be created for the option --mmc. We'd like to use the --mmc option to distinguish between these two cases: 3 partitions vs. 2 partitions. Some tim

Re: problem with linaro-media-create

2011-03-10 Thread Loïc Minier
On Thu, Mar 10, 2011, Shawn Guo wrote: > === wait_device testing === > * On reader #1, consistently fails with 30 seconds timeout > * On reader #2, very likely succeeds after 2 seconds (5 out of 6 > iterations), (fails with 30 seconds timeout on the 6th iteration) > * On reader #3, consistently s

Re: problem with linaro-media-create

2011-03-09 Thread Shawn Guo
On Thu, Mar 10, 2011 at 12:32:29PM +0800, Shawn Guo wrote: > On Wed, Mar 09, 2011 at 09:01:33PM +0800, Shawn Guo wrote: [...] > I have to add something here to correct the conclusion about reader's > impact. > > I just got the third reader to play with, and interestingly it can get > all of these

Re: problem with linaro-media-create

2011-03-09 Thread Shawn Guo
terations), (fails with 30 seconds timeout on the 6th iteration) * On reader #3, consistently succeeds after 0 seconds === l-m-c installing with sleep(5) === * On reader #1, fails on '/dev/sdb: No medium found' like below. [...] proc umounted /dev/sdb: No medium found sfdisk: cannot

Re: Running linaro-media-create on machine behind firewall

2011-03-09 Thread Shawn Guo
On Wed, Mar 09, 2011 at 08:53:50PM +0800, Shawn Guo wrote: > Hello Guilherme, > > On Tue, Mar 08, 2011 at 10:53:00AM +0100, Loïc Minier wrote: > > On Tue, Mar 08, 2011, Shawn Guo wrote: > > > I'm recently trying to install alpha-3 image using l-m-c on an AMD64 > > > machine which is behind the com

Re: problem with linaro-media-create

2011-03-09 Thread Guilherme Salgado
On Wed, 2011-03-09 at 20:30 +0100, Loïc Minier wrote: > On Wed, Mar 09, 2011, Guilherme Salgado wrote: > > My concern is that sfdisk -l returning non-zero may not be a very good > > indication that we should sleep. It will return non-zero on any error > > and I expect most errors to not go away af

Re: problem with linaro-media-create

2011-03-09 Thread Loïc Minier
On Wed, Mar 09, 2011, Guilherme Salgado wrote: > My concern is that sfdisk -l returning non-zero may not be a very good > indication that we should sleep. It will return non-zero on any error > and I expect most errors to not go away after a 30 seconds sleep, in > which case we'd be delaying l-m-c

Re: problem with linaro-media-create

2011-03-09 Thread Guilherme Salgado
On Wed, 2011-03-09 at 20:14 +0100, Loïc Minier wrote: > On Wed, Mar 09, 2011, Guilherme Salgado wrote: > > Do we know why this happens in some cases? It'd be better if we could > > only sleep when we know there's a chance that the partitions may be > > available after that. > > I'm not sure what

Re: problem with linaro-media-create

2011-03-09 Thread Loïc Minier
On Wed, Mar 09, 2011, Guilherme Salgado wrote: > Do we know why this happens in some cases? It'd be better if we could > only sleep when we know there's a chance that the partitions may be > available after that. I'm not sure what you're asking; are you asking for a test on whether we need to s

Re: problem with linaro-media-create

2011-03-09 Thread Dave Martin
On Wed, Mar 9, 2011 at 10:42 AM, Loïc Minier wrote: > On Wed, Mar 09, 2011, Dave Martin wrote: >> The upstream master branch of U-Boot on git://git.denx.de/u-boot.git >> has the bug too. > >  Yes, this is where I was pasting the bogus code from; I just have no >  idea why write() would suddenly be

Re: problem with linaro-media-create

2011-03-09 Thread Guilherme Salgado
On Wed, 2011-03-09 at 14:34 +0100, Loïc Minier wrote: > On Wed, Mar 09, 2011, Shawn Guo wrote: > > I just tried another SanDisk 4GB SD card (#8) borrowed from colleague. > > With 20 iterations testing, it reports: > > > > Could list partitions after 0 seconds! --> 13 times > > Could list partition

Re: problem with linaro-media-create

2011-03-09 Thread Loïc Minier
On Wed, Mar 09, 2011, Shawn Guo wrote: > I just tried another SanDisk 4GB SD card (#8) borrowed from colleague. > With 20 iterations testing, it reports: > > Could list partitions after 0 seconds! --> 13 times > Could list partitions after 2 seconds! --> 5 times > Could list partitions after 4 sec

Re: problem with linaro-media-create

2011-03-09 Thread Shawn Guo
On Wed, Mar 09, 2011 at 09:01:33PM +0800, Shawn Guo wrote: > On Tue, Mar 08, 2011 at 04:59:18PM +0100, Loïc Minier wrote: > > On Tue, Mar 08, 2011, Shawn Guo wrote: > > > I'm scanning all 7 cards I have with the script wait_device, each card > > > with 10 iterations of the test. > > > > > > 1) Tra

Re: problem with linaro-media-create

2011-03-09 Thread Shawn Guo
On Tue, Mar 08, 2011 at 04:59:18PM +0100, Loïc Minier wrote: > On Tue, Mar 08, 2011, Shawn Guo wrote: > > I'm scanning all 7 cards I have with the script wait_device, each card > > with 10 iterations of the test. > > > > 1) Transend 4GB SD > > 2) SanDisk 2GB SD > > 3) KingMax MMC Mobile 2GB > > >

Re: Running linaro-media-create on machine behind firewall

2011-03-09 Thread Shawn Guo
Hello Guilherme, On Tue, Mar 08, 2011 at 10:53:00AM +0100, Loïc Minier wrote: > On Tue, Mar 08, 2011, Shawn Guo wrote: > > I'm recently trying to install alpha-3 image using l-m-c on an AMD64 > > machine which is behind the company firewall. Though I have apt proxy > > set on host machine, l-m-c

Re: problem with linaro-media-create

2011-03-09 Thread Loïc Minier
On Wed, Mar 09, 2011, Dave Martin wrote: > The upstream master branch of U-Boot on git://git.denx.de/u-boot.git > has the bug too. Yes, this is where I was pasting the bogus code from; I just have no idea why write() would suddenly become partial ones, but I didn't check the eglibc or linux cod

Re: problem with linaro-media-create

2011-03-09 Thread Dave Martin
On Tue, Mar 8, 2011 at 4:39 PM, Loïc Minier wrote: > On Wed, Mar 09, 2011, Shawn Guo wrote: >> I just added this one, and it does not help.  The l-m-c still fails at >> the last step. >> mkimage: Write error on /tmp/tmpUiR_m1/boot-disc/uImage: Success > >  This error sounded a bit weird; I checked

Re: problem with linaro-media-create

2011-03-08 Thread Loïc Minier
On Wed, Mar 09, 2011, Shawn Guo wrote: > $ apt-cache policy uboot-mkimage > uboot-mkimage: > Installed: 0.4build1 > Candidate: 0.4build1 > Version table: > *** 0.4build1 0 > 500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages > 100 /var/lib/dpkg/status Ok;

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
On Tue, Mar 08, 2011 at 05:39:27PM +0100, Loïc Minier wrote: > On Wed, Mar 09, 2011, Shawn Guo wrote: > > I just added this one, and it does not help. The l-m-c still fails at > > the last step. > > mkimage: Write error on /tmp/tmpUiR_m1/boot-disc/uImage: Success > > This error sounded a bit wei

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
On Tue, Mar 08, 2011 at 04:59:18PM +0100, Loïc Minier wrote: > On Tue, Mar 08, 2011, Shawn Guo wrote: > > I'm scanning all 7 cards I have with the script wait_device, each card > > with 10 iterations of the test. > > > > 1) Transend 4GB SD > > 2) SanDisk 2GB SD > > 3) KingMax MMC Mobile 2GB > > >

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
>  Interesting :-) > > > >  But the linaro-media-create "size" output is probably broken for the > >  same reason: sdb appears to be unavailable for some time after changing > >  the partition table: > > > >> Are you 100% sure, on selecting [/dev/

Re: problem with linaro-media-create

2011-03-08 Thread Loïc Minier
On Wed, Mar 09, 2011, Shawn Guo wrote: > I just added this one, and it does not help. The l-m-c still fails at > the last step. > mkimage: Write error on /tmp/tmpUiR_m1/boot-disc/uImage: Success This error sounded a bit weird; I checked the u-boot sources, and this string is used in a bunch of

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
On Tue, Mar 08, 2011 at 04:03:12PM +0100, Zygmunt Krynicki wrote: > W dniu 08.03.2011 15:48, Shawn Guo pisze: > >On Tue, Mar 08, 2011 at 03:16:32PM +0100, Zygmunt Krynicki wrote: > >>W dniu 08.03.2011 09:51, Shawn Guo pisze: > >> > >>>By looking the workaround on the hacking branch, I changed the s

Re: problem with linaro-media-create

2011-03-08 Thread Loïc Minier
On Tue, Mar 08, 2011, Shawn Guo wrote: > I'm scanning all 7 cards I have with the script wait_device, each card > with 10 iterations of the test. > > 1) Transend 4GB SD > 2) SanDisk 2GB SD > 3) KingMax MMC Mobile 2GB > > All above 3 cards passed the test with giving "Could list partitions > after

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
On 8 March 2011 18:52, Loïc Minier wrote: > On Tue, Mar 08, 2011, Shawn Guo wrote: >> Have a look at the /dev/sdb change in device report before and after >> the command you suggest ... > >  Interesting :-) > >  But the linaro-media-create "size" output is p

Re: problem with linaro-media-create

2011-03-08 Thread Zygmunt Krynicki
W dniu 08.03.2011 15:48, Shawn Guo pisze: On Tue, Mar 08, 2011 at 03:16:32PM +0100, Zygmunt Krynicki wrote: W dniu 08.03.2011 09:51, Shawn Guo pisze: By looking the workaround on the hacking branch, I changed the sleep(1) to sleep(5) in /usr/share/pyshared/linaro_media_create/partitions.py, an

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
On Tue, Mar 08, 2011 at 03:16:32PM +0100, Zygmunt Krynicki wrote: > W dniu 08.03.2011 09:51, Shawn Guo pisze: > > >By looking the workaround on the hacking branch, I changed the sleep(1) > >to sleep(5) in /usr/share/pyshared/linaro_media_create/partitions.py, > >and almost made it, but sadly it st

Re: problem with linaro-media-create

2011-03-08 Thread Zygmunt Krynicki
W dniu 08.03.2011 09:51, Shawn Guo pisze: By looking the workaround on the hacking branch, I changed the sleep(1) to sleep(5) in /usr/share/pyshared/linaro_media_create/partitions.py, and almost made it, but sadly it still fails at the last step. You most likely missed another sleep (there sho

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Loïc Minier
On Tue, Mar 08, 2011, Shawn Guo wrote: > That's not an option for me. Myself is on ssh terminal. I do not > have a nice monitor for that machine :) Ok; I could propose various network tricks such as changing the routing table to mark your APT repo unreachable, but I guess we really have to fi

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Shawn Guo
On Tue, Mar 08, 2011 at 11:53:08AM +0100, Loïc Minier wrote: > On Tue, Mar 08, 2011, Shawn Guo wrote: > > Yes, it is. Do we have a quick fix right now? I need it ... > > As a workaround, try disabling your (host's) network entirely before > running linaro-media

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Loïc Minier
On Tue, Mar 08, 2011, Shawn Guo wrote: > Yes, it is. Do we have a quick fix right now? I need it ... As a workaround, try disabling your (host's) network entirely before running linaro-media-create; I could run it completely networkless, but I think your proxy is confusing APT.

Re: problem with linaro-media-create

2011-03-08 Thread Loïc Minier
On Tue, Mar 08, 2011, Shawn Guo wrote: > Have a look at the /dev/sdb change in device report before and after > the command you suggest ... Interesting :-) But the linaro-media-create "size" output is probably broken for the same reason: sdb appears to be unavailable for

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Shawn Guo
On Tue, Mar 08, 2011 at 11:04:08AM +0100, Alexander Sack wrote: > On Tue, Mar 8, 2011 at 10:53 AM, Loïc Minier wrote: > > On Tue, Mar 08, 2011, Shawn Guo wrote: > >> I'm recently trying to install alpha-3 image using l-m-c on an AMD64 > >> machine which is behind the company firewall.  Though I ha

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Shawn Guo
On Tue, Mar 08, 2011 at 10:53:00AM +0100, Loïc Minier wrote: > On Tue, Mar 08, 2011, Shawn Guo wrote: > > I'm recently trying to install alpha-3 image using l-m-c on an AMD64 > > machine which is behind the company firewall. Though I have apt proxy > > set on host machine, l-m-c installing system

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
Permission denied > > > > sfdisk: cannot open /dev/sdb read-write > > you want to sudo the sfdisk call too > Have a look at the /dev/sdb change in device report before and after the command you suggest ... --- quote begin --- r65073@S2101-09:~/image/linaro$ linaro-media-c

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Alexander Sack
On Tue, Mar 8, 2011 at 10:53 AM, Loïc Minier wrote: > On Tue, Mar 08, 2011, Shawn Guo wrote: >> I'm recently trying to install alpha-3 image using l-m-c on an AMD64 >> machine which is behind the company firewall.  Though I have apt proxy >> set on host machine, l-m-c installing system (chroot env

Re: problem with linaro-media-create

2011-03-08 Thread Loïc Minier
age needs it? I'm guessing it's either linaro-image-tools > or python-linaro-image-tools (possibly both). grep udisks to the rescue, and /usr/share/pyshared/linaro_media_create/check_device.py and /usr/share/pyshared/linaro_media_create/partitions.py seem to use it, so I'd say

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Loïc Minier
On Tue, Mar 08, 2011, Shawn Guo wrote: > I'm recently trying to install alpha-3 image using l-m-c on an AMD64 > machine which is behind the company firewall. Though I have apt proxy > set on host machine, l-m-c installing system (chroot env?) does not > know it. Can we improve the l-m-c a little

Re: problem with linaro-media-create

2011-03-08 Thread Dave Martin
Looking at the packaging branch lp:ubuntu/linaro-image-tools, I see there are now multiple binary packages generated from linaro-image-tools. The udisks dependency needs to be added somewhere -- does anyone know which package needs it? I'm guessing it's either linaro-image-tools or python-linaro-

Re: problem with linaro-media-create

2011-03-08 Thread Loïc Minier
On Tue, Mar 08, 2011, Shawn Guo wrote: > mkimage: Write error on /tmp/tmpXkyS2N/boot-disc/uImage: Success Could it be that your MMC is flaky? -- Loïc Minier ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listi

Re: Running linaro-media-create on machine behind firewall

2011-03-08 Thread Spring Zhang
On 8 March 2011 17:19, Shawn Guo wrote: > I'm recently trying to install alpha-3 image using l-m-c on an AMD64 > machine which is behind the company firewall. Though I have apt proxy > set on host machine, l-m-c installing system (chroot env?) does not > know it. Can we improve the l-m-c a litt

Re: problem with linaro-media-create

2011-03-08 Thread Loïc Minier
On Tue, Mar 08, 2011, Shawn Guo wrote: > > parted -s /dev/sdN mklabel msdos && sfdisk -L /dev/sdN > > $ sudo parted -s /dev/sdb mklabel msdos && sfdisk -L /dev/sdb > /dev/sdb: Permission denied > > sfdisk: cannot open /dev/sdb read-write you want to sudo the sfdisk call too -- Loïc Minier

Running linaro-media-create on machine behind firewall

2011-03-08 Thread Shawn Guo
I'm recently trying to install alpha-3 image using l-m-c on an AMD64 machine which is behind the company firewall. Though I have apt proxy set on host machine, l-m-c installing system (chroot env?) does not know it. Can we improve the l-m-c a little bit to copy apt proxy setting if any on host ma

Re: problem with linaro-media-create

2011-03-08 Thread Shawn Guo
Hash Sum mismatch > > E: Some index files failed to download. They have been ignored, or old ones > used instead. > Cleaning up ...Done > [sudo] password for r65073: > proc umounted > Traceback (most recent call last): > File "/home/r65073/repos/linaro/lmc/hackin

Re: problem with linaro-media-create

2011-03-07 Thread Shawn Guo
r65073: proc umounted Traceback (most recent call last): File "/home/r65073/repos/linaro/lmc/hacking/linaro-media-create", line 128, in ROOTFS_DIR, TMP_DIR, lmc_dir, args.hwpack_force_yes, *hwpacks) File "/home/r65073/repos/linaro/lmc/hacking/linaro_media_create/hwpack.py&quo

Re: problem with linaro-media-create

2011-03-07 Thread Shawn Guo
On Mon, Mar 07, 2011 at 02:03:15PM +0100, Loïc Minier wrote: > On Mon, Mar 07, 2011, Shawn Guo wrote: > > proc umounted > > /dev/sdb: No medium found > > > > sfdisk: cannot open /dev/sdb read-write > > Hmm that's really bad; the only thing that I can think of is that your > device goes away for

Re: problem with linaro-media-create

2011-03-07 Thread Loïc Minier
On Mon, Mar 07, 2011, Zygmunt Krynicki wrote: > This will most lokalu not help. Well, I'm trying to figure out one issue at a time; I would like to avoid sleep() at all costs. -- Loïc Minier ___ linaro-dev mailing list linaro-dev@lists.linaro.org h

Re: problem with linaro-media-create

2011-03-07 Thread Zygmunt Bazyli Krynicki
This will most lokalu not help. Try my hacking branch of linaro-image-tools. I had the same problem as you and I added a workaround. Sorry for the brevity, I'm on holiday + phone Wysłane z iPhone'a Dnia 07-03-2011 o godz. 14:03 Loïc Minier napisał(a): > On Mon, Mar 07, 2011, Shawn Guo wrote:

Re: problem with linaro-media-create

2011-03-07 Thread Loïc Minier
On Mon, Mar 07, 2011, Shawn Guo wrote: > proc umounted > /dev/sdb: No medium found > > sfdisk: cannot open /dev/sdb read-write Hmm that's really bad; the only thing that I can think of is that your device goes away for some time after the empty partition table is created, and so the sfdisk cal

Re: problem with linaro-media-create

2011-03-07 Thread Peter Maydell
On 7 March 2011 12:43, Shawn Guo wrote: > Thanks, Dave.  Installing udisks helps.  But now, it ends up with > other problem.  Here is the full log.  (Sorry for the long paste) > > $ linaro-media-create --rootfs ext3 --mmc /dev/sdb --binary > linaro-n-developer-tar-20110302-0.

Re: problem with linaro-media-create

2011-03-07 Thread Shawn Guo
endencies list if so. > Thanks, Dave. Installing udisks helps. But now, it ends up with other problem. Here is the full log. (Sorry for the long paste) $ linaro-media-create --rootfs ext3 --mmc /dev/sdb --binary linaro-n-developer-tar-20110302-0.tar.gz --hwpack hwpack_linaro-imx51_

Re: problem with linaro-media-create

2011-03-07 Thread Dave Martin
;>   https://wiki.linaro.org/Releases/DailyBuilds#On%20Ubuntu%2010.10 >> >> >> >> Is there another wiki page with conflicting instructions that we need to >> >> clean up?  Or did you read this and go for the download instead of the ppa >> >> (in

Re: problem with linaro-media-create

2011-03-06 Thread Shawn Guo
or the download instead of the ppa > >> (in which case we should clarify the text to direct people to the ppa more > >> strongly)? > > Adding the PPA should achieve the necessary thing. > > qemu-linaro is the name of the source package: the generated binary > pack

Re: problem with linaro-media-create

2011-03-04 Thread Paul Larson
On Fri, Mar 4, 2011 at 2:09 AM, Spring Zhang wrote: > > Ok. Which wiki page did you look at? We should be directing maverick >> users >> to enable the linaro-maintainers/tools ppa, which includes both the >> linaro-image-tools and qemu-linaro packages. >> > I can find linaro-image-tools, but no

Re: problem with linaro-media-create

2011-03-04 Thread Dave Martin
On Fri, Mar 4, 2011 at 8:09 AM, Spring Zhang wrote: > > > On 9 February 2011 04:16, Steve Langasek wrote: >> >> Hi Aneesh, >> >> On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote: >> >> > On Monday 07 February 2011 11:07 PM, Steve Langasek wrote: >> > >On Mon, Feb 07, 2011 at 03:59:06PM +0

Re: problem with linaro-media-create

2011-03-04 Thread Spring Zhang
On 9 February 2011 04:16, Steve Langasek wrote: > Hi Aneesh, > > On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote: > > > On Monday 07 February 2011 11:07 PM, Steve Langasek wrote: > > >On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote: > > >>Since we only really support devel

Re: problem with linaro-media-create

2011-02-08 Thread Steve Langasek
Hi Aneesh, On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote: > On Monday 07 February 2011 11:07 PM, Steve Langasek wrote: > >On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote: > >>Since we only really support developer platform hosts with the tools > >>ppa enabled, could we i

Re: problem with linaro-media-create

2011-02-08 Thread Aneesh V
Hi Steve, On Monday 07 February 2011 11:07 PM, Steve Langasek wrote: On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote: Since we only really support developer platform hosts with the tools ppa enabled, could we improve l-m-c to print a warning if that ppa isn't enabled? The othe

Re: problem with linaro-media-create

2011-02-08 Thread Aneesh V
with Linaro daily build image. I downloaded linaro-image-tools from: https://launchpad.net/linaro-image-tools I installed all dependencies mentioned in the README and tried to run linaro-media-create like below: sudo ./linaro-media-create --rootfs ext3 --mmc /dev/sdb1 --binary /home/a0393566local

Re: problem with linaro-media-create

2011-02-07 Thread Guilherme Salgado
On Mon, 2011-02-07 at 20:30 +, Peter Maydell wrote: > On 7 February 2011 19:53, Guilherme Salgado > wrote: > > Ok, so ISTM that to keep this solution working we'll need to do > > something like running qemu-arm-static with no arguments and parse its > > output for the version string. Unless t

Re: problem with linaro-media-create

2011-02-07 Thread Peter Maydell
On 7 February 2011 19:53, Guilherme Salgado wrote: > Ok, so ISTM that to keep this solution working we'll need to do > something like running qemu-arm-static with no arguments and parse its > output for the version string.  Unless there's another way to easily > trigger the bug without running som

Re: problem with linaro-media-create

2011-02-07 Thread Guilherme Salgado
On Mon, 2011-02-07 at 16:55 +, David Gilbert wrote: > On 7 February 2011 16:50, Guilherme Salgado > wrote: > > In lmc we already have some code which checks if a given utility is > > present and if not, install (via apt-get) a package which provides that. > > We could extend it to check for a

Re: problem with linaro-media-create

2011-02-07 Thread Loïc Minier
On Mon, Feb 07, 2011, Alexander Sack wrote: > Since we only really support developer platform hosts with the tools > ppa enabled, could we improve l-m-c to print a warning if that ppa > isn't enabled? This sounds awfully Ubuntu specific; we released a standalone tarball as to allow people to gra

Re: problem with linaro-media-create

2011-02-07 Thread Guilherme Salgado
On Tue, 2011-02-08 at 08:14 +1300, Michael Hope wrote: > On Tue, Feb 8, 2011 at 5:50 AM, Guilherme Salgado > wrote: > > In lmc we already have some code which checks if a given utility is > > present and if not, install (via apt-get) a package which provides that. > > (I don't like that - am I pr

  1   2   >