[linux-cirrus] Re: Building Nucleusys tool chain on the target

  • From: yann poupet <yann.poupet@xxxxxxx>
  • To: linux-cirrus@xxxxxxxxxxxxx
  • Date: Sun, 12 Jun 2005 23:40:01 +0200

Hi Bhushan,

I cannot say anything about your particular problem.

Here is my boot sequence, if it can help ...

EDB9312> printenv
ethaddr=08:00:3e:26:0a:5b
bootargs=root=/dev/nfs
nfsroot=192.168.1.36:/home/yannouch/embarque/kurz/cdrom/Rootfilesystem/fmbroot
console=ttyAM0,115200 ip=::::::dhcp
bootdelay=1
baudrate=115200
hostname=fmb
bootfile=uImage
gatewayip=192.168.1.1
netmask=255.255.255.0
serverip=192.168.1.36
bootcmd=bootm 60080000
ipaddr=192.168.1.34
stdin=serial
stdout=serial
stderr=serial

Environment size: 371/262140 bytes
EDB9312> tftpboot
TFTP from server 192.168.1.36; our IP address is 192.168.1.34
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         #################################################################
         #########################
done
Bytes transferred = 1123760 (1125b0 hex)
EDB9312> bootm 0x1000000
## Booting image at 01000000 ...
   Image Name:   Linux-2.6.11.7
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1123696 Bytes =  1.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

f3øøfÃæøæøfÌ<3øøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøø
    ææÌÌfÃÀÌæfÃøæLinux version 2.6.11.7 (yannouch@therethere) (gcc
version 3.4.3) #1 Sat May 21 01:32:32 CEST 2005
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Machine: edb9312
Memory policy: ECC disabled, Data cache writeback
Built 2 zonelists
Kernel command line: root=/dev/nfs
nfsroot=192.168.1.36:/home/yannouch/embarque/kurz/cdrom/Rootfilesystem/fmbroot
console=ttyAM0,115200 ip=::::::dhcp
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 32MB 32MB = 64MB total
Memory: 62296KB available (2052K code, 315K data, 100K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
CPU model: Cirrus Logic EP9312, silicon rev D1
NET: Registered protocol family 23
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch@xxxxxxxxxxxxx)
devfs: boot_options: 0x1
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Real Time Clock Driver v0.01
Serial: EP93xx driver $Revision: 1.42 $
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a uart-ep93xx
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a uart-ep93xx
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a uart-ep93xx
io scheduler noop registered
io scheduler deadline registered
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
loop: loaded (max 8 devices)
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
EP9312_Eth #0 at 0xe0010000 IRQ:39 MAC:78:56:34:12:1c:32
EP9312_Eth initDriver(): unable to get region 0xe0010000-0xe001ffff
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide_init_hwif_ports
ide_init_hwif_ports(hw=c02eff18 data_port=00000000, ctrl_port=00000006
 io_ports: 00000002
 io_ports: 00000006
 io_ports: 0000000a
 io_ports: 0000000e
 io_ports: 00000012
 io_ports: 00000016
 io_ports: 0000001a
 io_ports: 0000001e
-io_ports: 00000019
Cirrus Logic EP93XX IDE initialization - driver version 1.0, 5/21/03.
physmap flash device: 2000000 at 60000000
RedBoot partition parsing not available
ftl_cs: FTL header not found.
slram: not enough parameters.
ftl_cs: FTL header not found.
Cirrus EP93xx 8x8 keypad matrix driver
Cirrus EP93xx PS/2 keyboard driver
i2c /dev entries driver
ds1337_init
DS1337 FIXME: using dirty hack to get *i2c_client
DS1337 RTC not running, trying to initializing it
DS1337 RTC initialized, please set it manually
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.33
IP-Config: Complete:
      device=eth0, addr=192.168.1.33, mask=255.255.255.0, gw=192.168.1.1,
     host=dhcppc0, domain=, nis-domain=(none),
     bootserver=192.168.1.1, rootserver=192.168.1.36, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.36
Looking up port of RPC 100005/1 on 192.168.1.36
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing init memory: 100K
telnetd: starting
  port: 23; interface: any; login program: /bin/login


BusyBox v1.00 (2005.05.22-08:33+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

-sh: can't access tty; job control turned off
[root@FMB]#

>Hi Yann,
>Can you please go through the following out put and suggest what could be wrong
>in the env settings,
>Problem is I am not getting anything on the Serial terminal after Verifying
>Checksum ... OK
>
>Mini-9312> prientenv
>Unknown command 'prientenv' - try 'help'
>Mini-9312> printenv
>bootcmd=bootm
>bootdelay=1
>baudrate=(115200)
>ethaddr=08:00:3E:26:0A:5B
>ipaddr=139.187.156.42
>gatewayip=139.187.156.123
>serverip=139.187.156.18
>ipaddr=139.187.156.44
>NFS_SERVER=139.187.156.18
>NFS_PATH=/opt/natl/src/uClinux/uClinux-dist/vendors/Videon/natl/nfsroot
>netmask=255.255.255.128
>bootfile=image_natl.img
>bootargs=root=/dev/mtdblock/0 console=ttyAM0,115200 ip=::::::dhcp
>stdin=serial
>stdout=serial
>stderr=serial
>
>Environment size: 491/262139 bytes
>Mini-9312> saveenvb
>Unknown command 'saveenvb' - try 'help'
>Mini-9312> saveenv
>Saving Environment to Flash...
>Un-Protected 1 sectors
>Un-Protected 1 sectors
>Erasing Flash...
>. done
>Erased 1 sectors
>Writing to Flash... done
>Protected 1 sectors
>Protected 1 sectors
>Mini-9312> tftpboot 0x000000
>TFTP from server 139.187.156.18; our IP address is 139.187.156.44
>Filename 'image_natl.img'.
>Load address: 0x0
>Loading: #################################################################
>        #################################################################
>        ####################################
>
>done
>Bytes transferred = 846324 (ce9f4 hex)
>Mini-9312> bootm
>## Booting image at 00000000 ...
>   Image Name:   Linux-2.6.11-rc3-ep93xx
>   Image Type:   ARM Linux Kernel Image (uncompressed)
>   Data Size:    846260 Bytes = 826.4 kB
>   Load Address: 00008000
>   Entry Point:  00008000
>   Verifying Checksum ... OK
>I can not see any thing on serial terminal after this...I sther anything wrong
>in bootargs.
>Your suggestion would be of great help.
>Thanks and regards
>Bhushan Koalrkar
>
>
>
>
>
>  
>


Other related posts: