Re: manual image installation with the hh.org bootldr - was Bootldr updater image - for easy one-step installation!!
Chris Martin <[email protected]> Tue, 21 Dec 2004 09:41:35 +0100
| Newsgroups | gmane.comp.handhelds.simpad.linux |
|---|---|
| Message-ID | <[email protected]> |
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 commands the first time through, so the first set is just to win time until the bootldr is ready) ###/boot/params### set linuxargs="noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttySA0" 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 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/