From: Benny S. <ben...@ma...> - 2004-12-20 22:41:27
|
Craig It's the same story with r48 from SF so I guess the original stix I have has some kind of problem (other users were able to use the new bootloader). Just to be curious are there different HW versions of the original stix? /Benny ----- Original Message ----- From: "Craig Hughes" <cr...@hu...> To: <gum...@li...> Sent: Monday, December 20, 2004 8:33 PM Subject: Re: [Gumstix-users] u-boot on the original gumstix > Benny, > > part of the reason for moving from 1.0.0 to 1.1.1 was that the *only* > place that could compile the original 1.0.0 code which was being burned > on those original stix was Gordon's laptop (which just died two weeks > ago actually). When I moved us over to a "real" build system, it was > much easier to get 1.1.1 working than trying to reproduce the system > Gordon had under cygwin on his machine. At the time, I was testing > releases against both the original and the F gumstix, and it was > working -- though I have to admit I haven't tested a -orig for a while > now, and something may have broken. > > Could you try -r48, which is on sf.net and see if that works -- I think > that was the first release we did for the new u-boot, and was tested on > an original stix. > > C > > On Dec 20, 2004, at 3:20 AM, Benny Simonsen wrote: > > > Hi Philip > > > > Thanks for the suggestion, but unfortunately the result were the same. > > No problems to start the new bootloader from RAM, but it refuse to > > start > > from flash so I guess it must have something to do with the low level > > init > > which will be done only during boot from flash. > > Anyone who has the old gumstix related source for U-Boot 1.0.0 (Mar 29 > > 2004 - 20:43:43)? > > > > > > /Benny > > > > ----- Original Message ----- > > From: "Philip White" <ph...@th...> > > To: <gum...@li...> > > Sent: Monday, December 20, 2004 1:36 AM > > Subject: RE: [Gumstix-users] u-boot on the original gumstix > > > > > >> Benny, > >> > >> This is how I managed it (copied from original post): > >> > >> *** Updating original gumstix u-boot when flashing in v1.0.0 is buggy. > > (THE > >> TWO UBOOT MONTY!) *** > >> NOTE: I have found this works for me, and was desperate enough to > >> risk bricking my gumstix, but maybe I was lucky. > >> USE AT YOUR OWN RISK > >> > >> 1. Get a root_fs and uboot image suitable for the gumstix in question > > (E.g. > >> from http://sourceforge.net/projects/gumstix or via using the > >> buildroot to > >> make your own) - I found both worked ok for me. Copy them to you mmc > > card, > >> or have them handy on your PC that is used to connect to the stix via > >> a > >> serial connection ready to transfer. > >> 2. Boot up the gumstix, and interrupt the u-boot autoboot by pressing > >> a > > key. > >> > >> 3. Load the u-boot image: > >> > >> EITHER serially from PC: > >> > >> GUM> loadb A2000000 > >> > >> Then start the transfer via Kermit from your PC of uboot.bin > >> > >> OR via mmc (note the mmcinit needs to be done twice for some reason) > >> > >> GUM> mmcinit > >> GUM> mmcinit > >> GUM> fatload mmc 1 a2000000 uboot.bin > >> > >> 4. Launch the new 1.1.1 (or later) uboot from ram. > >> > >> GUM> go a2000000 > >> > >> 5. Interrupt the uboot autoboot, as before. Then load a fresh copy > >> into > > ram > >> - this will then get copied to flash. > >> NOTE: we load it into 0xA3000000 not A2000000 > >> > >> EITHER (for serial loaders) > >> GUM> loadb A3000000 > >> > >> OR (for mmc loaders) > >> GUM> mmcinit > >> GUM> mmcinit > >> GUM> fatload mmc 1 a3000000 uboot.bin > >> > >> 6. Unprotect and erase the uboot area of flash - BE CAREFUL > >> > >> GUM> prot off 1:0-1 > >> GUM> era 1:0-1 > >> > >> 7. Copy the uboot into flash, and then reprotect the flash > >> > >> GUM> cp.b a3000000 0 ${filesize} > >> GUM> prot on 1:0-1 > >> > >> 8. Set the right uboot settings (note this is one long command - no > >> word > >> wraps) > >> > >> GUM> set bootcmd fsload a2000000 boot/uImage\;bootm a2000000 set > >> bootargs console=ttyS0,115200n8 root=1f02 rootfstype=jffs2 noinitrd > >> reboot=cold,hard save > >> > >> > >> 9. Save the new u-boot environment to flash > >> > >> GUM> saveenv > >> > >> Now you can powercycle the gumstix, and all being well you'll have a > >> u pto > >> date uboot that can load the current rootfs images correctly. > >> > >> *** Loading root fs to flash can now be done as described on the wiki > >> E.g. > >> http://www.gumstix.org/tikiwiki/tiki-index.php?page=U-Boot or > >> http://www.gumstix.org/tikiwiki/tiki-index.php?page=Tutorial > >> > >> DONE > >> > >> -----Original Message----- > >> From: gum...@li... > >> [mailto:gum...@li...] On Behalf Of Benny > >> Simonsen > >> Sent: 19 December 2004 18:13 > >> To: gum...@li... > >> Subject: [Gumstix-users] u-boot on the original gumstix > >> > >> Hi > >> > >> I have been away from the Gumstix for some time, but did find the > >> original > >> stix buried below a lot of dust. > >> I did try to install the u-boot which were build from Rev. 293 without > >> success (dead stix). After that I did try to install the version from > >> sourceforge (r152) with the same result. > >> Downgrading to U-Boot 1.0.0 (Mar 29 2004 - 20:43:43) "solved" the > >> problem, > >> but I don't have the source for that one so can't see what has > >> changed in > >> the initial setup. > >> > >> Ok why upgrade the bootloader? My problem with the original stix has > > always > >> been unreliable startup and I did hope that a new bootloader might > >> help on > >> that problem. > >> > >> Question: Has anyone had success with installing a "new" bootloader > >> on the > >> original stix? Anyone who can explain why the new bootloader can't be > >> used > >> on the original stix? > >> > >> > >> /Benny > >> > >> > >> > >> ------------------------------------------------------- > >> SF email is sponsored by - The IT Product Guide > >> Read honest & candid reviews on hundreds of IT Products from real > >> users. > >> Discover which products truly live up to the hype. Start reading now. > >> http://productguide.itmanagersjournal.com/ > >> _______________________________________________ > >> gumstix-users mailing list > >> gum...@li... > >> https://lists.sourceforge.net/lists/listinfo/gumstix-users > >> > >> > >> > >> ------------------------------------------------------- > >> SF email is sponsored by - The IT Product Guide > >> Read honest & candid reviews on hundreds of IT Products from real > >> users. > >> Discover which products truly live up to the hype. Start reading now. > >> http://productguide.itmanagersjournal.com/ > >> _______________________________________________ > >> gumstix-users mailing list > >> gum...@li... > >> https://lists.sourceforge.net/lists/listinfo/gumstix-users > >> > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real > > users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |