Some progress, but still no cigar.
I figured out that I need to leave the "ip=..." out of the Redboot
exec command, even when I specify a static IP address. But when I
changed the fconfig script to match it still will not boot without
doing the DHCP request when letting it boot from flash.
I must have something set up wrong in the flash. Can someone see it?
Here's what I have now:
RedBoot> fconfig -l
Run script at boot: true
Boot script:
.. fis load vmlinux -b 0x00218000
.. exec -c "console=ttyAM0,115200 root=/dev/hda1"
Boot script timeout (100ms resolution): 20
Use BOOTP for network configuration: false
Gateway IP address: 192.168.1.1
Local IP address: 192.168.1.50
Local IP address mask: 255.255.255.0
Default server IP address: 192.168.1.13
dns_ip: 192.168.1.13
Network hardware address [MAC]: 0x00:0xD0:0x69:0x40:0x9E:0x60
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
RedBoot>
And here's what it echos while booting:
>> TS-BOOTROM, Rev 1.08 - built 10:44:37, May 26 2006
>> Copyright (C) 2006, Technologic Systems
>> TS-7200: Rev >E1 CPU, Rev C PLD, 32MB SDRAM, options ( MAX197-ADC
RS485 )
>> TS-5620: detected, battery OK, time ( 16:27:50, Apr 5 2008 )
+IDE failed to identify unit 0 - wrote: b0, read: 0
Ethernet eth0: MAC address 00:d0:69:40:9e:60
IP: 192.168.1.50/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.13
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version current-TS_5 - built 11:53:02, Jun 7 2006
Platform: TS-7200 Board (ARM920T) Rev A
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x00000000-0x02000000, [0x00044f88-0x01fdd000] available
FLASH: 0x60000000 - 0x61000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> fis load vmlinux -b 0x00218000
RedBoot> exec -c "console=ttyAM0,115200 ip=192.168.1.50 root=/dev/hda1"
Using base address 0x00218000 and length 0x00160000
Uncompressing
Linux..........................................................
Linux version 2.6.23-rc1ide_2 (gcc version
4.1.0) #178
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=00007177
Machine: Technologic Systems TS-72xx SBC
Memory policy: ECC disabled, Data cache writeback
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
Built 1 zonelists in Zone order. Total pages: 8016
Kernel command line: console=ttyAM0,115200 ip=192.168.1.50 root=/dev/hda1
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 29884KB available (2328K code, 153K data, 80K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
ep93xx: PLL1 running at 400 MHz, PLL2 at 192 MHz
ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (SUMMARY) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
Serial: AMBA driver $Revision: 1.41 $
apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
console [ttyAM0] enabled
apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
amba-pl010.c: auto RS485 mode initialized
ep93xx-eth version 0.1 loading
eth0: ep93xx on-chip ethernet, IRQ 39, 00:d0:69:40:9e:60.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
hda: TOSHIBA THNCF512MQG, CFA DISK drive
ide0 at 0xc605a000-0xc605a007,0xc607c006 on irq 32
hda: max request size: 128KiB
hda: 1000944 sectors (512 MB) w/2KiB Cache, CHS=993/16/63
hda: hda1
Technologic Systems TS-7200 IDE initialization - driver version 1.5,
12/07/0
physmap platform flash device: 01000000 at 60000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
RedBoot partition parsing not available
ep93xx-ohci ep93xx-ohci: EP93xx OHCI
ep93xx-ohci ep93xx-ohci: new USB bus registered, assigned bus number 1
ep93xx-ohci ep93xx-ohci: irq 56, io mem 0x80020000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
rtc-m48t86 rtc-m48t86: battery ok
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-m48t86 rtc-m48t86: setting the system clock to 2008-04-05 16:28:00
(1207)
usb 1-1: new full speed USB device using ep93xx-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
Sending DHCP requests ....
It shouldn't be sending these DHCP requests, because it isn't going to
get an answer. I don't know how to tell it not to.
--Jeff
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|