Deploying The Linux System To The Target - GARZ&FRICKE GUF-Yocto-34.0-r5756-0-VINCELL User Manual

Embedded computer systems
Table of Contents

Advertisement

9 Deploying the Linux system to the target

When the development phase has finished, the kernel and the root file system can be written into the system's
NAND flash memory and executed from there.
I
In chapter
[
8.3 Building the BSP for the target platform with Yocto]
zImage-vincell.bin
guf-image-vincell.ubi
The same must be done with the
$ cp tmp/deploy/images/vincell/zImage-vincell.bin /tftpboot
$ cp tmp/deploy/images/vincell/guf-image-vincell.ubi /tftpboot
To write the images to the system flash memory, connect a serial console to the target as descriped in
Serial
console], re-power your target and interrupt the boot loader RedBoot with
console:
RedBoot>
You can list the current partition layout by typing:
RedBoot> fis list
... Read from 0x800c5008-0x800d5008 at 0xe0080000:
.
Name
FLASH addr
RedBoot
0xE0000000
Redundant FIS
0xE0080000
FIS directory
0xE00C0000
logo.png
0xE0100000
kernel
0xE0120000
rootfs
0xE0B20000
Remove the old kernel and root file system partition if a previous Linux system is installed:
RedBoot> fis delete kernel
[...]
RedBoot> fis delete rootfs
[...]
If a Windows CE was pre-installed remove the
RedBoot> fis delete OS
[...]
RedBoot> fis delete FlashDisk
[...]
There may exist other partitions, which most probably should be removed before installing Linux. The only
essential partitions which must not be deleted are RedBoot,
Now we can load the kernel image from the TFTP server to the target RAM:
RedBoot> load -r -v -b 0x80100000 -h 192.168.1.100 linuximage
If the image file has successfully been loaded we can create a kernel flash partition out of it:
RedBoot> fis create -b 0x80100000 -l 0x600000 -e 0x80100000 -r 0x80100000 kernel
If the system asks you to increment the length of the image due to the occurance of bad blocks then select y.
The same can be done with the root file system image:
zImage-vincell.bin
and the
Mem addr
Length
0xE0000000
0x00080000
0xE0080000
0x00040000
0xE00C0000
0x00040000
0x80100000
0x00020000
0x80100000
0x00A00000
0x80100000
0x0BA00000
OS
and
FlashDisk
GUF-Yocto-34.0-r5756-0
we created two image files:
guf-image-vincell.ubi
files to your TFTP directory:
Ctrl+C
Entry point
0x00000000
0x00000000 current
0x00000000 backup
0x80100000
0x80100000
0x80100000
partition:
FIS
directory,
Redundant FIS
VINCELL
User Manual
¡
¡
I
[
3.1
for having access to its
and logo.png.
47

Advertisement

Table of Contents
loading

Table of Contents