| |
Das U-Boot is a open source boot loader which provides many different ways of loading |
| |
kernel/application images into RAM or FLASH memory of single board computers.
|
| |
|
|
| |
Booting Linux via tftp |
| |
|
• Connect LN2410SBC to your host PC with a null modem serial cable. |
| |
|
• Connect Ethernet cable to LN2410 |
| |
|
• Power up LN2410, then you should see |
| |
|
U-boot 1.1.1 (Sep 25 2004 - 12:47:01)
|
|
| |
|
|
|
| |
|
U-Boot code: 33F80000 -> 33F98700 BSS: -> 33F9C84C
|
|
| |
|
RAM Configuration: |
|
| |
|
Bank #0: 30000000 64 MB |
|
| |
|
Flash: 2 MB |
|
| |
|
In: serial |
|
| |
|
Out: serial |
|
| |
|
Err: serial |
|
| |
|
LN2410SBC # |
|
| |
|
|
| |
|
• Set up tftp server and place files to download at /tftpboot |
| |
|
• Set up IP addresses of tftp server and LN2410SBC |
| |
|
LN2410SBC # setenv serverip 172.16.1.35 |
|
| |
|
LN2410SBC # setenv ipaddr 172.16.1.37 |
|
| |
|
LN2410SBC # saveenv?? ; save them |
|
| |
|
|
| |
|
• Download Linux kernel and Ramdisk images |
| |
|
LN2410SBC # tftp 0x30f00000 zImage ; at 0x30f00000 |
|
| |
|
LN2410SBC # tftp 0x30800000 LN2410disk_gz ; at 0x30800000 |
|
| |
|
LN2410SBC # go 0x30f00000 ; start kernel |
|
| |
|
|
| |
Building U-Boot from source code |
| |
|
|
| |
|
• Uncompress it and apply the patch |
| |
|
$tar xvfz uboot-1.1.1.tar.gz |
|
| |
|
$gzip -cd patch-1.1.1-ln2410sbc.gz | (cd uboot-1.1.1; patch -p1) |
|
| |
|
|
| |
|
• Configure and build |
| |
|
$make ln2410sbc_config |
|
| |
|
$make |
|
| |
|
|
| |
|
| |
|
|
| |
|
|
| |
|
|