Welcome! Log In Create A New Profile

Advanced

[SOLVED] Problems updating LG N1T1 NAS to new Kirkwood packages

Posted by raffe 
[SOLVED] Problems updating LG N1T1 NAS to new Kirkwood packages
April 05, 2024 08:13AM
Hi!
I had some problems a few months ago when I tried to update my LG N1T1 NAS from 6.5.7 to 6.6.3, it would not boot with the new uImage and uInitrd. It stopped just after reading them.

After I tried both 6.3.5 and 6.5.7 (the last several times) and got same problems. I also added
MODULES=dep
to the file /etc/initramfs-tools/initramfs.conf and that setting is still there.

Then I got no more time, so I used my backup Linux debian 4.12.1-kirkwood-tld-1 and then it booted OK.

The unit is off site and tomorrow I will go there and try again, this time with 6.7.5.

I have been updating the same way since 5.6.5. For tomorrow, is there anything you heard about that could be the problem?
Last I tried this:
su -
cd /boot
mkdir ./backup/2024-01-02/
cp -a uImage uInitrd ./backup/2024-01-02/
cp -a initrd.img-6.5.7-kirkwood-tld-1 backup/2024-01-02/
cp -a System.map-6.5.7-kirkwood-tld-1 backup/2024-01-02/
cp -a vmlinuz-6.5.7-kirkwood-tld-1 backup/2024-01-02/
cp -a config-6.5.7-kirkwood-tld-1 backup/2024-01-02/
cp -ra dts/ backup/2024-01-02/dts 
wget https://bit.ly/3T5WUwM
mv 3T5WUwM linux-6.6.3-kirkwood-tld-1-bodhi.tar.bz2
tar -vxjf linux-6.6.3-kirkwood-tld-1-bodhi.tar.bz2
tar -xf  linux-dtb-6.6.3-kirkwood-tld-1.tar
apt-get remove flash-kernel 
dpkg -i linux-image-6.6.3-kirkwood-tld-1_1_armel.deb
cp -a zImage-6.6.3-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-n1t1.dtb >> zImage.fdt

ls -lh initrd.img-6.6.3-kirkwood-tld-1
update-initramfs -u
ls -lh initrd.img-6.6.3-kirkwood-tld-1

mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.6.3-kirkwood-tld-1 -d zImage.fdt uImage

mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.6.3-kirkwood-tld-1 -d initrd.img-6.6.3-kirkwood-tld-1 uInitrd

sync 
sync
sync
shutdown -r now
su -
cd /boot
rm config-6.5.7-kirkwood-tld-1
rm initrd.img-6.5.7-kirkwood-tld-1
rm linux-6.5.7-kirkwood-tld-1-bodhi.tar.bz2
rm linux-6.5.7-kirkwood-tld-1.patch
rm linux-dtb-6.5.7-kirkwood-tld-1.tar
rm linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb
rm linux-image-6.5.7-kirkwood-tld-1_1_armel.deb
rm System.map-6.5.7-kirkwood-tld-1
rm vmlinuz-6.5.7-kirkwood-tld-1
rm zImage-6.5.7-kirkwood-tld-1
Before did like this
su -
cd /boot
mkdir ./backup/2023-11-10/
cp -a uImage uInitrd ./backup/2023-11-10/
cp -a initrd.img-6.4.11-kirkwood-tld-1 backup/2023-11-10/
cp -a System.map-6.4.11-kirkwood-tld-1 backup/2023-11-10/
cp -a vmlinuz-6.4.11-kirkwood-tld-1 backup/2023-11-10/
cp -a config-6.4.11-kirkwood-tld-1 backup/2023-11-10/
cp -ra dts/ backup/2023-11-10/dts 
wget https://bit.ly/3QpldDY
mv 3QpldDY linux-6.5.7-kirkwood-tld-1-bodhi.tar.bz2
tar -vxjf linux-6.5.7-kirkwood-tld-1-bodhi.tar.bz2
tar -xf  linux-dtb-6.5.7-kirkwood-tld-1.tar
apt-get remove flash-kernel 
dpkg -i linux-image-6.5.7-kirkwood-tld-1_1_armel.deb
cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-n1t1.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.5.7-kirkwood-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.5.7-kirkwood-tld-1 -d initrd.img-6.5.7-kirkwood-tld-1 uInitrd
sync 
sync
sync
shutdown -r now
su -
cd /boot
rm config-6.4.11-kirkwood-tld-1
rm initrd.img-6.4.11-kirkwood-tld-1
rm linux-6.4.11-kirkwood-tld-1-bodhi.tar.bz2
rm linux-6.4.11-kirkwood-tld-1.patch
rm linux-dtb-6.4.11-kirkwood-tld-1.tar
rm linux-headers-6.4.11-kirkwood-tld-1_1_armel.deb
rm linux-image-6.4.11-kirkwood-tld-1_1_armel.deb
rm System.map-6.4.11-kirkwood-tld-1
rm vmlinuz-6.4.11-kirkwood-tld-1
rm zImage-6.4.11-kirkwood-tld-1
If it makes a difference, I have today
root@debian:~# cat /etc/apt/sources.list
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free

deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
Should I change bullseye to stable and try aptitude safe-upgrade ?



Edited 4 time(s). Last edit at 05/04/2024 05:12PM by raffe.
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 05, 2024 02:20PM
Hi raffe,

> I had some problems a few months ago when I tried
> to update my LG N1T1 NAS from 6.5.7 to 6.6.3, it
> would not boot with the new uImage and uInitrd. It
> stopped just after reading them.

The problem is that the kernel has not started.

> Should I change bullseye to stable
> and try aptitude safe-upgrade ?

It is not in Debian yet, so upgrading will not help. bullseye should be OK with the newer kernel. At one point in the future, you would want to upgrade to bookworm, though.

For now, try install the latest kernel (6.7.5). Boot with serial console connected and if it stops, post the entire boot log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 06, 2024 07:57AM
It stops here:
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** LGE-NAS BOARD: NT1 LE 

U-Boot 1.1.4 (May 21 2011 - 03:56:55)NT1

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 15 tRCD=5
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
[512kB@f8000000] Flash: 512 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
 Normal mode : lg_bootmode = 0 
Hit any key to stop autoboot:  0 
Unknown command 'console=ttyS0,115200' - try 'help'
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number

Reset IDE: 
Marvell Serial ATA Adapter, MAX_DEVICE=32
Integrated Sata device found
Channel 0/2 is connected ... 
This is ATA Disk at channel 0
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: WDC WD60EFRX-68L0BN1                     Firm: 82.00A82 Ser#:      WD-WX11D3744NZT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 5723166.5 MB = 5589.0 GB ( Block : 512)
Channel 1/2 is connected ... 
eDmaRegsOffset1 = 24000, eDmaRegsOffset4 = 6002c0,
 SEC_CNT:01, SEC_NUM:01, CYL_LOW:14, CYL_HIGH:eb
ATAPI Indentify Command Done


6389784 bytes read

4869532 bytes read
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = e0c61fbd
hdr->ih_time = 5f451166, hdr->ih_size = 00617fd8
hdr->ih_load = 00800000, hdr->ih_ep = 00800000
hdr->ih_dcrc = cef430bd
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 02, hdr->ih_comp = 00
hdr->ih_name = Linux-6.7.5-kirkwood-tld-1

   Image Name:   Linux-6.7.5-kirkwood-tld-1
   Created:      2024-04-06  12:51:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6389720 Bytes =  6.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
Boot with old
�Normal mode boot start! 

 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** LGE-NAS BOARD: NT1 LE 

U-Boot 1.1.4 (May 21 2011 - 03:56:55)NT1

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 15 tRCD=5
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
[512kB@f8000000] Flash: 512 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
 Normal mode : lg_bootmode = 0 
Hit any key to stop autoboot:  0 
Unknown command 'console=ttyS0,115200' - try 'help'
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number

Reset IDE: 
Marvell Serial ATA Adapter, MAX_DEVICE=32
Integrated Sata device found
Channel 0/2 is connected ... 
This is ATA Disk at channel 0
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: WDC WD60EFRX-68L0BN1                     Firm: 82.00A82 Ser#:      WD-WX11D3744NZT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 5723166.5 MB = 5589.0 GB ( Block : 512)
Channel 1/2 is connected ... 
eDmaRegsOffset1 = 24000, eDmaRegsOffset4 = 6002c0,
 SEC_CNT:01, SEC_NUM:01, CYL_LOW:14, CYL_HIGH:eb
ATAPI Indentify Command Done


3833938 bytes read

7245696 bytes read
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = 85765957
hdr->ih_time = 91cd335a, hdr->ih_size = 003a8012
hdr->ih_load = 00800000, hdr->ih_ep = 00800000
hdr->ih_dcrc = 782af5e6
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 02, hdr->ih_comp = 00
hdr->ih_name = Linux-4.12.1-kirkwood-tld-1

   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-12-15  13:26:41 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3833874 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000, header_addr = 0068dcdc, header_size = 00000040 ...
RAMdisk image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = 54ee2b5c
hdr->ih_time = cf3c7559, hdr->ih_size = 006e8f40
hdr->ih_load = 00000000, hdr->ih_ep = 00000000
hdr->ih_dcrc = 4887aca3
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 03, hdr->ih_comp = 01
hdr->ih_name = initramfs-4.12.1-kirkwood-tld-1

   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes =  6.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: LG N1T1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007908] Switching to timer-based delay loop, resolution 5ns
[    0.014409] Console: colour dummy device 80x30
[    0.018996] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.029610] pid_max: default: 32768 minimum: 301
[    0.034510] Security Framework initialized
[    0.038851] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045534] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053639] CPU: Testing write buffer coherency: ok
[    0.059724] Setting up static identity map for 0x100000 - 0x100058
[    0.066241] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.075138] devtmpfs: initialized
[    0.083779] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.093751] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.100396] prandom: seed boundary self test passed
[    0.109855] prandom: 100 self tests passed
[    0.114029] pinctrl core: initialized pinctrl subsystem
[    0.120626] NET: Registered protocol family 16
[    0.125695] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.134452] cpuidle: using governor ladder
[    0.138757] cpuidle: using governor menu
[    0.143246] Feroceon L2: Enabling L2
[    0.146932] Feroceon L2: Cache support initialised.
[    0.152301] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.169145] No ATAGs?
[    0.180355] vgaarb: loaded
[    0.185838] SCSI subsystem initialized
[    0.190279] usbcore: registered new interface driver usbfs
[    0.195922] usbcore: registered new interface driver hub
[    0.201447] usbcore: registered new device driver usb
[    0.207880] clocksource: Switched to clocksource orion_clocksource
[    0.320636] VFS: Disk quotas dquot_6.6.0
[    0.324709] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.344323] NET: Registered protocol family 2
[    0.349667] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356706] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.363171] TCP: Hash tables configured (established 1024 bind 1024)
[    0.369705] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.375618] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.382172] NET: Registered protocol family 1
[    0.387079] RPC: Registered named UNIX socket transport module.
[    0.393149] RPC: Registered udp transport module.
[    0.397957] RPC: Registered tcp transport module.
[    0.402722] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.409515] Unpacking initramfs...
[    1.188979] Freeing initrd memory: 7076K
[    1.193154] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.200917] audit: initializing netlink subsys (disabled)
[    1.206919] Initialise system trusted keyrings
[    1.211497] audit: type=2000 audit(1.188:1): state=initialized audit_enabled=0 res=1
[    1.219377] Key type blacklist registered
[    1.223618] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.230267] zbud: loaded
[    1.234016] NFS: Registering the id_resolver key type
[    1.239243] Key type id_resolver registered
[    1.243497] Key type id_legacy registered
[    1.247589] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.254402] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.261065] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.268411] fuse init (API version 7.26)
[    1.272776] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.279545] orangefs_init: module version upstream loaded
[    1.285005] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.567888] random: fast init done
[    8.310762] Key type asymmetric registered
[    8.314933] Asymmetric key parser 'x509' registered
[    8.320170] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    8.327617] io scheduler noop registered
[    8.331687] io scheduler deadline registered
[    8.336099] io scheduler cfq registered (default)
[    8.342375] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    8.351985] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.418799] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.426685] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.488784] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.496922] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.504872] console [ttyS0] disabled
[    8.508660] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.517705] console [ttyS0] enabled
[    8.517705] console [ttyS0] enabled
[    8.524853] bootconsole [earlycon0] disabled
[    8.524853] bootconsole [earlycon0] disabled
[    8.543741] loop: module loaded
[    8.547569] sata_mv f1080000.sata: slots 32 ports 2
[    8.555849] scsi host0: sata_mv
[    8.559573] scsi host1: sata_mv
[    8.563034] ata1: SATA max UDMA/133 irq 33
[    8.567151] ata2: SATA max UDMA/133 irq 33
[    8.573143] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    8.578055] 1 ofpart partitions found on MTD device spi0.0
[    8.583568] Creating 1 MTD partitions on "spi0.0":
[    8.588416] 0x000000000000-0x000000080000 : "u-boot"
[    8.596260] libphy: Fixed MDIO Bus: probed
[    8.601441] libphy: orion_mdio_bus: probed
[    8.611363] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.067920] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.088089] ata1.00: ATA-9: WDC WD60EFRX-68L0BN1, 82.00A82, max UDMA/133
[    9.094825] ata1.00: 11721045168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.110493] ata1.00: configured for UDMA/133
[    9.138286] scsi 0:0:0:0: Direct-Access     ATA      WDC WD60EFRX-68L 0A82 PQ: 0 ANSI: 5
[    9.147810] sd 0:0:0:0: [sda] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
[    9.157339] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.168020] sd 0:0:0:0: [sda] Write Protect is off
[    9.178004] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.240258]  sda: sda1 sda2 sda3
[    9.249808] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.647918] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.678016] ata2.00: ATAPI: HL-DT-STDVDRAM GA31N, T108, max UDMA/100
[    9.710237] ata2.00: configured for UDMA/100
[    9.805694] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:e0:91:81:5f:c4
[    9.814725] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.821669] ehci-pci: EHCI PCI platform driver
[    9.826309] ehci-orion: EHCI orion driver
[    9.830495] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVDRAM GA31N     T108 PQ: 0 ANSI: 5
[    9.839136] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.844685] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.853165] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    9.888762] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.895069] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    9.901940] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.909228] usb usb1: Product: EHCI Host Controller
[    9.914129] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[    9.920884] usb usb1: SerialNumber: f1050000.ehci
[    9.926363] hub 1-0:1.0: USB hub found
[    9.930244] hub 1-0:1.0: 1 port detected
[    9.934915] usbcore: registered new interface driver usb-storage
[    9.941420] mousedev: PS/2 mouse device common for all mice
[    9.947685] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    9.954843] i2c /dev entries driver
[    9.960352] hidraw: raw HID events driver (C) Jiri Kosina
[    9.966231] drop_monitor: Initializing network drop monitor service
[    9.972869] NET: Registered protocol family 17
[    9.977424] Key type dns_resolver registered
[    9.982707] registered taskstats version 1
[    9.986825] Loading compiled-in X.509 certificates
[    9.991739] zswap: loaded using pool lzo/zbud
[   10.007626] Key type big_key registered
[   10.022546] Key type encrypted registered
[   10.028370] rtc-mv f1010300.rtc: setting system clock to 2024-04-06 12:33:03 UTC (1712406783)
[   10.041975] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[   10.658114] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[   10.666811] cdrom: Uniform CD-ROM driver Revision: 3.20
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   21.966090] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   21.994958] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   25.287280] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   25.595608] marvell-cesa f1030000.crypto: CESA device successfully registered
[   25.684953] orion_wdt: Initial timeout 21 sec
[   25.838637] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   25.882451] sr 1:0:0:0: Attached scsi generic sg1 type 5
[   26.388094] random: crng init done
done.
Activating swap:swapon: /dev/sda2: found[   28.233723] Adding 523260k swap on /dev/sda2.  Priority:-1 extents:1 across:523260k FS
 signature [pagesize=4096, signature=swap]
swapon: /dev/sda2: pagesize=4096, swapsize=535822336, devsize=535822336
swapon /dev/sda2
.
[   28.524623] EXT4-fs (sda1): re-mounted. Opts: (null)
Will now check root file system:[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 104426/5865472 files, 1576748/23442176 blocks
.
[   29.368102] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
/dev/sda3 is not mounted
[/sbin/fsck.ext4 (1) -- /media/data] fsck.ext4 -y -C0 /dev/sda3 
e2fsck 1.46.2 (28-Feb-2021)
[   31.942807] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
data: clean, 23018339/180195328 files, 376433052/1441557248 blocks
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
[   44.747604] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /dev/sda2: already active -- ignored
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlx00179ab0be03
failed.
[   47.154709] NET: Registered protocol family 10
[   47.160696] Segment Routing with IPv6
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
Setting up X socket directories...
 /tmp/.X11-unix
 /tmp/.ICE-unix
.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
[   48.562998] Process accounting resumed
Not running dhcpcd because /etc/network/interfaces ... failed!
defines some interfaces that will use a DHCP client ... failed!
Starting Glances server: glances Not starting glances: disabled by /etc/default/glances..
Starting the hd-idle daemon: hd-idle.
Starting NFS common utilities: statd idmapd.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting enhanced syslogd: rsyslogd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting: esekeyd not yet configured: Enable ESE Key Daemon first by editing /etc/default/esekeyd:.
Starting Authentication failure monitor: fail2ban
.
Starting NetBIOS name server: nmbd.
Starting Name Service Cache Daemon: nscd.
Starting periodic command scheduler: cron.
Starting NTP server: ntpd.
Starting virtual private network daemon:.
Starting Mail Transport Agent (MTA): sendmailmake: *** No rule to make target '/usr/share/sendmail/cf/m4/cf.m4', needed by '/etc/mail/databases'.  Stop.
Starting OpenBSD Secure Shell server: sshd.
Starting SMB/CIFS daemon: smbd.
Running local boot scripts (/etc/rc.local)
ESE Key Deamon 1.2.7 (SVN-r63)
Stopping OpenVPN, if it has problems
=============================================== 
Checking process before starting to kill it with: ps -ef | grep open
root      1460  1457  1 14:33 ?        00:00:00 /usr/sbin/openvpn --log /var/log
root      1461  1457  0 14:34 ?        00:00:00 /bin/sh /root/restart-openvpn.sh
root      1463  1461  0 14:34 ?        00:00:00 grep open
 
Killing OpenVPN processes with: killall -SIGINT openvpn (wait...)
Sleeping 10 seconds...
 
Checking process after trying to kill it: ps -ef | grep open
root      1461  1457  0 14:34 ?        00:00:00 /bin/sh /root/restart-openvpn.sh
root      1470  1461  0 14:34 ?        00:00:00 grep open
 
Flush DNS Cache: /etc/init.d/nscd restart 
Restarting Name Service Cache Daemon: nscd
.
 
Starting OpenVPN
=============================================== 
Running OpenVPN daemon start command with:
openvpn --log /var/log/openvpn.log --config /etc/openvpn/SyncToy/SyncToy-TO-IPFire.ovpn --daemon
Sleeping 20 seconds...
[   79.968281] tun: Universal TUN/TAP device driver, 1.6
Checking process after starting it: ps -ef | grep open
root      1461  1457  0 14:34 ?        00:00:00 /bin/sh /root/restart-openvpn.sh
root      1500     1  2 14:34 ?        00:00:00 openvpn --log /var/log/openvpn.l
root      1508  1461  0 14:34 ?        00:00:00 grep open
 
Done starting OpenVPN 
 
startpar: service(s) returned failure: sendmail ... failed!
startpar: service(s) skipped, program is not configured: dhcpcd ... (warning).

Debian GNU/Linux 11 debian ttyS0

Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 06, 2024 08:20AM
Also tried with MODULES=most
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** LGE-NAS BOARD: NT1 LE 

U-Boot 1.1.4 (May 21 2011 - 03:56:55)NT1

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 15 tRCD=5
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
[512kB@f8000000] Flash: 512 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
 Normal mode : lg_bootmode = 0 
Hit any key to stop autoboot:  0 
Unknown command 'console=ttyS0,115200' - try 'help'
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number

Reset IDE: 
Marvell Serial ATA Adapter, MAX_DEVICE=32
Integrated Sata device found
Channel 0/2 is connected ... 
This is ATA Disk at channel 0
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: WDC WD60EFRX-68L0BN1                     Firm: 82.00A82 Ser#:      WD-WX11D3744NZT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 5723166.5 MB = 5589.0 GB ( Block : 512)
Channel 1/2 is connected ... 
eDmaRegsOffset1 = 24000, eDmaRegsOffset4 = 6002c0,
 SEC_CNT:01, SEC_NUM:01, CYL_LOW:14, CYL_HIGH:eb
ATAPI Indentify Command Done


6389784 bytes read

11654773 bytes read
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = 0ee9f094
hdr->ih_time = f04e1166, hdr->ih_size = 00617fd8
hdr->ih_load = 00800000, hdr->ih_ep = 00800000
hdr->ih_dcrc = cef430bd
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 02, hdr->ih_comp = 00
hdr->ih_name = Linux-6.7.5-kirkwood-tld-1

   Image Name:   Linux-6.7.5-kirkwood-tld-1
   Created:      2024-04-06  13:32:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6389720 Bytes =  6.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK


Tried a backup from 2023-11-10 with 6.4.11 and it works. So this is what I have now
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** LGE-NAS BOARD: NT1 LE 

U-Boot 1.1.4 (May 21 2011 - 03:56:55)NT1

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 15 tRCD=5
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
[512kB@f8000000] Flash: 512 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
 Normal mode : lg_bootmode = 0 
Hit any key to stop autoboot:  0 
Unknown command 'console=ttyS0,115200' - try 'help'
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number

Reset IDE: 
Marvell Serial ATA Adapter, MAX_DEVICE=32
Integrated Sata device found
Channel 0/2 is connected ... 
This is ATA Disk at channel 0
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: WDC WD60EFRX-68L0BN1                     Firm: 82.00A82 Ser#:      WD-WX11D3744NZT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 5723166.5 MB = 5589.0 GB ( Block : 512)
Channel 1/2 is connected ... 
eDmaRegsOffset1 = 24000, eDmaRegsOffset4 = 6002c0,
 SEC_CNT:01, SEC_NUM:01, CYL_LOW:14, CYL_HIGH:eb
ATAPI Indentify Command Done


6189544 bytes read

11717862 bytes read
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = 852c70a4
hdr->ih_time = a6791265, hdr->ih_size = 005e71a8
hdr->ih_load = 00800000, hdr->ih_ep = 00800000
hdr->ih_dcrc = f15695c1
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 02, hdr->ih_comp = 00
hdr->ih_name = Linux-6.4.11-kirkwood-tld-1

   Image Name:   Linux-6.4.11-kirkwood-tld-1
   Created:      2023-09-26   6:26:46 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6189480 Bytes =  5.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000, header_addr = 0068dcdc, header_size = 00000040 ...
RAMdisk image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = 3c577012
hdr->ih_time = 267c1265, hdr->ih_size = 00b2cca6
hdr->ih_load = 00000000, hdr->ih_ep = 00000000
hdr->ih_dcrc = f5da74b0
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 03, hdr->ih_comp = 01
hdr->ih_name = initramfs-6.4.11-kirkwood-tld-1

   Image Name:   initramfs-6.4.11-kirkwood-tld-1
   Created:      2023-09-26   6:37:26 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11717798 Bytes = 11.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.4.11-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Sat Aug 19 17:19:18 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: LG N1T1
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 96748K/131072K available (12288K kernel code, 1738K rwdata, 5340K rodata, 1024K init, 303K bss, 34324K reserved, 0K cma-reserved)
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] 	Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0] 	Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008541][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.017354][    T0] Console: colour dummy device 80x30
[    0.022610][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.033860][    T0] CPU: Testing write buffer coherency: ok
[    0.039611][    T0] pid_max: default: 32768 minimum: 301
[    0.045769][    T0] LSM: initializing lsm=capability,integrity
[    0.052122][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060179][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.075106][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.083112][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.090308][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.098221][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.105520][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.112826][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.119158][    T1] rcu: Hierarchical SRCU implementation.
[    0.124642][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.132601][    T1] devtmpfs: initialized
[    0.148187][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.158823][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.166822][    T1] prandom: seed boundary self test passed
[    0.177525][    T1] prandom: 100 self tests passed
[    0.182361][    T1] pinctrl core: initialized pinctrl subsystem
[    0.191659][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.200072][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.209576][    T1] audit: initializing netlink subsys (disabled)
[    0.217829][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.217996][    T1] cpuidle: using governor ladder
[    0.229594][   T18] audit: type=2000 audit(0.190:1): state=initialized audit_enabled=0 res=1
[    0.238123][    T1] cpuidle: using governor menu
[    0.243528][    T1] Feroceon L2: Enabling L2
[    0.247829][    T1] Feroceon L2: Cache support initialised.
[    0.266639][    T1] No ATAGs?
[    0.628563][    T1] raid6: int32x8  gen()    92 MB/s
[    0.968559][    T1] raid6: int32x4  gen()    89 MB/s
[    1.308591][    T1] raid6: int32x2  gen()   113 MB/s
[    1.648559][    T1] raid6: int32x1  gen()    84 MB/s
[    1.653513][    T1] raid6: using algorithm int32x2 gen() 113 MB/s
[    2.008562][    T1] raid6: .... xor() 72 MB/s, rmw enabled
[    2.014043][    T1] raid6: using intx1 recovery algorithm
[    2.029999][    T1] SCSI subsystem initialized
[    2.049188][    T1] usbcore: registered new interface driver usbfs
[    2.055501][    T1] usbcore: registered new interface driver hub
[    2.068643][    T1] usbcore: registered new device driver usb
[    2.074817][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.088565][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.098394][    T1] PTP clock support registered
[    2.131227][    T1] vgaarb: loaded
[    2.135630][    T1] clocksource: Switched to clocksource orion_clocksource
[    2.157348][    T1] VFS: Disk quotas dquot_6.6.0
[    2.162054][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.212073][    T1] NET: Registered PF_INET protocol family
[    2.226003][    T1] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    2.246490][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.265921][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.274360][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.295683][    T1] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    2.303432][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[    2.326121][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.334126][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.355720][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.363723][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.386724][    T1] RPC: Registered named UNIX socket transport module.
[    2.393322][    T1] RPC: Registered udp transport module.
[    2.415657][    T1] RPC: Registered tcp transport module.
[    2.421048][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.435673][    T1] PCI: CLS 0 bytes, default 32
[    2.447717][    T9] Trying to unpack rootfs image as initramfs...
[    4.952869][    T9] Freeing initrd memory: 11444K
[    5.285987][    T1] Initialise system trusted keyrings
[    5.291344][    T1] Key type blacklist registered
[    5.297739][    T1] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    5.305061][    T1] zbud: loaded
[    5.311609][    T1] NFS: Registering the id_resolver key type
[    5.317496][    T1] Key type id_resolver registered
[    5.322360][    T1] Key type id_legacy registered
[    5.327166][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    5.334556][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    5.343299][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    5.351706][    T1] fuse: init (API version 7.38)
[    5.357066][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    5.364533][    T1] orangefs_init: module version upstream loaded
[    5.371104][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    5.499452][    T1] xor: measuring software checksum speed
[    5.515666][    T1]    arm4regs        :   922 MB/sec
[    5.538325][    T1]    8regs           :   559 MB/sec
[    5.555800][    T1]    32regs          :   793 MB/sec
[    5.560840][    T1] xor: using function: arm4regs (922 MB/sec)
[    5.566688][    T1] async_tx: api initialized (async)
[    5.571739][    T1] Key type asymmetric registered
[    5.576540][    T1] Asymmetric key parser 'x509' registered
[    5.632330][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    5.640905][    T1] io scheduler bfq registered
[    5.871000][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    5.881376][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    5.892357][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    5.903723][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.977341][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.990812][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.057387][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.071141][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.080574][    T1] printk: console [ttyS0] disabled
[    6.085748][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    6.095447][    T1] printk: console [ttyS0] enabled
[    6.095447][    T1] printk: console [ttyS0] enabled
[    6.105336][    T1] printk: bootconsole [earlycon0] disabled
[    6.105336][    T1] printk: bootconsole [earlycon0] disabled
[    6.150661][    T1] loop: module loaded
[    6.155874][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    6.167197][    T1] scsi host0: sata_mv
[    6.172254][    T1] scsi host1: sata_mv
[    6.176674][    T1] ata1: SATA max UDMA/133 irq 28
[    6.181503][    T1] ata2: SATA max UDMA/133 irq 28
[    6.189370][    T1] spi-nor spi0.0: mx25l4005a (512 Kbytes)
[    6.195212][    T1] 1 fixed-partitions partitions found on MTD device spi0.0
[    6.202428][    T1] Creating 1 MTD partitions on "spi0.0":
[    6.208033][    T1] 0x000000000000-0x000000080000 : "u-boot"
[    6.215215][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    6.223850][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    6.260077][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.685682][   T50] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.695197][   T50] ata1.00: ATA-9: WDC WD60EFRX-68L0BN1, 82.00A82, max UDMA/133
[    6.702678][   T50] ata1.00: 11721045168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.712939][   T50] ata1.00: configured for UDMA/133
[    6.728525][   T28] scsi 0:0:0:0: Direct-Access     ATA      WDC WD60EFRX-68L 0A82 PQ: 0 ANSI: 5
[    6.739288][    T9] sd 0:0:0:0: [sda] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
[    6.748639][    T9] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    6.754742][    T9] sd 0:0:0:0: [sda] Write Protect is off
[    6.760483][    T9] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.770501][    T9] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    6.841466][    T9]  sda: sda1 sda2 sda3
[    6.847000][    T9] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.997201][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:e0:91:81:5f:c4
[    7.007451][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.013773][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.023046][    T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    7.055663][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.062870][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.04
[    7.071953][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.080034][    T1] usb usb1: Product: EHCI Host Controller
[    7.085669][    T1] usb usb1: Manufacturer: Linux 6.4.11-kirkwood-tld-1 ehci_hcd
[    7.093117][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.099723][    T1] hub 1-0:1.0: USB hub found
[    7.104260][    T1] hub 1-0:1.0: 1 port detected
[    7.110179][    T1] usbcore: registered new interface driver usb-storage
[    7.117774][    T1] mousedev: PS/2 mouse device common for all mice
[    7.125965][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.131605][    T1] rtc-mv f1010300.rtc: setting system clock to 2024-04-06T13:18:08 UTC (1712409488)
[    7.142211][    T1] i2c_dev: i2c /dev entries driver
[    7.148477][    T1] device-mapper: uevent: version 1.0.3
[    7.154351][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    7.164431][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.171791][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.179184][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.186688][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.196021][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    7.202889][    T1] hid: raw HID events driver (C) Jiri Kosina
[    7.209275][    T1] drop_monitor: Initializing network drop monitor service
[    7.217071][    T1] NET: Registered PF_INET6 protocol family
[    7.225297][    T1] Segment Routing with IPv6
[    7.229802][    T1] RPL Segment Routing with IPv6
[    7.234643][    T1] In-situ OAM (IOAM) with IPv6
[    7.239499][    T1] NET: Registered PF_PACKET protocol family
[    7.245703][   T52] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    7.253005][    T1] Key type dns_resolver registered
[    7.265756][   T52] ata2.00: ATAPI: HL-DT-STDVDRAM GA31N, T108, max UDMA/100
[    7.286718][    T1] registered taskstats version 1
[    7.291730][    T1] Loading compiled-in X.509 certificates
[    7.298025][    T1] Key type .fscrypt registered
[    7.302857][   T52] ata2.00: configured for UDMA/100
[    7.308121][    T1] Key type fscrypt-provisioning registered
[    7.322161][    T1] Key type big_key registered
[    7.371500][    T1] Key type encrypted registered
[    7.385954][   T17] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVDRAM GA31N     T108 PQ: 0 ANSI: 5
[    7.505916][  T102] "cryptomgr_test" (102) uses obsolete ecb(arc4) skcipher
[   10.231365][    T1] clk: Disabling unused clocks
[   10.240064][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   10.256580][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.263002][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-7+deb11u4
[   11.301329][  T140] input: input_set_capability: invalid code 478 for type 5
[   11.405714][  T140] CPU: 0 PID: 140 Comm: systemd-udevd Not tainted 6.4.11-kirkwood-tld-1 #1 675cc6ee9e048034fbdd303acdeebc9e4a78538a
[   11.417810][  T140] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   11.424819][  T140]  unwind_backtrace from show_stack+0x10/0x14
[   11.430802][  T140]  show_stack from dump_stack_lvl+0x28/0x30
[   11.436601][  T140]  dump_stack_lvl from gpio_keys_probe+0x610/0x814 [gpio_keys]
[   11.444102][  T140]  gpio_keys_probe [gpio_keys] from platform_probe+0x58/0xac
[   11.451417][  T140]  platform_probe from really_probe+0x188/0x394
[   11.457564][  T140]  really_probe from __driver_probe_device+0x1a0/0x1d0
[   11.464322][  T140]  __driver_probe_device from driver_probe_device+0x30/0xb0
[   11.471524][  T140]  driver_probe_device from __driver_attach+0x130/0x15c
[   11.478369][  T140]  __driver_attach from bus_for_each_dev+0x78/0xbc
[   11.484778][  T140]  bus_for_each_dev from bus_add_driver+0xc0/0x1dc
[   11.491189][  T140]  bus_add_driver from driver_register+0xb8/0x100
[   11.497510][  T140]  driver_register from do_one_initcall+0x90/0x1d8
[   11.503919][  T140]  do_one_initcall from do_init_module+0x4c/0x1d0
[   11.510251][  T140]  do_init_module from sys_finit_module+0xf8/0x110
[   11.516667][  T140]  sys_finit_module from ret_fast_syscall+0x0/0x44
[   11.523075][  T140] Exception stack(0x89771fa8 to 0x89771ff0)
[   11.528865][  T140] 1fa0:                   76f9a13c 7edf0698 00000005 76f98f38 00000000 76f99cb0
[   11.537795][  T140] 1fc0: 76f9a13c 7edf0698 3aa4e000 0000017b 0250c768 0055356f 005535e0 0250bf68
[   11.546720][  T140] 1fe0: 7edf0620 7edf0610 76f90c64 76e34940
[   11.875917][  T144] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[   11.913851][  T144] cdrom: Uniform CD-ROM driver Revision: 3.20
[   12.196038][  T140] input: input_set_capability: invalid code 479 for type 5
[   12.203154][  T140] CPU: 0 PID: 140 Comm: systemd-udevd Not tainted 6.4.11-kirkwood-tld-1 #1 675cc6ee9e048034fbdd303acdeebc9e4a78538a
[   12.215226][  T140] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   12.222234][  T140]  unwind_backtrace from show_stack+0x10/0x14
[   12.228220][  T140]  show_stack from dump_stack_lvl+0x28/0x30
[   12.234020][  T140]  dump_stack_lvl from gpio_keys_probe+0x610/0x814 [gpio_keys]
[   12.241520][  T140]  gpio_keys_probe [gpio_keys] from platform_probe+0x58/0xac
[   12.248836][  T140]  platform_probe from really_probe+0x188/0x394
[   12.254991][  T140]  really_probe from __driver_probe_device+0x1a0/0x1d0
[   12.261748][  T140]  __driver_probe_device from driver_probe_device+0x30/0xb0
[   12.268942][  T140]  driver_probe_device from __driver_attach+0x130/0x15c
[   12.275787][  T140]  __driver_attach from bus_for_each_dev+0x78/0xbc
[   12.282197][  T140]  bus_for_each_dev from bus_add_driver+0xc0/0x1dc
[   12.288606][  T140]  bus_add_driver from driver_register+0xb8/0x100
[   12.294928][  T140]  driver_register from do_one_initcall+0x90/0x1d8
[   12.301337][  T140]  do_one_initcall from do_init_module+0x4c/0x1d0
[   12.307668][  T140]  do_init_module from sys_finit_module+0xf8/0x110
[   12.314085][  T140]  sys_finit_module from ret_fast_syscall+0x0/0x44
[   12.320493][  T140] Exception stack(0x89771fa8 to 0x89771ff0)
[   12.326283][  T140] 1fa0:                   76f9a13c 7edf0698 00000005 76f98f38 00000000 76f99cb0
[   12.335213][  T140] 1fc0: 76f9a13c 7edf0698 3aa4e000 0000017b 0250c768 0055356f 005535e0 0250bf68
[   12.344138][  T140] 1fe0: 7edf0620 7edf0610 76f90c64 76e34940
[   12.534710][  T140] input: gpio-keys as /devices/platform/gpio-keys/input/input0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 107671/5865472 files, 1634187/23442176 blocks
done.
[   24.368426][  T178] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   24.488153][  T178] EXT4-fs (sda1): mounted filesystem b359bc6b-e3a7-48f4-bd4b-f1a9a2c96a92 ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   28.742792][  T367] orion_wdt: Initial timeout 21 sec
[   29.297952][  T362] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   29.395913][  T362] sr 1:0:0:0: Attached scsi generic sg1 type 5
[   29.565043][  T371] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
Activating swap:swapon: /dev/sda2: found[   31.533440][  T527] Adding 523260k swap on /dev/sda2.  Priority:-2 extents:1 across:523260k FS
 signature [pagesize=4096, signature=swap]
swapon: /dev/sda2: pagesize=4096, swapsize=535822336, devsize=535822336
swapon /dev/sda2
.
[   31.818238][  T541] EXT4-fs (sda1): re-mounted b359bc6b-e3a7-48f4-bd4b-f1a9a2c96a92 r/w. Quota mode: none.
[   32.745751][    C0] random: crng init done
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
/dev/sda3 is not mounted
[/sbin/fsck.ext4 (1) -- /media/data] fsck.ext4 -y -C0 /dev/sda3 
e2fsck 1.46.2 (28-Feb-2021)
[   35.124821][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   35.135592][  T148] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
data: clean, 23018339/180195328 files, 376433052/1441557248 blocks
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
[   48.525530][  T844] EXT4-fs (sda3): mounted filesystem 1dd30f53-527d-467e-83f4-23c09f1fa5c3 r/w with ordered data mode. Quota mode: none.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /dev/sda2: already active -- ignored
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
[   50.639358][ T1027] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   50.805767][ T1027] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   50.821389][   T47] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   50.845850][   T47] cfg80211: failed to load regulatory.db
Configuring network interfaces...wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlx00179ab0be03
failed.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix
.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
[   53.347256][ T1194] Process accounting resumed
Not running dhcpcd because /etc/network/interfaces ... failed!
defines some interfaces that will use a DHCP client ... failed!
Starting Glances server: glances Not starting glances: disabled by /etc/default/glances..
Starting the hd-idle daemon: hd-idle.
Starting NFS common utilities: statd idmapd.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting enhanced syslogd: rsyslogd
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting: esekeyd not yet configured: Enable ESE Key Daemon first by editing /etc/default/esekeyd:.
Starting NetBIOS name server: nmbd.
Starting Name Service Cache Daemon: nscd.
Starting periodic command scheduler: cron.
Starting NTP server: ntpd.



Edited 1 time(s). Last edit at 04/06/2024 08:34AM by raffe.
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 06, 2024 03:21PM
raffe,

This might be because of this stock u-boot.

1. Do you have the original envs listing of stock u-boot (before setting up the new envs to boot Debian). Please post it here.

2. Try booting again with latest kernel 6.7.5. Power up, interrupt the u-boot count down and
printenv
And post the bootlog here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 06, 2024 04:43PM
A quick look at the various boot logs shows all images where the kernel is less than 6 MB boot successfully. The boot where kernel > 6 MB do not boot. Does the load address need to be adjusted?

Ray
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 06, 2024 06:03PM
> A quick look at the various boot logs shows all
> images where the kernel is less than 6 MB boot
> successfully. The boot where kernel > 6 MB do not
> boot. Does the load address need to be adjusted?
>
> Ray

That's what I'm thinking about, and want to see the boot log and envs. The load addresses are plenty far apart. What it could've meant is this u-boot might reserve too much memory.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/06/2024 07:16PM by bodhi.
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 07, 2024 04:23AM
The device is off site and I only had about a hour yesterday. So I can not interrupt the u-boot count down and do printenv, but I think the one here https://forum.doozan.com/read.php?2,26671,42824#msg-42824 should be very close to what I have now:
LGE-NAS>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.177.190.59
serverip=10.177.191.39
rootpath=/opt/Orion-SDK/armel-2.0/rootfs
netmask=255.255.254.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_nfs=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
boot_name=u-boot.bin
up-boot=tftp 2000000 nt/$(boot_name); sflash protect off; sflash erase all; sflash write 2000000 0 $(filesize)
root_path=root=/dev/md0 rw
read-kern=ide reset; ext2load ide 0 2000000 /boot/$(image_name);
mem-clear=mw.l 1000000 0x00000000 1000000
bootcmd_nfs=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig);  bootm 0x2000000; 
bootcmd_hdd=run read-kern; setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
bootcmd_enc=run mem-clear; set bootargs $(console) $(bootargs_ram) enclosure; ide res; ide load; bootm 1000000 2000000
bootargs_ram=root=/dev/ram0 rw
tftp-ram=tftp 1000000 nt/$(uImage-ram); tftp 2000000 nt/ramdisk_image; set bootargs $(console) $(bootargs_ram); bootm 1000000 2000000
uImage-ram=uImage-2.6.30-nt1_11_ramdisk
bootcmd_tftp=tftp 0x2000000 $(image_name); setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=00:E0:91:81:5F:C4
nas_type=0x00000110
firmware=firmware.tar.gz
bootcmd_netenc=set bootargs $(console) $(bootargs_ram) netenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootcmd_usbenc=set bootargs $(console) $(bootargs_ram) usbenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
arcNumber=1681
run_mw=mw 0x800000 0 1
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_initrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
set_mw=mw 0x800000 0 1
load_bootm=bootm 0x800000 0x2100000
load_usbuimage=ext2load usb 0:1 0x800000 /boot/uImage
load_usbuinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
bootcmd_usb=run bootargs_usb; usb start; run set_mw; run load_usbuimage; run load_usbuinitrd; run load_bootm
load_myhdduimage=ext2load ide 0:1 0x800000 /boot/uImage
load_myhdduinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd
bootcmd=run bootcmd_usb; run bootcmd_myhdd; reset
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=1
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
pcieTune=no
bootcmd_myhdd=ide reset; run set_mw; run load_myhdduimage; run load_myhdduinitrd; run load_bootm

Environment size: 3251/4092 bytes


The closest to original envs are maybe in this post https://forum.doozan.com/read.php?2,26671,42324#msg-42324 but they are after doing:
setenv console console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env)
setenv bootargs_usb root=/dev/sda1 rw rootdelay=10 rootfstype=ext3
setenv bootargs $(console) $(bootargs_usb)
Close to original:
baudrate=115200
loads_echo=0
ipaddr=10.177.190.59
serverip=10.177.191.39
rootpath=/opt/Orion-SDK/armel-2.0/rootfs
netmask=255.255.254.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_nfs=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
boot_name=u-boot.bin
up-boot=tftp 2000000 nt/$(boot_name); sflash protect off; sflash erase all; sflash write 2000000 0 $(filesize)
root_path=root=/dev/md0 rw
read-kern=ide reset; ext2load ide 0 2000000 /boot/$(image_name);
mem-clear=mw.l 1000000 0x00000000 1000000
bootcmd_nfs=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig);  bootm 0x2000000; 
bootcmd_hdd=run read-kern; setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
bootargs_usb=root=/dev/sdc2 rw rootdelay=10
bootcmd_enc=run mem-clear; set bootargs $(console) $(bootargs_ram) enclosure; ide res; ide load; bootm 1000000 2000000
bootargs_ram=root=/dev/ram0 rw
tftp-ram=tftp 1000000 nt/$(uImage-ram); tftp 2000000 nt/ramdisk_image; set bootargs $(console) $(bootargs_ram); bootm 1000000 2000000
uImage-ram=uImage-2.6.30-nt1_11_ramdisk
bootcmd=run bootcmd_hdd
bootcmd_tftp=tftp 0x2000000 $(image_name); setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=00:E0:91:81:5F:C4
nas_type=0x00000110
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
firmware=firmware.tar.gz
bootcmd_netenc=set bootargs $(console) $(bootargs_ram) netenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootcmd_usbenc=set bootargs $(console) $(bootargs_ram) usbenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootdelay=1
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
pcieTune=no

Environment size: 2366/4092 bytes

Re: Problems updating LG N1T1 NAS to new Kirkwood packages
April 07, 2024 03:39PM
raffe,

load_bootm=bootm 0x800000 0x2100000
load_usbuimage=ext2load usb 0:1 0x800000 /boot/uImage
load_usbuinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
load_myhdduimage=ext2load ide 0:1 0x800000 /boot/uImage
load_myhdduinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd
bootcmd_myhdd=ide reset; run set_mw; run load_myhdduimage; run load_myhdduinitrd; run load_bootm
bootcmd=run bootcmd_usb; run bootcmd_myhdd; reset

Based on your envs above, try this to boot the HDD rootfs:
setenv load_bootm 'bootm 0x1000000 0x3000000'
setenv load_myhdduimage 'ext2load ide 0:1 0x1000000 /boot/uImage'
setenv load_myhdduinitrd 'ext2load ide 0:1 0x3000000 /boot/uInitrd'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
May 04, 2024 05:08AM
OK, I tried. But no luck
LGE-NAS>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.177.190.59
serverip=10.177.191.39
rootpath=/opt/Orion-SDK/armel-2.0/rootfs
netmask=255.255.254.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_nfs=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
boot_name=u-boot.bin
up-boot=tftp 2000000 nt/$(boot_name); sflash protect off; sflash erase all; sflash write 2000000 0 $(filesize)
root_path=root=/dev/md0 rw
read-kern=ide reset; ext2load ide 0 2000000 /boot/$(image_name);
mem-clear=mw.l 1000000 0x00000000 1000000
bootcmd_nfs=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig);  bootm 0x2000000; 
bootcmd_hdd=run read-kern; setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
bootcmd_enc=run mem-clear; set bootargs $(console) $(bootargs_ram) enclosure; ide res; ide load; bootm 1000000 2000000
bootargs_ram=root=/dev/ram0 rw
tftp-ram=tftp 1000000 nt/$(uImage-ram); tftp 2000000 nt/ramdisk_image; set bootargs $(console) $(bootargs_ram); bootm 1000000 2000000
uImage-ram=uImage-2.6.30-nt1_11_ramdisk
bootcmd_tftp=tftp 0x2000000 $(image_name); setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=00:E0:91:81:5F:C4
nas_type=0x00000110
firmware=firmware.tar.gz
bootcmd_netenc=set bootargs $(console) $(bootargs_ram) netenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootcmd_usbenc=set bootargs $(console) $(bootargs_ram) usbenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
arcNumber=1681
run_mw=mw 0x800000 0 1
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_initrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
set_mw=mw 0x800000 0 1
load_bootm=bootm 0x800000 0x2100000
load_usbuimage=ext2load usb 0:1 0x800000 /boot/uImage
load_usbuinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
bootcmd_usb=run bootargs_usb; usb start; run set_mw; run load_usbuimage; run load_usbuinitrd; run load_bootm
load_myhdduimage=ext2load ide 0:1 0x800000 /boot/uImage
load_myhdduinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd
bootcmd=run bootcmd_usb; run bootcmd_myhdd
bootcmd_myhdd=ide reset; run set_mw; run load_myhdduimage; run load_myhdduinitrd; run load_bootm
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=1
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
pcieTune=no

Environment size: 3251/4092 bytes
LGE-NAS>>


I tried
LGE-NAS>> setenv load_bootm 'bootm 0x1000000 0x3000000'
LGE-NAS>> setenv load_myhd1000000 /boot/uImage'
LGE-NAS>> setenv load_myhdnitrd'
LGE-NAS>> 
LGE-NAS>> 
LGE-NAS>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.177.190.59
serverip=10.177.191.39
rootpath=/opt/Orion-SDK/armel-2.0/rootfs
netmask=255.255.254.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_nfs=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
boot_name=u-boot.bin
up-boot=tftp 2000000 nt/$(boot_name); sflash protect off; sflash erase all; sflash write 2000000 0 $(filesize)
root_path=root=/dev/md0 rw
read-kern=ide reset; ext2load ide 0 2000000 /boot/$(image_name);
mem-clear=mw.l 1000000 0x00000000 1000000
bootcmd_nfs=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig);  bootm 0x2000000; 
bootcmd_hdd=run read-kern; setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
bootcmd_enc=run mem-clear; set bootargs $(console) $(bootargs_ram) enclosure; ide res; ide load; bootm 1000000 2000000
bootargs_ram=root=/dev/ram0 rw
tftp-ram=tftp 1000000 nt/$(uImage-ram); tftp 2000000 nt/ramdisk_image; set bootargs $(console) $(bootargs_ram); bootm 1000000 2000000
uImage-ram=uImage-2.6.30-nt1_11_ramdisk
bootcmd_tftp=tftp 0x2000000 $(image_name); setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=00:E0:91:81:5F:C4
nas_type=0x00000110
firmware=firmware.tar.gz
bootcmd_netenc=set bootargs $(console) $(bootargs_ram) netenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootcmd_usbenc=set bootargs $(console) $(bootargs_ram) usbenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
arcNumber=1681
run_mw=mw 0x800000 0 1
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_initrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
set_mw=mw 0x800000 0 1
load_usbuimage=ext2load usb 0:1 0x800000 /boot/uImage
load_usbuinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
bootcmd_usb=run bootargs_usb; usb start; run set_mw; run load_usbuimage; run load_usbuinitrd; run load_bootm
load_myhdduimage=ext2load ide 0:1 0x800000 /boot/uImage
load_myhdduinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd
bootcmd=run bootcmd_usb; run bootcmd_myhdd
bootcmd_myhdd=ide reset; run set_mw; run load_myhdduimage; run load_myhdduinitrd; run load_bootm
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=1
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
pcieTune=no
load_bootm=bootm 0x1000000 0x3000000
load_myhd1000000=/boot/uImage

Environment size: 3282/4092 bytes
LGE-NAS>>


Then tried boot
LGE-NAS>> boot
Unknown command 'console=ttyS0,115200' - try 'help'
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 01000000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number

Reset IDE: 
Marvell Serial ATA Adapter, MAX_DEVICE=32
Integrated Sata device found
Channel 0/2 is connected ... 
This is ATA Disk at channel 0
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: WDC WD60EFRX-68L0BN1                     Firm: 82.00A82 Ser#:      WD-WX11D3744NZT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 5723166.5 MB = 5589.0 GB ( Block : 512)
Channel 1/2 is connected ... 
eDmaRegsOffset1 = 24000, eDmaRegsOffset4 = 6002c0,
 SEC_CNT:01, SEC_NUM:01, CYL_LOW:14, CYL_HIGH:eb
ATAPI Indentify Command Done


6189544 bytes read

11717862 bytes read
## Booting image at 01000000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number
LGE-NAS>>


Tried reset, then it booted

Tried
su -
cd /boot
mkdir ./backup/2024-05-04/
cp -a uImage uInitrd ./backup/2024-05-04/
cp -a initrd.img-6.6.3-kirkwood-tld-1 backup/2024-05-04/
cp -a System.map-6.6.3-kirkwood-tld-1 backup/2024-05-04/
cp -a vmlinuz-6.6.3-kirkwood-tld-1 backup/2024-05-04/
cp -a config-6.6.3-kirkwood-tld-1 backup/2024-05-04/
cp -ra dts/ backup/2024-05-04/dts 
wget https://bit.ly/3wnmx2R
mv 3wnmx2R linux-6.7.5-kirkwood-tld-1-bodhi.tar.bz2
tar -vxjf linux-6.7.5-kirkwood-tld-1-bodhi.tar.bz2
tar -xf  linux-dtb-6.7.5-kirkwood-tld-1.tar
apt-get remove flash-kernel 
dpkg -i linux-image-6.7.5-kirkwood-tld-1_1_armel.deb
cp -a zImage-6.7.5-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-n1t1.dtb >> zImage.fdt

mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.7.5-kirkwood-tld-1 -d zImage.fdt uImage

mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.7.5-kirkwood-tld-1 -d initrd.img-6.7.5-kirkwood-tld-1 uInitrd

sync 
sync
sync
shutdown -r now


But it stoped at same as before

_   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** LGE-NAS BOARD: NT1 LE 

U-Boot 1.1.4 (May 21 2011 - 03:56:55)NT1

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 15 tRCD=5
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
[512kB@f8000000] Flash: 512 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
 Normal mode : lg_bootmode = 0 
Hit any key to stop autoboot:  0 
Unknown command 'console=ttyS0,115200' - try 'help'
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number

Reset IDE: 
Marvell Serial ATA Adapter, MAX_DEVICE=32
Integrated Sata device found
Channel 0/2 is connected ... 
This is ATA Disk at channel 0
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: WDC WD60EFRX-68L0BN1                     Firm: 82.00A82 Ser#:      WD-WX11D3744NZT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 5723166.5 MB = 5589.0 GB ( Block : 512)
Channel 1/2 is connected ... 
eDmaRegsOffset1 = 24000, eDmaRegsOffset4 = 6002c0,
 SEC_CNT:01, SEC_NUM:01, CYL_LOW:14, CYL_HIGH:eb
ATAPI Indentify Command Done


6389784 bytes read

11654976 bytes read
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = b2fb6452
hdr->ih_time = bb053666, hdr->ih_size = 00617fd8
hdr->ih_load = 00800000, hdr->ih_ep = 00800000
hdr->ih_dcrc = cef430bd
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 02, hdr->ih_comp = 00
hdr->ih_name = Linux-6.7.5-kirkwood-tld-1

   Image Name:   Linux-6.7.5-kirkwood-tld-1
   Created:      2024-05-04   9:54:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6389720 Bytes =  6.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK


Booted with USB and restored working
Login with root/root
mount /dev/sda1 /mnt/start/
cd /mnt/start/boot/
cp ./uImage.OK ./uImage
cp ./uInitrd.OK ./uInitrd
cd /
sync
sync
umount /mnt/start/
shutdown -h now


Took out USB and started it, and its up again with Linux debian 4.12.1-kirkwood-tld-1

_   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** LGE-NAS BOARD: NT1 LE 

U-Boot 1.1.4 (May 21 2011 - 03:56:55)NT1

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDEE0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 15 tRCD=5
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
[512kB@f8000000] Flash: 512 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
 Normal mode : lg_bootmode = 0 
Hit any key to stop autoboot:  0 
Unknown command 'console=ttyS0,115200' - try 'help'
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
Bad Magic Number

Reset IDE: 
Marvell Serial ATA Adapter, MAX_DEVICE=32
Integrated Sata device found
Channel 0/2 is connected ... 
This is ATA Disk at channel 0
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: WDC WD60EFRX-68L0BN1                     Firm: 82.00A82 Ser#:      WD-WX11D3744NZT
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 5723166.5 MB = 5589.0 GB ( Block : 512)
Channel 1/2 is connected ... 
eDmaRegsOffset1 = 24000, eDmaRegsOffset4 = 6002c0,
 SEC_CNT:01, SEC_NUM:01, CYL_LOW:14, CYL_HIGH:eb
ATAPI Indentify Command Done


3833938 bytes read

7245696 bytes read
## Booting image at 00800000 ..., header_size = 00000040, header_addr = 0068dcdc
image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = 85765957
hdr->ih_time = 91cd335a, hdr->ih_size = 003a8012
hdr->ih_load = 00800000, hdr->ih_ep = 00800000
hdr->ih_dcrc = 782af5e6
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 02, hdr->ih_comp = 00
hdr->ih_name = Linux-4.12.1-kirkwood-tld-1

   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-12-15  13:26:41 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3833874 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000, header_addr = 0068dcdc, header_size = 00000040 ...
RAMdisk image_header_t hdr contents
hdr->ih_magic = 56190527, hdr->ih_hcrc = 54ee2b5c
hdr->ih_time = cf3c7559, hdr->ih_size = 006e8f40
hdr->ih_load = 00000000, hdr->ih_ep = 00000000
hdr->ih_dcrc = 4887aca3
hdr->ih_os = 05, hdr->ih_arch = 02
hdr->ih_type = 03, hdr->ih_comp = 01
hdr->ih_name = initramfs-4.12.1-kirkwood-tld-1

   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes =  6.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: LG N1T1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007908] Switching to timer-based delay loop, resolution 5ns
[    0.014412] Console: colour dummy device 80x30
[    0.018997] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.029612] pid_max: default: 32768 minimum: 301
[    0.034511] Security Framework initialized
[    0.038850] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045534] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053635] CPU: Testing write buffer coherency: ok
[    0.059715] Setting up static identity map for 0x100000 - 0x100058
[    0.066232] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.075127] devtmpfs: initialized
[    0.083770] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.093742] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.100387] prandom: seed boundary self test passed
[    0.109845] prandom: 100 self tests passed
[    0.114011] pinctrl core: initialized pinctrl subsystem
[    0.120617] NET: Registered protocol family 16
[    0.125687] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.134449] cpuidle: using governor ladder
[    0.138753] cpuidle: using governor menu
[    0.143237] Feroceon L2: Enabling L2
[    0.146924] Feroceon L2: Cache support initialised.
[    0.152294] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.169131] No ATAGs?
[    0.180330] vgaarb: loaded
[    0.185816] SCSI subsystem initialized
[    0.190249] usbcore: registered new interface driver usbfs
[    0.195884] usbcore: registered new interface driver hub
[    0.201403] usbcore: registered new device driver usb
[    0.207834] clocksource: Switched to clocksource orion_clocksource
[    0.320609] VFS: Disk quotas dquot_6.6.0
[    0.324684] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.344306] NET: Registered protocol family 2
[    0.349654] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356689] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.363155] TCP: Hash tables configured (established 1024 bind 1024)
[    0.369685] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.375593] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.382144] NET: Registered protocol family 1
[    0.387050] RPC: Registered named UNIX socket transport module.
[    0.393115] RPC: Registered udp transport module.
[    0.397923] RPC: Registered tcp transport module.
[    0.402687] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.409482] Unpacking initramfs...
[    1.188878] Freeing initrd memory: 7076K
[    1.193049] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.200817] audit: initializing netlink subsys (disabled)
[    1.206812] Initialise system trusted keyrings
[    1.211393] audit: type=2000 audit(1.188:1): state=initialized audit_enabled=0 res=1
[    1.219280] Key type blacklist registered
[    1.223521] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.230170] zbud: loaded
[    1.233911] NFS: Registering the id_resolver key type
[    1.239139] Key type id_resolver registered
[    1.243394] Key type id_legacy registered
[    1.247485] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.254299] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.260961] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.268308] fuse init (API version 7.26)
[    1.272675] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.279443] orangefs_init: module version upstream loaded
[    1.284901] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.567842] random: fast init done
[    8.311193] Key type asymmetric registered
[    8.315366] Asymmetric key parser 'x509' registered
[    8.320603] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    8.328126] io scheduler noop registered
[    8.332117] io scheduler deadline registered
[    8.336529] io scheduler cfq registered (default)
[    8.342810] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    8.352409] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.418748] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.426632] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.488742] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.496883] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.504828] console [ttyS0] disabled
[    8.508619] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.517671] console [ttyS0] enabled
[    8.517671] console [ttyS0] enabled
[    8.524820] bootconsole [earlycon0] disabled
[    8.524820] bootconsole [earlycon0] disabled
[    8.543719] loop: module loaded
[    8.547544] sata_mv f1080000.sata: slots 32 ports 2
[    8.555815] scsi host0: sata_mv
[    8.559535] scsi host1: sata_mv
[    8.562992] ata1: SATA max UDMA/133 irq 33
[    8.567115] ata2: SATA max UDMA/133 irq 33
[    8.573117] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    8.578029] 1 ofpart partitions found on MTD device spi0.0
[    8.583541] Creating 1 MTD partitions on "spi0.0":
[    8.588390] 0x000000000000-0x000000080000 : "u-boot"
[    8.596229] libphy: Fixed MDIO Bus: probed
[    8.601420] libphy: orion_mdio_bus: probed
[    8.611330] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.067873] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.088042] ata1.00: ATA-9: WDC WD60EFRX-68L0BN1, 82.00A82, max UDMA/133
[    9.094783] ata1.00: 11721045168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.110446] ata1.00: configured for UDMA/133
[    9.138237] scsi 0:0:0:0: Direct-Access     ATA      WDC WD60EFRX-68L 0A82 PQ: 0 ANSI: 5
[    9.147756] sd 0:0:0:0: [sda] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
[    9.157289] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.167973] sd 0:0:0:0: [sda] Write Protect is off
[    9.177958] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.238193]  sda: sda1 sda2 sda3
[    9.249760] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.647872] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.677969] ata2.00: ATAPI: HL-DT-STDVDRAM GA31N, T108, max UDMA/100
[    9.710191] ata2.00: configured for UDMA/100
[    9.805648] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:e0:91:81:5f:c4
[    9.814670] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.821615] ehci-pci: EHCI PCI platform driver
[    9.826258] ehci-orion: EHCI orion driver
[    9.830444] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVDRAM GA31N     T108 PQ: 0 ANSI: 5
[    9.839084] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.844632] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.853341] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    9.888710] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.895013] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    9.901877] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.909158] usb usb1: Product: EHCI Host Controller
[    9.914060] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[    9.920815] usb usb1: SerialNumber: f1050000.ehci
[    9.926295] hub 1-0:1.0: USB hub found
[    9.930179] hub 1-0:1.0: 1 port detected
[    9.934847] usbcore: registered new interface driver usb-storage
[    9.941354] mousedev: PS/2 mouse device common for all mice
[    9.947627] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    9.954784] i2c /dev entries driver
[    9.960308] hidraw: raw HID events driver (C) Jiri Kosina
[    9.966189] drop_monitor: Initializing network drop monitor service
[    9.972826] NET: Registered protocol family 17
[    9.977380] Key type dns_resolver registered
[    9.982668] registered taskstats version 1
[    9.986791] Loading compiled-in X.509 certificates
[    9.991705] zswap: loaded using pool lzo/zbud
[   10.007620] Key type big_key registered
[   10.022509] Key type encrypted registered
[   10.028332] rtc-mv f1010300.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[   10.041078] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[   10.632986] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[   10.675721] cdrom: Uniform CD-ROM driver Revision: 3.20
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   21.976054] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   22.003415] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   25.305993] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   25.542582] orion_wdt: Initial timeout 21 sec
[   25.666143] marvell-cesa f1030000.crypto: CESA device successfully registered
[   25.742229] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   25.742498] sr 1:0:0:0: Attached scsi generic sg1 type 5
[   26.192339] random: crng init done
[   31.314514] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
done.
Activating swap:swapon: /dev/sda2: found[   36.471404] Adding 523260k swap on /dev/sda2.  Priority:-1 extents:1 across:523260k FS
 signature [pagesize=4096, signature=swap]
swapon: /dev/sda2: pagesize=4096, swapsize=535822336, devsize=535822336
swapon /dev/sda2
.
[   36.670196] EXT4-fs (sda1): re-mounted. Opts: (null)
Will now check root file system:[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 107917/5865472 files, 1643402/23442176 blocks
.
[   37.298055] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
/dev/sda3 is not mounted
[/sbin/fsck.ext4 (1) -- /media/data] fsck.ext4 -y -C0 /dev/sda3 
e2fsck 1.46.2 (28-Feb-2021)
data: clean, 23349687/180195328 files, 377798307/1441557248 blocks
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
[   52.637638] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /dev/sda2: already active -- ignored
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlx00179ab0be03
failed.
[   55.027154] NET: Registered protocol family 10
[   55.033136] Segment Routing with IPv6
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
Setting up X socket directories... /tmp/.X11-unix
 /tmp/.ICE-unix
.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not running dhcpcd because /etc/network/interfaces ... failed!
defines some interfaces that will use a DHCP client ... failed!
Starting Glances server: glances Not starting glances: disabled by /etc/default/glances..
Starting the hd-idle daemon: hd-idle.
Starting NFS common utilities: statd idmapd.
Starting NetBIOS name server: nmbd
[   61.315647] Process accounting resumed
.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting enhanced syslogd: rsyslogd.
Starting: esekeyd not yet configured: Enable ESE Key Daemon first by editing /etc/default/esekeyd:.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting Name Service Cache Daemon: nscd.
Starting periodic command scheduler: cron.
Starting NTP server: ntpd.
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
May 04, 2024 01:18PM
raffe,

Please try the latest released kernel:

linux-6.8.7-kirkwood-tld-1-bodhi.tar.bz2 (18 Apr 2024)

You don't need to change the load addresses with setenvs. Keep them the same as before
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_initrd=ext2load usb 0:1 0x2100000 /boot/uInitrd

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
May 04, 2024 04:58PM
OK! I changed because you said I could try above :-)
bodhi Wrote:
-------------------------------------------------------
> raffe,
>
>
> Based on your envs above, try this to boot the HDD
> rootfs:
>
> setenv load_bootm 'bootm 0x800000 0x3000000'
> setenv load_myhdduimage 'ext2load ide 0:1
> 0x1000000 /boot/uImage'
> setenv load_myhdduinitrd 'ext2load ide 0:1
> 0x3000000 /boot/uInitrd'
> boot
>

Now I have changed back (I hope):
LGE-NAS>> setenv load_bootm 'bootm 0x800000 0x2100000'
LGE-NAS>> setenv load_myhdduimage 'ext2load ide 0:1 0x800000 /boot/uImage'
LGE-NAS>> setenv load_myhdduinitrd 'ext2load ide 0:1 0x2100000 /boot/uInitrd'
LGE-NAS>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.177.190.59
serverip=10.177.191.39
rootpath=/opt/Orion-SDK/armel-2.0/rootfs
netmask=255.255.254.0
run_diag=yes
console=console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_nfs=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
boot_name=u-boot.bin
up-boot=tftp 2000000 nt/$(boot_name); sflash protect off; sflash erase all; sflash write 2000000 0 $(filesize)
root_path=root=/dev/md0 rw
read-kern=ide reset; ext2load ide 0 2000000 /boot/$(image_name);
mem-clear=mw.l 1000000 0x00000000 1000000
bootcmd_nfs=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig);  bootm 0x2000000; 
bootcmd_hdd=run read-kern; setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
bootcmd_enc=run mem-clear; set bootargs $(console) $(bootargs_ram) enclosure; ide res; ide load; bootm 1000000 2000000
bootargs_ram=root=/dev/ram0 rw
tftp-ram=tftp 1000000 nt/$(uImage-ram); tftp 2000000 nt/ramdisk_image; set bootargs $(console) $(bootargs_ram); bootm 1000000 2000000
uImage-ram=uImage-2.6.30-nt1_11_ramdisk
bootcmd_tftp=tftp 0x2000000 $(image_name); setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; 
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=00:E0:91:81:5F:C4
nas_type=0x00000110
firmware=firmware.tar.gz
bootcmd_netenc=set bootargs $(console) $(bootargs_ram) netenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootcmd_usbenc=set bootargs $(console) $(bootargs_ram) usbenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
arcNumber=1681
run_mw=mw 0x800000 0 1
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_initrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
set_mw=mw 0x800000 0 1
load_usbuimage=ext2load usb 0:1 0x800000 /boot/uImage
load_usbuinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial
bootcmd_usb=run bootargs_usb; usb start; run set_mw; run load_usbuimage; run load_usbuinitrd; run load_bootm
bootcmd=run bootcmd_usb; run bootcmd_myhdd
bootcmd_myhdd=ide reset; run set_mw; run load_myhdduimage; run load_myhdduinitrd; run load_bootm
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=1
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
pcieTune=no
load_bootm=bootm 0x800000 0x2100000
load_myhdduimage=ext2load ide 0:1 0x800000 /boot/uImage
load_myhdduinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd

Environment size: 3251/4092 bytes

Then I booted and did this:
su -
cd /boot
mkdir ./backup/2024-05-05/
cp -a uImage uInitrd ./backup/2024-05-05/
cp -a initrd.img-6.6.3-kirkwood-tld-1 backup/2024-05-05/
cp -a System.map-6.6.3-kirkwood-tld-1 backup/2024-05-05/
cp -a vmlinuz-6.6.3-kirkwood-tld-1 backup/2024-05-05/
cp -a config-6.6.3-kirkwood-tld-1 backup/2024-05-05/
cp -ra dts/ backup/2024-05-05/dts 
wget https://bit.ly/49I7cYn
mv 49I7cYn linux-6.8.7-kirkwood-tld-1-bodhi.tar.bz2
tar -vxjf linux-6.8.7-kirkwood-tld-1-bodhi.tar.bz2
tar -xf  linux-dtb-6.8.7-kirkwood-tld-1.tar
apt-get remove flash-kernel 
dpkg -i linux-image-6.8.7-kirkwood-tld-1_1_armel.deb
cp -a zImage-6.8.7-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-n1t1.dtb >> zImage.fdt

mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.8.7-kirkwood-tld-1 -d zImage.fdt uImage

mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.8.7-kirkwood-tld-1 -d initrd.img-6.8.7-kirkwood-tld-1 uInitrd

sync 
sync
sync
shutdown -r now

Hurray! It booted OK with Linux debian 6.8.7-kirkwood-tld-1 :-)

Any guess what was the problem before with the other kirkwood packages?
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
May 04, 2024 05:04PM
> Hurray! It booted OK with Linux debian
> 6.8.7-kirkwood-tld-1 :-)

Cool!

>
> Any guess what was the problem before with the
> other kirkwood packages?

This u-boot does not handle well uImage that's larger than 6MB. When it comes to old stock u-boot, a lot of time it's trial and error to get it to work with our kernel. So it is not a surprise that we find out about it this late :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problems updating LG N1T1 NAS to new Kirkwood packages
May 04, 2024 05:08PM
Thanks for testing raffe! yours was a great contribution for others who have this LG N1T1 NAS, and also I suspect that also true for Kirkwood NAS boxes that still run stock u-boot :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: