Solvline Eddy DK Ver 2.20 Manuel d'utilisateur Page 39

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 75
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 38
Chapter 5. Creating Firmware
5-2
To create a firmware image, move to Eddy_DK_2xx/ramdisk to make changes on Makefile.
Makefile resides under “Ramdisk”( /DK Source/ Ramdisk) which is registered as a project.
Version information, amount of Ramdisk to be used, application information to be copied can be configured in
Makefile. Following is Makefile provided in DK.
Note
DK Source is distributed in Linux compatible format.
Thus some commands in Makefile may not be recognized in Windows environment. In such cases, add .exe
to unrecognized utilities in Makefile as shown below.
../tool/genext2fs Æ ../tool/genext2fs.exe
../tool/mkimage Æ ../tool/mkimage.exe
../tool/mkfs.jffs2 Æ ../tool/mkfs.jffs2.exe
IMAGE=ramdisk
FW_NAME = eddy-fs-20a.bin Æ Firmware image name and version info.
CONFIG_NAME = eddy-cf-20a.bin Æ Default operating environment info. of Eddy
FIRMWARE_DIR = ../firmware Æ Directory to save firmware image to be created
## Check environments
#include ../Make.check
config:
@echo -n "Checking ramdisk skeleton files..."
@if [ ! -f "$(ROOT_FS_SKEL)" ] ; then \
echo "fail"; \
exit 0;\
fi
@echo "ok"; \
install:
#@echo "Making ramdisk image..."
#$(TOOL) -b 8192 -d root -D device_table.txt ramdisk
#../tool/genext2fs -U -b 5110 -d root -D device_table.txt ramdisk
#../tool/genext2fs -U -b 7158 -d root -D device_table.txt ramdisk
#../tool/mkcramfs -q -D device_table.txt root ramdisk
../tool/genext2fs.exe -U -b 10240 -d root -D device_table.txt ramdisk Æ Configures ramdisk
size to 10,240 K and register device of Eddy/dev, referring to Device_table.txt..
gzip -vf9 ramdisk
Vue de la page 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 74 75

Commentaires sur ces manuels

Pas de commentaire