[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Flashing Axis 82



Title: Message
The problem is:
>cse0 and cse1: Cannot concatenate due to kernel (mis)configuration!
 
cd os/linux
make menuconfig
select Memory Technology Drivers (MTD)
Enable concatenating support
save and exit
cd ../..
make kernel && make images
 
If you use the kernelconfig in the devboard 82 distribution this should already be enabled.
 
Regards
/Mikael

-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com] On Behalf Of Dirk de Jager
Sent: Wednesday, June 23, 2004 11:17 AM
To: dev-etrax
Subject: Flashing Axis 82

Hello Mailing List,
 
I am having another problem with the Axis 82 Development board...
 
I am using the:
 
Cris Cross Compiler 1.56
Axis Development Software 1.92
Linux 2.4.26
 
Using the tools with the dev software 1.92, there is no flashit or flashitall scripts. So I used ./kflash to load the images to the board,
 
 ./kflash was tending not work anymore, so I flashed the board by logging into the board over ftp and running

ftp>bin

ftp>put fimage flash_all

 
Unfortunately I can not seem to flash the board anymore as it always gives me the following when I try to flash it.
 
/home/dirk/Axis83/axis/devboard_82# ./kflash           
Using internal boot loader: INTERNAL_NW - Network boot (default).
Starting boot...
We're doing a flash write, this may take up to a few minutes...
 

Device ID = 0xbff9c896
This bootloader was built by root on Wed Jun 16 10:23:19 SAST 2004.
Checksum of bootloader is 0x000a3e1f
Waiting for load info.
Checksum of file is 0x00000d58
Got load info.
SET_REGISTER
0xb0000000
0x000095a6
SET_REGISTER
0xb0000004
0x00000104
SET_REGISTER
0xb000000c
0x1a200040
SET_REGISTER
0xb0000008
0x00005611
SET_REGISTER
0xb0000030
0x00001df0
SET_REGISTER
0xb0000038
0x00001ef3
PACKET_INFO
0xc0004000
0x00350000
Checksum of file is 0x00000000
FLASH
0xc0004000
0x00010000
0x00350000
Found 1 x 16Mb BB at 0x80000000
Found 1 x CFI at 0x84000000
0x80010000: No need to write
0x80020000: No need to write
0x80030000: No need to write
0x80040000: No need to write
0x80050000: No need to write
0x80060000: No need to write
0x80070000: No need to write
0x80080000: No need to write
0x80090000: No need to write
0x800a0000: No need to write
0x800b0000: No need to write
0x800c0000: No need to write
0x800d0000: No need to write
0x800e0000: No need to write
0x800f0000: No need to write
0x80100000: No need to write
0x80110000: No need to write
0x80120000: No need to write
0x80130000: No need to write
0x80140000: No need to write
0x80150000: No need to write
0x80160000: No need to write
0x80170000: No need to write
0x80180000: No need to write
0x80190000: No need to write
0x801a0000: No need to write
0x801b0000: No need to write
0x801c0000: No need to write
0x801d0000: No need to write
0x801e0000: No need to write
0x801f0000: No need to write
0x84000000: No need to write
0x84010000: No need to write
0x84020000: No need to write
0x84030000: No need to write
0x84040000: No need to write
0x84050000: No need to write
0x84060000: No need to write
0x84070000: No need to write
0x84080000: No need to write
0x84090000: No need to write
0x840a0000: No need to write
0x840b0000: No need to write
0x840c0000: No need to write
0x840d0000: No need to write
0x840e0000: No need to write
0x840f0000: No need to write
0x84100000: No need to write
0x84110000: No need to write
0x84120000: No need to write
0x84130000: No need to write
0x84140000: No need to write
0x84150000: No need to write
0x80000000: Verifying...OK
0x84000000: Verifying...OK
JUMP
0x00000000
END
Exiting with code 0
Diggler:/home/dirk/Axis83/axis/devboard_82#
 
 
 
 
And then I can not get into the board over the serial port as I get the following message...
 
 
 
 

Uncompressing Linux...
Done. Now booting the kernel.
Setting up paging and the MMU.
On node 0 totalpages: 1024
zone(0): 1024 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001, 2002 Axis Communications AB
Kernel command line: root=/dev/mtdblock3
Calibrating delay loop... 99.73 BogoMIPS
Memory: 6464k/8192k available (776k kernel code, 1728k reserved, 170k data, 32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 1024 (order: 0, 8192 bytes)
Inode cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
kmem_create: Forcing size word alignment - kiobuf
Buffer cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Initializing RT netlink socket
BlueZ Core ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <
maxk@xxxxxxx.com>
Starting kswapd
kmem_create: Forcing size word alignment - file_lock_cache
kmem_create: Forcing size word alignment - blkdev_requests
SCSI subsystem driver Revision: 1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
BlueZ HCI USB driver ver 2.5 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <
maxk@xxxxxxx.com>
usb.c: registered new driver hci_usb
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Communications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver 1.62 $, (c) 2000-2003 Axis Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
cse0: Probing a 0x04000000 bytes large window at 0x80000000.
cse0: Probing for AMD compatible flash...
cse0: Found 1 x 2MiB Atmel AT49xV16x at 0x0
cse1: Probing a 0x04000000 bytes large window at 0x84000000.
cse1: Probing for AMD compatible flash...
cse1: Found no AMD compatible device at location zero
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
cse1: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
cse0 and cse1: Cannot concatenate due to kernel (mis)configuration!
cse0 and cse1: Concatenation failed!
cse0: 0x00200000 bytes of flash memory.
 Found a valid partition table at 0x5001000a-0x50010056.
  /dev/flash1 at 0x00010000, size 0x00350000
  /dev/flash2 at 0x00360000, size 0x002a0000
 Adding readonly flash partition for romfs image:
  /dev/flash3 at 0x0008a8d7, size 0x001ee000
Creating 4 MTD partitions on "cse0":
0x00000000-0x00010000 : "part0"
0x00010000-0x00360000 : "part1"
mtd: partition "part1" extends beyond the end of device "cse0" -- size truncated to 0x1f0000
0x00360000-0x00600000 : "part2"
mtd: partition "part2" is out of reach -- disabled
mtd: partition "part2" doesn't start on an erase block boundary -- force read-only
0x0008a8d7-0x002788d7 : "romfs"
mtd: partition "romfs" extends beyond the end of device "cse0" -- size truncated to 0x175729
I2C driver v2.2, (c) 1999-2001 Axis Communications AB
GPIO port G: in_bits: 0xFFFFFF3F out_bits: 0xFE00003E val: F1FF10FE
GPIO port G: dir: 00000000 changeable: 01FFFF01
ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002 Axis Communications AB
usb-host.c: ETRAX 100LX USB-HCD $Revision: 1.20 $ (c) 2001-2003 Axis Communications AB
 
kmem_create: Forcing size word alignment - top_half_reg_cache
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <
maxk@xxxxxxx.com>
BlueZ SCO ver 0.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <
maxk@xxxxxxx.com>
BlueZ RFCOMM ver 1.1
Copyright (C) 2002 Maxim Krasnyansky <
maxk@xxxxxxx.com>
Copyright (C) 2002 Marcel Holtmann <
marcel@xxxxxxx.org>
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 32k freed
Error -3 while decompressing!
6010c73c(-1577228)->6038c000(8192)
Kernel panic: No init found.  Try passing init= option to kernel.
 
 
any help would be greatly appreciated
 
Thank you very much
 
Dirk de Jager
University of Cape Town