Sharp SL-5500 File Manager Guide Manuel d'utilisateur Page 17

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 48
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 16
CHAPTER 4. LIVERAM DISKS 4.4. HARD VERSIONS
4.4.2.2 The Outfile
There is nothing to say about the outfile, except that giving it a representative name is a nice thing.
For this, you may use the script given at point 4.4.2.7, p. 13.
4.4.2.3 HaRET
The HaRET bootloader is already an old thing: it was also used in Familiar. The latest one
4
is
haret-0.5.2.exe.
4.4.2.4 zImage
The easiest thing is to use the Narcissus image generator
5
from
˚
Angstr
¨
om’s website. It will generate
a file like
6
hx4700-full-x11-image-hx4700.tar.bz2
for the
hx4700
. You then go to its folder
named
boot
, and extract the corresponding zImage. For example, it is here
zImage-2.6.21-hh20
.
Its numbering is the kernel’s numbering, as the zImage is the kernel.
4.4.2.5 Initrd
The
initrd
file is under the form of a
.cpio.gz
. For example, its current name is
initramfs.cpio.gz
.
You can use the following bash script to make the initrd (thanks to Lex Landa for this):
#!/bin/sh
# Execute this from the initrd root dir.
su
find . | cpio -o -H newc | gzip -9 > ../initramfs.cpio.gz
4.4.2.6 The Startup Script
You can use the following startup script:
# initramfs-bootmenu HaRET script
# (c) 2007 Paul Sokolovsky
msgbox "Attention!" "This will boot Linux. All memory will be overwritten and hard reset will be
required to return to Windows Mobile.
You *MUST BACKUP* your data first. Continue booting (Cancel - quit to make backup)?" 0x40031
if result == 2 exit
set cmdline "root=/dev/ram0 rootdelay=3
ip=192.168.2.202:192.168.2.200:192.168.2.200:255.255.255.0:ipaq:usb0
console=tty0 console=ttyS0,115200n8 rdinit=/sbin/init"
ramboot
It is named startup.txt.bootimage in our example.
4.4.2.7 Automatizing The Task
If you want to make the task of producing the bootbundle more automatic, you can use the following
bash script (thanks to Lex Landa for this):
4
Which can be found in the http://handhelds.org/
~
koconnor/haret/ directory.
5
That you can find at http://www.angstrom-distribution.org/narcissus/.
6
The name of this file has actually be decided only by me, but it represents the content of it.
13
Vue de la page 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 47 48

Commentaires sur ces manuels

Pas de commentaire