On 19/01/2021 08:55, Lawrence wrote:
Tony

As U-boot tends to be built for the board and is very flexible it is possible to build it with a zero timeout on the boot prompt so it becomes impossible to enter interactive mode.

Hi, Lawrence.

Can't help thinking they did that on purpose :-(

When you have it open also look for a JTAG connector, typically a 2*5 or 2*10 pin header as this will be another possible route into accessing the flash. (Looks as if maybe a 16 pin connector https://www.etoolsmiths.com/jtag-pinouts-and-connectors-for-powerpc/)

OK + thx for that link.

U-Boot probably has it's own partitions in the flash, commonly a partition for uboot and a partition for uboot confirguration. But also has default configuration built in so just erasing uboot config may not help.

I've attached the boot logs from my 'bricked' SV841DUSBI IP-KVM and a working SV841DUSBI IP-KVM, which seems to have idenical firmware, and a diff of the boot logs, showing where the SV841DUSBI IP-KVM goes wrong.

If in touch with startech them ask them whether it has a JTAG port or what do they use for factory programming. I have a variety of programming hardware.

My Startech support contact has not relied since I told him I bought the IP-KVM off eBay, despite Startech's widely advertised lifetime support.

Looking at the boot log the kernel looks OK and it is possibly the root filesystem that is the problem.

Yes, I think you're right about that.

Thanks for your helpful suggestions,

  Tony.

--
Minke Informatics Limited, Registered in Scotland - Company No. SC419028
Registered Office: 3 Donview, Bridge of Alford, AB33 8QJ, Scotland (UK)
tel. +44(0)19755 63548                    http://minke-informatics.co.uk
mob. +44(0)7985 078324        mailto:tony.tra...@minke-informatics.co.uk
U-Boot 1.1.1 (Jan 11 2007 - 10:36:35)

CPU:   IBM PowerPC 405EP Rev. B at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
       IIC Boot EEPROM disabled
       PCI async ext clock used, internal PCI arbiter enabled
       16 kB I-Cache 16 kB D-Cache
DRAM:  32 MB
FLASH:  8 MB
MAC Address: 00:0e:c5:01:29:9e
Load FPGA: 212392 bytes: Ok
## Booting image at 10000000 ...
   Image Name:   Linux-2.4.25
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    773504 Bytes = 755.4 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.25 (x@x) (gcc version 2.95.3 20010315 (release)) #1038 Fri Apr 18 14:27:17 EDT 2008
IBM Walnut port (C) 2000-2002 MontaVista Software, Inc. (sou...@mvista.com)
Board customizations (C) 2002-6 Peter D. Gray.
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock4 mtdparts=phys:1m(kern),128k(fpga),64k(unique),1m(user),5824k(cramfs),128k(boot) TYPE=J console=ttyS0,115200
Calibrating delay loop (skipped)... 199.88 BogoMIPS
Memory: 30400k available (1412k kernel code, 464k data, 84k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgo...@atnf.csiro.au)
devfs: boot_options: 0x1
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-proc.o version 2.6.1 (20010830)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xef600300 (irq = 0) is a 16550A
ttyS01 at 0xef600400 (irq = 1) is a 16550A
IBM gpio driver version 07.25.02
GPIO #0 at 0xc300d700
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
emac: IBM OCP EMAC Ethernet driver, version 2.1
Maintained by Benjamin Herrenschmidt <b...@kernel.crashing.org>
mal0: Initialized, 4 tx channels, 2 rx channels
eth0: IBM emac, MAC 00:0e:c5:01:29:9e
eth0: Found Generic MII PHY (0x01)
emac1: Can't find PHY.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
physmap flash device: 800000 at 10000000
phys: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
phys: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
6 cmdlinepart partitions found on MTD device phys
Creating 6 MTD partitions on "phys":
0x00000000-0x00100000 : "kern"
0x00100000-0x00120000 : "fpga"
0x00120000-0x00130000 : "unique"
0x00130000-0x00230000 : "user"
0x00230000-0x007e0000 : "cramfs"
0x007e0000-0x00800000 : "boot"
IBM IIC driver v2.0
ibm-iic0: using standard (100 kHz) mode
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
ip_conntrack version 2.1 (256 buckets, 2048 max) - 292 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k init
Error -3 while decompressing!
c01cb9c0(-3962669)->c03f4000(4096)
eth0: Link is Up
eth0: Speed: 100, Full duplex.
U-Boot 1.1.1 (Jan 11 2007 - 10:36:35)

CPU:   IBM PowerPC 405EP Rev. B at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
       IIC Boot EEPROM disabled
       PCI async ext clock used, internal PCI arbiter enabled
       16 kB I-Cache 16 kB D-Cache
DRAM:  32 MB
FLASH:  8 MB
MAC Address: 00:0e:c5:01:60:6e
Load FPGA: 212392 bytes: Ok
## Booting image at 10000000 ...
   Image Name:   Linux-2.4.25
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    773504 Bytes = 755.4 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.25 (x@x) (gcc version 2.95.3 20010315 (release)) #1038 Fri Apr 18 14:27:17 EDT 2008
IBM Walnut port (C) 2000-2002 MontaVista Software, Inc. (sou...@mvista.com)
Board customizations (C) 2002-6 Peter D. Gray.
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock4 mtdparts=phys:1m(kern),128k(fpga),64k(unique),1m(user),5824k(cramfs),128k(boot) TYPE=J console=ttyS0,115200
Calibrating delay loop (skipped)... 199.88 BogoMIPS
Memory: 30400k available (1412k kernel code, 464k data, 84k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgo...@atnf.csiro.au)
devfs: boot_options: 0x1
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-proc.o version 2.6.1 (20010830)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xef600300 (irq = 0) is a 16550A
ttyS01 at 0xef600400 (irq = 1) is a 16550A
IBM gpio driver version 07.25.02
GPIO #0 at 0xc300d700
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
emac: IBM OCP EMAC Ethernet driver, version 2.1
Maintained by Benjamin Herrenschmidt <b...@kernel.crashing.org>
mal0: Initialized, 4 tx channels, 2 rx channels
eth0: IBM emac, MAC 00:0e:c5:01:60:6e
eth0: Found Generic MII PHY (0x01)
emac1: Can't find PHY.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
physmap flash device: 800000 at 10000000
phys: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
6 cmdlinepart partitions found on MTD device phys
Creating 6 MTD partitions on "phys":
0x00000000-0x00100000 : "kern"
0x00100000-0x00120000 : "fpga"
0x00120000-0x00130000 : "unique"
0x00130000-0x00230000 : "user"
0x00230000-0x007e0000 : "cramfs"
0x007e0000-0x00800000 : "boot"
IBM IIC driver v2.0
ibm-iic0: using standard (100 kHz) mode
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
ip_conntrack version 2.1 (256 buckets, 2048 max) - 292 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k init
Proprietary GEN2 hardware driver. Version 09.26.5095328
FPGA version = 28
Proprietary PS/2 driver. Version 08.42.3101847
eth0: Link is Up
eth0: Speed: 100, Full duplex.
Proprietary HiSpeed USB Emulation driver. Version 08.42.3101841
NOTE: Hi-speed USB support is disabled.
eth0: Link is Up
eth0: Speed: 100, Full duplex.
SNMP agent started.
Redir Server started (br0/eth0=80, eth1=0).
VNC Server: Version 08.44.4094944
Emulating USB Disk: ramdisk

This compilation is:
       (c) Copyright 2002-4 by Startech.com Inc. All rights reserved.


System is UP.


Please press Enter to activate this console...

-----------------------------------
Server Remote Control Network Setup
-----------------------------------

NOTE: This interface is used to set network parameters and perform
certain recovery procedures, but the majority of setup and
configuration can only be done using the web interface.

Primary Ethernet Port (LAN)     (00:0e:c5:01:60:6e)
    D.H.C.P.: Disabled
  IP Address: 192.168.1.123
     Netmask: 255.255.255.0
     Gateway: Disabled
   Broadcast: 192.168.1.255

   Machine name: noname
Default Gateway: <none>

Commands (press one key, then Enter):
    D - Enable DHCP for dynamic IP address.
    I - Set IP address.
    N - Set netmask.
    G - Set network gateway.
    B - Set broadcast address (optional).
    GW - Set default gateway.
    M - Change machine name (DHCP client name).
    H - Reset/disable firewall, TCP ports, SNMP, RADIUS.
    F - Reset everything to factory defaults.
    S - Change system admin password.
    P - Send ICMP ping packets (testing purposes).
    ? - Show TCP/IP ports and servers enabled.
    R - Revert to current settings (undo changes).
    W - Commit changes to configuration.


Choice:
--- SV841DUSBI.log	2021-01-19 10:14:27.865812749 +0000
+++ SV441DUSBI.log	2021-01-19 10:12:32.788869516 +0000
@@ -6,7 +6,7 @@
        16 kB I-Cache 16 kB D-Cache
 DRAM:  32 MB
 FLASH:  8 MB
-MAC Address: 00:0e:c5:01:29:9e
+MAC Address: 00:0e:c5:01:60:6e
 Load FPGA: 212392 bytes: Ok
 ## Booting image at 10000000 ...
    Image Name:   Linux-2.4.25
@@ -53,7 +53,7 @@
 emac: IBM OCP EMAC Ethernet driver, version 2.1
 Maintained by Benjamin Herrenschmidt <b...@kernel.crashing.org>
 mal0: Initialized, 4 tx channels, 2 rx channels
-eth0: IBM emac, MAC 00:0e:c5:01:29:9e
+eth0: IBM emac, MAC 00:0e:c5:01:60:6e
 eth0: Found Generic MII PHY (0x01)
 emac1: Can't find PHY.
 PPP generic driver version 2.4.2
@@ -61,7 +61,6 @@
 physmap flash device: 800000 at 10000000
 phys: Found 1 x16 devices at 0x0 in 16-bit bank
  Amd/Fujitsu Extended Query Table at 0x0040
-phys: CFI does not contain boot bank location. Assuming top.
 number of CFI chips: 1
 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
 6 cmdlinepart partitions found on MTD device phys
@@ -86,7 +85,62 @@
 VFS: Mounted root (cramfs filesystem) readonly.
 Mounted devfs on /dev
 Freeing unused kernel memory: 84k init
-Error -3 while decompressing!
-c01cb9c0(-3962669)->c03f4000(4096)
+Proprietary GEN2 hardware driver. Version 09.26.5095328
+FPGA version = 28
+Proprietary PS/2 driver. Version 08.42.3101847
 eth0: Link is Up
 eth0: Speed: 100, Full duplex.
+Proprietary HiSpeed USB Emulation driver. Version 08.42.3101841
+NOTE: Hi-speed USB support is disabled.
+eth0: Link is Up
+eth0: Speed: 100, Full duplex.
+SNMP agent started.
+Redir Server started (br0/eth0=80, eth1=0).
+VNC Server: Version 08.44.4094944
+Emulating USB Disk: ramdisk
+
+This compilation is:
+       (c) Copyright 2002-4 by Startech.com Inc. All rights reserved.
+
+
+System is UP.
+
+
+Please press Enter to activate this console...
+
+-----------------------------------
+Server Remote Control Network Setup
+-----------------------------------
+
+NOTE: This interface is used to set network parameters and perform
+certain recovery procedures, but the majority of setup and
+configuration can only be done using the web interface.
+
+Primary Ethernet Port (LAN)     (00:0e:c5:01:60:6e)
+    D.H.C.P.: Disabled
+  IP Address: 192.168.1.123
+     Netmask: 255.255.255.0
+     Gateway: Disabled
+   Broadcast: 192.168.1.255
+
+   Machine name: noname
+Default Gateway: <none>
+
+Commands (press one key, then Enter):
+    D - Enable DHCP for dynamic IP address.
+    I - Set IP address.
+    N - Set netmask.
+    G - Set network gateway.
+    B - Set broadcast address (optional).
+    GW - Set default gateway.
+    M - Change machine name (DHCP client name).
+    H - Reset/disable firewall, TCP ports, SNMP, RADIUS.
+    F - Reset everything to factory defaults.
+    S - Change system admin password.
+    P - Send ICMP ping packets (testing purposes).
+    ? - Show TCP/IP ports and servers enabled.
+    R - Revert to current settings (undo changes).
+    W - Commit changes to configuration.
+
+
+Choice:
_______________________________________________
57north-discuss mailing list
57north-discuss@lists.57north.co
http://lists.57north.co/listinfo/57north-discuss

Reply via email to