PSTK projekt pt.2
Ura je nekaj čez 11... sedim na predavanjih iz pstk, in po 40ih minutah uploada mi je ratal zagnat uClinux (sicer verzijo iz leta 2005, ampak tudi to je bolje kot tisto včeraj).
in še rezultat:
**********************************************
* LPC2468 OEM Board from Embedded Artists AB *
* EA-version: 1.4 *
* www.EmbeddedArtists.com *
**********************************************
Booting (may take some time)...
U-Boot 1.1.6 (Feb 17 2007 - 09:10:30)
DRAM: 32 MB
Flash: 2.5 MB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
Booting from NAND FLASH (may take some seconds)
First loads linux.bin and then romfs.bin
NAND read: device 0 offset 0x0, size 0x200000
2097152 bytes read: OK
NAND read: device 0 offset 0x200000, size 0x400000
4194304 bytes read: OK
## Starting application at 0xA0008000 ...
Linux version 2.6.11.8-hsc0 (root@eadevenv) (gcc version 2.95.3 20010315 (release)
(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux X8
CPU: Philips-lpc24xx [24000000] (ARMv3)
Machine: LPC24xx, NXP
Warning: bad configuration page, trying to continue
Built 1 zonelists
Kernel command line: root=/dev/ram initrd=0xA1800000,4000k console=ttyS0,38400N8
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 26632KB available (1531K code, 163K data, 76K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 4000K
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
þttyS0 at MMIO 0x0 (irq = 6) is a 16550A
ttyS1 at MMIO 0x0 (irq = 7) is a 16550A
io scheduler noop registered
io scheduler deadline registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Creating 1 MTD partitions on "ROM":
0x00000000-0x00200000 : "ROMfs"
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 2725KiB [1 disk] into ram disk... done.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 76K
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ____ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/ \
| ___\____|_||_|_| |_|\____|\_/\_/
| |
|_|
For further information check:
http://www.uclinux.org/
Board specific drivers by Embedded Artists AB
http://www.EmbeddedArtists.com<
(Release 2007-04-30: Check for updates)
Using /drivers/lpc2468eth.ko
strToInt: illegal character :
strToInt: illegal character :
strToInt: illegal character emac: found MAC address in u-boot env. = 00:1a:f1:00:02:0c:
Error: phyInit wrong id2 (161b != 161a)
insmod: cannot insert `/drivers/lpc2468eth.ko': No such device (-1): No such device
Using /drivers/lpc2468mmc.ko
Error: Memory card could not be found
insmod: cannot insert `/drivers/lpc2468mmc.ko': Resource temporarily unavailable (-1):
Resource temporarily unavailable
Using /drivers/lcd.ko
Error: No LCD connected? (R49=3100 != 0x10).
insmod: cannot insert `/drivers/lcd.ko': No such device (-1): No such device
Using /drivers/adc.ko
Using /drivers/i2c.ko
Using /drivers/pwm.ko
Using /drivers/sfr.ko
Using /drivers/udc.ko
Using /drivers/rtc.ko
Using /drivers/spi.ko
mount: Mounting /dev/mmca1 on /mnt/mmc failed: No such device or address
SIOCSIFADDR: No such device
SIOCGIFFLAGS: No such device
init: Booting to single user mode
#
# cd /dev
# ls
mmca3 ttyp2 zero ptypb pwm06 console ptyp6 pwm04
rom8 ptypd ttyS1 rom0 ptyp7 rom7 pwm16 tty0
ttyS0 ptypa random ptyp0 ptyp3 lcd pca9532 ptyp8
mmca ttyp1 rom5 ttyp3 cua1 ptyp1 pwm13 tty
ttypb ptypf tty1 ttyp0 spi pwm05 ptyp4 ptypc
urandom ram1 ttypa adc0 adc1 pwm03 ram0 pwm11
ptype pwm01 rom4 rtc mem ttypc kmem tty3
ttyp8 ptyp9 cua0 ptyp2 ttyp7 ttyp6 eem pwm14
ttyp5 mmca1 rom3 adc3 ttypd pwm15 ttyp4 adc2
rom6 rom1 ttyp9 mmca2 rom9 rom2 null
pwm12 ttypf tty2 ttype ptyp5 sfr pwm02
#
Progress je
Mam še par ur predavanj.. ravno prav da skmpajlam še novejšo verzijo, po možnosti še s kakim dodatnim programom in si izmislim kaj koristnega, kar bi lahko s tem naredil