# cd board/CW9G20/nandflash/
# make
If there is no error, nand
flash_at91sam9g20ek.bin
should have been generated with a file size of
about 130~150Kbyte. you can get it in
bootloader/s3c-u-boot-1.3.4/board/CW9G20/nandflash/
folder.
5.2.2 Boot-loader compile
copy the file
u-boot-1.3.4.tar.bz2
From CD to ubuntu system in PC.
•
u-boot-1.3.4.tar.bz2
position:
CD:\linux\code
# mkdir bootloader
# cd bootloader
# cp -a /media/
cdrom
/linux/code/
u-boot-1.3.4.tar.bz2
.
# tar xvf
u-boot-1.3.4.tar.bz2
# cd
u-boot-1.3.4
Then we can get the
u-boot-1.3.4
folders in bootloader folder, run the command
to compile it:
# make CW9G20_config
# make
If there is no error,
u-boot.bin
should have been generated with a file size of about 130~150Kbyte.
you can get it in
bootloader/s3c-u-boot-1.3.4
folder.
5.2.3 Kernel compile
copy the file
linux-2.6.30.tar.bz2
From CD to ubuntu system in PC.
•
linux-2.6.30.tar.bz2
position:
CD:\linux\code
# mkdir bootloader
# cd bootloader
# cp -a /media/
cdrom
/linux/code/
linux-2.6.30.tar.bz2
.
# tar xvf
linux-2.6.30.tar.bz2
# cd
linux-2.6.30
Then we can get the
ulinux-2.6.30
folders in bootloader folder, run the command
to compile it:
# cp arch/arm/configs/CW9G20_defconfig .config
# make menuconfig
# make uImage
If there is no error,
uImage
should have been generated with a file size of about 1.5M-2Mbyte. you
can get it in
Arch/arm/boot
folder.
5.2.4 Root Filesystem Build
SBC-SAM9G20 User manual
www.armdevs.com