Panie i Panowie!
Muszę się wam pochwalić :) Pamiętacie moje boje z ruterkiem na ARM-ie? Właśnie udało się na nim załadować linuksa :D Głównie dzięki wskazówkom stąd:
Software: openocd, arm-elf-gcc 2.95.3, uClinux 2.4.31, uClibc 0.9.19 (wiem, że przedpotopowe, ale działa). Sprzęt: wiggler.
Ładuję zImage do RAM pod adres 0x1000 i voila. Na razie rootsystem idzie po NFS. No, nie powstrzymam się i rzucę sesją :) Z góry przepraszam.
Uncompressing Linux...¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤.¤ done, booting the kernel. ¤[2J[Hboot no options Linux version 2.4.31-uc0 (User3@COS900) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from
0x00000000-0x00020000 : "bootloader" mtd: Giving out device 0 to bootloader
0x000f0000-0x00130000 : "root_fs" mtd: Giving out device 1 to root_fs init_mtdchar: allocated major number 90. init_mtdblock: allocated major number 31. Linux Kernel Card Services 3.1.22 options: none NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 512) IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.0.31, mask=255.255.255.0, gw=255.255.255.255, host=test, domain=, nis-domain=(none), bootserver=192.168.0.1, rootserver=192.168.0.22, rootpath= NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com ds: no socket drivers loaded! Looking up port of RPC 100003/2 on 192.168.0.22 Looking up port of RPC 100005/1 on 192.168.0.22 VFS: Mounted root (nfs filesystem). Freeing init memory: 52K
init started: BusyBox v1.00 (2006.04.27-16:55+0000) multi-call binary
init: Bummer, can't write to log on /dev/tty5!
Starting pid 12, console /dev/console: '/etc/init.d/rcS'
init: Bummer, can't write to log on /dev/tty5!
Bummer, could not run '/etc/init.d/rcS': No such file or directory
init: Bummer, can't write to log on /dev/tty5!
Starting pid 13, console /dev/console: '/bin/sh'
BusyBox v1.00 (2006.04.27-16:55+0000) Built-in shell (lash)
Enter 'help' for a list of built-in commands.
/ # busybox
BusyBox v1.00 (2006.04.27-16:55+0000) multi-call binary
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use, and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, busybox, cat, cp, date, dd, dmesg, du, echo, egrep, false,
fgrep, find, free, getty, grep, halt, head, hexdump, ifconfig,
init, insmod, kill, lash, linuxrc, login, ls, lsmod, mkdir, mknod,
more, mount, mv, nc, netstat, passwd, ping, ping6, ps, pwd, reboot,
reset, rm, rmdir, rmmod, route, sed, sh, strings, stty, su, tail,
tee, telnetd, test, time, top, touch, traceroute, true, tty, umount,
uname, uptime, vi, xargs
/ # ifconfig
ifconfig: Warning: cannot open /proc/net/dev. Limited output.: No such file or directory
eth0 Link encap:Ethernet HWaddr A0:98:76:54:32:10
inet addr:192.168.0.31 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:7
/ # upi^Htime
upitime: No such file or directory
/ # uptime
00:01:29 up 1 min, load average: 0.01, 0.00, 0.00
Marcin Stanisz