RE: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!
"Schweizer Walter" <[email protected]> Fri, 24 Dec 2004 16:54:02 +0100
| Newsgroups | gmane.comp.handhelds.simpad.linux |
|---|---|
| Message-ID | <5C2CECE89B47624C88640D7B9ABB1683FDC2BF@zrhae01a.ch001.siemens.net> |
Hi Ralf That would be a possibility. On the other hand the partitions must be the same as the bootloader. The bootloader expects the Image starting at +512 kB from the beginning of the flash. It then copies the Image to RAM (n.b. the whole image). We only need the CE-Kernel and some DLLs in RAM, so there is code to fix the bootloader limits by modifying the size entry of the image. This messy thing makes it difficult to adapt the CE-image for bootldr. Regards Walter > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of Ralf > Miunske > Sent: Thursday, December 23, 2004 8:29 PM > To: [email protected] > Subject: Re: [Simpad-general] manual image installation with=20 > the hh.org > bootldr - was Bootldr updater image - for easy one-step installation!! >=20 >=20 > Hi Everyone! >=20 > Would'nt it be possible to do some stageloading using the=20 > ARNOLD and bootldr?=20 > I mean leaving the arnold on the pad itself and simply adding=20 > bootldr as a=20 > second one which is simply chained. We're doing this on the=20 > tuxbox project=20 > too: The original BMon by BetraResearch stays on the=20 > Satellite Box and simply=20 > the next few kB's are used by uBoot which does the Job for=20 > us. This keeps the=20 > maximal possible compatiblity. Even the quite small amount of=20 > Flash (8MB) is=20 > no Problem for this soloution. >=20 > Ralf >=20 > Am Mittwoch, 22. Dezember 2004 10:34 schrieb Schweizer Walter: > > Hi Bruno > > > > Bootldr cannot boot WinCE, because the WinCE image is depending > > on the original bootloader. I do not think that there is an easy way > > of adapting bootldr to load WinCE. > > > > To run WinCE again you have to load the old bootloader. > > > > Regards > > Walter > > > > > -----Original Message----- > > > From: [email protected] > > > [mailto:[email protected]]On=20 > Behalf Of Bruno > > > Seoane > > > Sent: Wednesday, December 22, 2004 4:13 AM > > > To: [email protected] > > > Subject: Re: [Simpad-general] manual image installation with > > > the hh.org > > > bootldr - was Bootldr updater image - for easy one-step=20 > installation!! > > > > > > > > > Hi, > > > > > > > > > Well, that's quite nifty. The bootloader really kicks ass. > > > This stuff you just wrote should be copied to the wiki... > > > > > > Now, one final question about the bootloader. Suppose I want > > > to go back to the > > > WinCE system. Since hh.org bootloader can't boot wince images > > > (will it ever > > > be able to?), would something like > > > > > > copy hda1:/siemens_bootloader.bl bootldr work? > > > > > > Or does this documentation still apply to go back to the=20 > old siemens > > > bootloader? > > > http://opensimpad.org/wiki/index.php/Docs/SerialInstall > > > > > > > Hi, > > > > > > > > the days of serload are over when we use the hh.org bootldr. ;-) > > > > > > > > To install a new image from CF: > > > > > > > > I) Method 1(no serial connection necessary): > > > > 1. create a /boot/params file in the running image with the > > > > > > following > > > > > > > contents: > > > > (yes, the pcmcia and vfat commands need to be placed in > > > > > > there twice - > > > > > > > for some reason the bootldr isn't ready for those=20 > commands the first > > > > time through, so the first set is just to win time until > > > > > > the bootldr is > > > > > > > ready) > > > > ###/boot/params### > > > > set linuxargs=3D"noinitrd root=3D/dev/mtdblock1 init=3D/linuxrc > > > > > > console=3DttySA0" > > > > > > > pcmcia insert 0 > > > > vfat mount / > > > > pcmcia insert 0 > > > > vfat mount / > > > > copy hda1:/simpad-rootfs.jffs2 root > > > > ############## > > > > 2. copy the jffs2 image to CF (make sure it's FAT > > > > > > formatted) and rename > > > > > > > it simpad-rootfs.jffs2 (or whatever you name it in /boot/params) > > > > 3. insert the CF and reset the pad > > > > After installation is finished the image is booted > > > > > > automatically so just > > > > > > > wait long enough until it comes up (~10-15 min.) > > > > > > > > II) Method 2 (via serial connection) > > > > 1. connect a serial terminal with settings 115200 8N1=20 > to the simpad > > > > 2. reset and hit space bar while bootldr is initiating > > > > 3. copy the jffs2 image to CF and insert it in the pad > > > > 4. run "copy hda1:/simpad-rootfs.jffs2 root" at the boot> prompt > > > > 5. when installation is finished run "boot" at the boot> prompt > > > > > > > > To install via serial connection: > > > > > > > > Steps 1 and 2 of Method 2 above, then > > > > 3. run "load root" at the boot> prompt (the bootldr waits > > > > > > for an upload) > > > > > > > 4. upload the image via ymodem > > > > 5. when installation is finished run "boot" at the boot> prompt > > > > > > > > So I hope this helps you out. > > > > > > > > Regard, > > > > Chris Martin > > > > > > > > Bruno Seoane wrote: > > > > >Hi, > > > > > > > > > >>I created a serloadable mini image that installs the > > > > > > hh.org bootldr > > > > > > > >>directly into flash and if you have a CF Card the bootldr will > > > > >>automatically install an image with the name of > > > > > > simpad-rootfs.jffs2 from > > > > > > > >>the top-level of the CF upon reset. > > > > > > > > > >Great work, it worked like a charm here. > > > > > > > > > >I may sound like a newbie, but I'd like to know how to > > > > > > reflash the simpad > > > > > > > > with any of the two images. I've tried to do it with > > > > > > serload, but it > > > > > > > > won't work, it just won't take the image on reset. > > > > > > > > > >I believe that maybe it has to do with the booting to the > > > > > > bl prompt, > > > > > > > > but... how do I get to it? > > > > > > > > > >Is there another method to flash it again? > > > > > > > > ------------------------------------------------------- > > > > 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/ > > > > _______________________________________________ > > > > Simpad-general mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/simpad-general > > > > > > -- > > > Saludos, > > > Bruno Seoane > > > > > > > > > ------------------------------------------------------- > > > 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=20 > reading now. > > > http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > Simpad-general mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/simpad-general > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products=20 > from real users. > > Discover which products truly live up to the hype. Start=20 > reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Simpad-general mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/simpad-general >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from=20 > real users. > Discover which products truly live up to the hype. Start reading now.=20 > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Simpad-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/simpad-general >=20 ------------------------------------------------------- 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/