TheHogNL wrote:stijnpeeters wrote:I think i made the mistake of updating from 3.9 to 5.0.2 in 1 step.
script stopped somehow and toon is not booting.
Is there a way to "unbrick" it?
We need more information than this. What did the script say? It just doesn't stop 'somehow'. And what is the toon doing? Not booting at all (no screen, no serial output)?
I have some additional information:
so i started the script and chose to update to the latest 5.0.4 version.
The script started but froze, waited for 20 min. Broke off the script and restarted it; script told me that it was not able to select another version before finishing this one. But script halted again. Rebooted the Toon; no SSH anymore. So now i have JTAGed it again so i have serial access again; But replacing passwd backup and rebooting does not seem to work as it is empty after a reboot.
the screen put's out this:
Code: Select all
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36-R10-h25 (jbraam@dvl) (gcc version 4.5.3 20110223 (prerelease) (GCC) ) #1 PREEMPT Tue May 24 11:41:01 CES6
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Prodrive B.V ED2.0
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: ubi.mtd=4 root=ubi0:rootfs rw rootfstype=ubifs mtdparts=mxc_nand:512K@0x00100000(u-boot-env)ro,1536K(spl4
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125536k/125536k available, 5536k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
vmalloc : 0xc8800000 - 0xf4000000 ( 696 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0024000 ( 112 kB)
.text : 0xc0024000 - 0xc03ea000 (3864 kB)
.data : 0xc0404000 - 0xc042a5a0 ( 154 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:272
MXC IRQ initialized
MXC GPIO hardware
Console: colour dummy device 80x30
Calibrating delay loop (skipped) preset value.. 199.88 BogoMIPS (lpj=999424)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Configured for LCD: TM070RDH11
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
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)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 245
io scheduler noop registered (default)
imx-fb imx-fb.0: PreserveUBootFramebuffer(1): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: PreserveUBootFramebuffer(2): xres=800, yres=480 [skip _update_lcdc]
Console: switching to colour frame buffer device 100x30
imx-fb imx-fb.0: fb0: DISP0 BG fb device registered successfully.
imx-fb imx-fb.0: PreserveUBootFramebuffer(3): xres=800, yres=480 [skip _update_lcdc]
imx-fb imx-fb.0: fb1: DISP0 FG fb device registered successfully.
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
console [ttymxc0] enabled
imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 596 at 0x000004a80000
Bad eraseblock 686 at 0x0000055c0000
Bad eraseblock 798 at 0x0000063c0000
RedBoot partition parsing not available
5 cmdlinepart partitions found on MTD device mxc_nand
Creating 5 MTD partitions on "mxc_nand":
0x000000100000-0x000000180000 : "u-boot-env"
0x000000180000-0x000000300000 : "splash-image"
0x000000300000-0x000000600000 : "kernel"
0x000000600000-0x000000900000 : "kernel-backup"
0x000000900000-0x000008000000 : "rootfs"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: max. sequence number: 330490
UBI: attached mtd4 to ubi0
UBI: MTD device name: "rootfs"
UBI: MTD device size: 119 MiB
UBI: number of good PEBs: 949
UBI: number of bad PEBs: 3
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 949
UBI: number of PEBs reserved for bad PEB handling: 9
UBI: max/mean erase counter: 956/347
UBI: image sequence number: 1525168762
UBI: background thread "ubi_bgt0d" started, PID 319
at25 spi0.0: 32 KByte at25640B eeprom, pagesize 64
spi_imx spi_imx.0: probed
FEC Ethernet Driver
fec_enet_mii_bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
mxc-ehci mxc-ehci.0: initializing i.MX USB Controller
mxc-ehci mxc-ehci.0: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.0: Work around for USB enabled
ULPI transceiver vendor/product ID 0x0424/0x000d
mxc-ehci mxc-ehci.0: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.0: new USB bus registered, assigned bus number 1
mxc-ehci mxc-ehci.0: irq 56, io mem 0x10024000
mxc-ehci mxc-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.36-R10-h25 ehci_hcd
usb usb1: SerialNumber: mxc-ehci.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mxc-ehci mxc-ehci.2: initializing i.MX USB Controller
mxc-ehci mxc-ehci.2: portsc setup 1: 0x80000000
mxc-ehci mxc-ehci.2: Work around for USB enabled
mxc-ehci mxc-ehci.2: Freescale On-Chip EHCI Host Controller
mxc-ehci mxc-ehci.2: new USB bus registered, assigned bus number 2
mxc-ehci mxc-ehci.2: irq 55, io mem 0x10024400
mxc-ehci mxc-ehci.2: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Freescale On-Chip EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.36-R10-h25 ehci_hcd
usb usb2: SerialNumber: mxc-ehci.2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
input: TSC2007 Touchscreen as /devices/virtual/input/input0
rtc-isl1208 1-006f: chip found, driver version 0.3
rtc-isl1208 1-006f: rtc core: registered rtc-isl1208 as rtc0
i2c /dev entries driver
tmp431 0-004c: Could not read configuration register (-5)
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
adt7410 0-0048: adt7410 temperature sensor registered.
adt7410 0-0049: adt7410 temperature sensor registered.
nf_conntrack version 0.5.0 (1961 buckets, 7844 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
lib80211: common routines for IEEE802.11 drivers
rtc-isl1208 1-006f: setting system clock to 2019-03-11 20:15:49 UTC (1552335349)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 119347200 bytes (116550 KiB, 113 MiB, 925 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 112K
usb 2-1: new high speed USB device using mxc-ehci and address 2
usb 2-1: New USB device found, idVendor=148f, idProduct=5370
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: 802.11 n WLAN
usb 2-1: Manufacturer: Ralink
usb 2-1: SerialNumber: 1.0
INIT: version 2.86 booting
INIT: /etc/inittab[26]: id field too long (max 4 characters)
INIT: /etc/inittab[31]: id field too long (max 4 characters)
INIT: /etc/inittab[35]: id field too long (max 4 characters)
INIT: /etc/inittab[36]: duplicate ID field "qtqt"
INIT: /etc/inittab[37]: duplicate ID field "gett"
INIT: /etc/inittab[46]: id field too long (max 4 characters)
imx-fb imx-fb.0: PreserveUBootFramebuffer(4): xres=800, yres=480 [do _update_lcdc]
(print_boot_msg)
Please wait: booting... (print_boot_msg)
* Kernel 2.6.36-R10-h25 (print_boot_msg)
* Firmware qb2/uni/5.0.4-1286-0 (print_boot_msg)
* Hostname eneco-001-064929 (print_boot_msg)
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
chown: unknown user/group root:root
Loading iptables settings: iptables.
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: Aborted upgrade-execute for qb2/uni/5.0.4 detected,
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: executing /HCBv2/tmp/opkg-cache/upgrade-qb2.sh execute-resume
/etc/init.d/rcS: /etc/rcS.d/S40upgrade-execute-resume.sh: line 4: /HCBv2/tmp/opkg-cache/upgrade-qb2.sh: Permission denied
/HCBv2/tmp/opkg-cache/upgrade-qb2.sh: done.
(print_boot_msg)
Configuring network interfaces... (print_boot_msg)
Configuring network interfaces...
Running 'ifup -a' in the foreground (ifup-fg)
ifup: interface lo already configured
eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:10, irq=-1)
ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc: started, v1.27.2
udhcpc: sending discover
PHY: 1:10 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc: sending discover
udhcpc: sending select for 192.168.1.120
udhcpc: lease of 192.168.1.120 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 208.67.222.222
/etc/udhcpc.d/50default: Adding DNS 208.67.220.220
/etc/udhcpc.d/70prepend-google-pub-dns: Prepending DNS 8.8.8.8 (skip with /mnt/persist/udhcpc-skip-prepend-google-pub-dns)
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
ifconfig: SIOCGIFFLAGS: No such device
* Wired (eth0) 00:0f:11:03:46:68 192.168.1.120 (print_boot_msg)
Setting up IP spoofing protection: rp_filter.
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
Starting Vixie-cron.
HCBv2 apps started via runlevels, performing 'addstartables && reload && init 5 or 5'.
HCBv2 adding: comm eventmgr kpi pwrusage scsync smartplug thermstat usermsg weather bxtproxy config log rrd upnp watchdog hue.
HCBv2 startables unchanged, not writing /etc/inittab.
INIT: /etc/inittab[26]: id field too long (max 4 characters)
INIT: /etc/inittab[31]: id field too long (max 4 characters)
INIT: /etc/inittab[35]: id field too long (max 4 characters)
INIT: /etc/inittab[36]: duplicate ID field "qtqt"
INIT: /etc/inittab[37]: duplicate ID field "gett"
INIT: /etc/inittab[46]: id field too long (max 4 characters)
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
getty: applet not found
INIT: Id "gett" respawning too fast: disabled for 5 minutes
Mon Mar 11 20:16:09 2019 DEPRECATED OPTION: --tls-remote, please update your configuration
INIT: Id "comm" respawning too fast: disabled for 5 minutes
INIT: Id "smar" respawning too fast: disabled for 5 minutes
INIT: Id "even" respawning too fast: disabled for 5 minutes
INIT: Id "netc" respawning too fast: disabled for 5 minutes
INIT: Id "watc" respawning too fast: disabled for 5 minutes
INIT: Id "logl" respawning too fast: disabled for 5 minutes
INIT: Id "p1p1" respawning too fast: disabled for 5 minutes
INIT: Id "scsy" respawning too fast: disabled for 5 minutes
INIT: Id "kpik" respawning too fast: disabled for 5 minutes
INIT: Id "pwru" respawning too fast: disabled for 5 minutes
INIT: Id "ther" respawning too fast: disabled for 5 minutes
INIT: Id "rrdr" respawning too fast: disabled for 5 minutes
INIT: Id "upnp" respawning too fast: disabled for 5 minutes
INIT: Id "user" respawning too fast: disabled for 5 minutes
INIT: Id "zwav" respawning too fast: disabled for 5 minutes
INIT: Id "conf" respawning too fast: disabled for 5 minutes
INIT: Id "bxtp" respawning too fast: disabled for 5 minutes
INIT: Id "hueh" respawning too fast: disabled for 5 minutes
INIT: Id "weat" respawning too fast: disabled for 5 minutes
INIT: Id "qtqt" respawning too fast: disabled for 5 minutes
INIT: Id "ligh" respawning too fast: disabled for 5 minutes
after some fiddeling i managed to get ssh working again.
But still not toon on screen, just a loading screen.
updated the script to 3.71 and tried a forced install to 4.10.6
Code: Select all
eneco-001-064929:~# sh /root/update-rooted.sh -v 4.10.6
===
Forcing version: 4.10.6
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Could not enable VPN in a normal reasonable time!
DEBUG information:
192.168.1.0/24 dev eth0 scope link src 192.168.1.120
172.28.48.0/20 via 172.28.48.1 dev tap0
172.28.48.0/20 dev tap0 scope link src 172.28.52.10
default via 192.168.1.254 dev eth0 metric 10
# <persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1 ping.quby.nl
# </persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1 localhost.localdomain localhost eneco-001-064929
172.23.16.1 feed.hae.orig feed
127.0.0.1 feed.hae.int feed
END DEBUG information
Quitting the upgrade. It was a nice try tho...
so how do i get back to the "before upgrade attempt" ?