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

RE: Bootblocktool and Rescue partition



Hi,

I am using two 2MB chips.
(2x AM29LV1600T or 2x TC58FVT160FT)

// Henrik Löfgren


Flashitall:

Serial interface initialized.
Device ID = 0xBFC08413
This bootloader hacked by henrikl tis okt 23 14:03:23 CEST 2001.
Checksum of bootloader is 0x000A395E
Waiting for load info.
Checksum of file is 0x00000BEE
Got load info.
SET_REGISTER
0xB0000000
0x000095F8
SET_REGISTER
0xB0000004
0x00000104
SET_REGISTER
0xB000000C
0x1A200040
SET_REGISTER
0xB0000008
0x00005611
SET_REGISTER
0xB0000030
0x00001DF0
SET_REGISTER
0xB0000038
0x00001EF3
PACKET_INFO
0xC0004000
0x00400018
Checksum of file is 0x33B04011
FLASH
0xC0004000
0x00000000
0x00400000
Found CFI device at 0x80000000
Found CFI device at 0x84000000
Erasing 0x00200000 bytes at 0x80000000...
done, verifying...OK
Erasing 0x00200000 bytes at 0x84000000...done, verifying...OK
Flashing 0x00400000 bytes...done and verified
JUMP
0x00000000



Flashit:

Serial interface initialized.
Device ID = 0x0000B4AF
This bootloader hacked by henrikl tis okt 23 14:03:23 CEST 2001.
Checksum of bootloader is 0x000A395E
Waiting for load info.
Checksum of file is 0x00000BEF
Got load info.
SET_REGISTER
0xB0000000
0x000095F8
SET_REGISTER
0xB0000004
0x00000104
SET_REGISTER
0xB000000C
0x1A200040
SET_REGISTER
0xB0000008
0x00005611
SET_REGISTER
0xB0000030
0x00001DF0
SET_REGISTER
0xB0000038
0x00001EF3
PACKET_INFO
0xC0004000
0x00400018
Checksum of file is 0x33B04011
FLASH
0xC0014000
0x00010000
0x003F0000
Found CFI device at 0x80000000
Found CFI device at 0x84000000
Erasing 0x00200000 bytes at 0x80000000...done, verifying...OK
Erasing 0x001F0000 bytes at 0x84000000...done, verifying...OK
Flashing 0x003F0000 bytes...done and verified
JUMP
0x00000000
Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.4.5 (henrikl@xxxxxxx.96 20000427
(experimental)) #1 tis okt 23 14:06:36 CEST 2001
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 Axis Communications AB
Kernel command line: 
ds1302: RTC found.
ds1302: SDA, SCL, RST on PB0, PB1, PA7
rtc_time	: 00:00:80
rtc_date	: 2000-01-01
rtc: sec 0x80 min 0x0 hour 0x0 day 0x1 mon 0x1 year 0x0
Enabling watchdog...
Calibrating delay loop... 33.17 BogoMIPS
Memory: 6904k/8192k available (826k kernel code, 1288k reserved, 42k data,
24k init)
kmem_create: Forcing size word alignment - vm_area_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
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
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
Starting kswapd v1.8
kmem_create: Forcing size word alignment - file lock cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
early initialization of device eth0 is deferred
ETRAX 100LX serial-driver $Revision: 1.1.1.2 $, (c) 2000 Axis Communications
AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS1 at 0xb0000068 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
Axis flash mapping: 8000000 at 50000000
Axis flash: Found 1 x16 CFI device at 0x0 in 16 bit mode
Axis flash: Found 1 x16 CFI device at 0x4000000 in 16 bit mode
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
Axis flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
Axis flash: Swapping erase regions for broken CFI table.
number of CFI chips: 2
 Found valid partition table at 0x5001000A-0x50010056.
  /dev/flash1 at 0x10000, size 0x2f0000
  /dev/flash2 at 0x300000, size 0x100000
I2C driver v2.2, (c) 1999-2001 Axis Communications AB
EEPROM char device v0.3, (c) 2000 Axis Communications AB
eeprom: Assuming i2c compatible 2kB eeprom.
ETRAX 100LX GPIO driver v2.1, (c) 2001 Axis Communications AB
kmem_create: Forcing size word alignment - blkdev_requests
block: queued sectors max/low 4448kB/1482kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
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
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 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 24k freed
init: starting up.
Mounting proc on /proc
Mounting /dev/flash2 on /mnt/flash

Product - release 0.1.2

Mounting tmpfs on /var
Initializing /var
Setting up eth0 with ip 10.0.0.236 and mac 00:40:8C:CD:00:00
eth0: changed MAC to 00:40:8C:CD:00:00
Setting up lo with ip 127.0.0.1
Default gateway is 10.0.0.236
Hostname is "Product"
Domainname is ""
Nameserver is ""
boa: servername set to 10.0.0.236.
Jan  1 00:01:24 Product boa[51]: starting server
Jan  1 00:01:25 Product sftpd[48]: sftpd $Revision: 1.1.1.2 $ starting up

Product - release 0.1.2
Linux 2.4.5 on a cris (ttyS2)

Product login: 








-----Original Message-----
From: Jonas Holmberg [mailto:jonas.holmberg@xxxxxxx.com]
Sent: den 25 oktober 2001 12:40
To: 'Henrik Löfgren'
Cc: dev-etrax
Subject: RE: Bootblocktool and Rescue partition


> But, I want to modify the ptable because i am using 4M flash. 
> (And needs
> it...)

Are you using one 4MB chip or two 2MB chips?

> Here is my ptablespec:
> 	[ptable]
> 	# name size     rw-options  type      name
> 	rescue 0x10000  ro          rescue    rescue.img
> 	flash1 0x2F0000 ro          kernel    flash1.img
> 	flash2 0x100000 rw          jffs      flash2.img
> 
> and the etrax100boot arguments:

It looks OK to me.

Could you send me the debug output when you run flashit, flashitall and when
the
kernel boots (the flash probe)?

/Jonas

winmail.dat