Welcome! Log In Create A New Profile

Advanced

Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood

Posted by megal0maniac 
Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
June 21, 2017 01:54PM
Hey bodhi! Thanks as always for the updates. I'm playing with the EA4500 again, wanted to see if DSA is perhaps working in a newer kernel, but boot gets stuck here (with both .dtb files, with DSA and without):
## Booting image at 00800000 ...
   Image Name:   Linux-4.11.3-kirkwood-tld-2
   Created:      2017-06-21  18:47:17 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3912734 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.11.3-kirkwood-tld-2
   Created:      2017-06-21  18:47:41 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6703925 Bytes =  6.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Any ideas? The 4.4 kernel bundled with the rootfs works fine...



Edited 1 time(s). Last edit at 06/21/2017 03:36PM by bodhi.
Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
June 21, 2017 03:35PM
megal0maniac,

> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.

When it get stuck here, you should turn on earlyprintk in bootargs. Add this to your u-boot env bootargs. If not sure, post your u-boot envs listing in serial console, or in Debian here and I'll help.

earlyprintk=serial

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



Edited 2 time(s). Last edit at 06/21/2017 03:44PM by bodhi.
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
June 29, 2017 12:13PM
Thanks for that, handy trick!
Here's the output. The only thing I've changed is updated the kernel, which I've done 100 times on the EA4500 and the Dockstar without problems. Might it be an issue with 4.11.3? I can try an earlier version if you'd like?
Using the non-DSA dtb.

## Booting image at 00800000 ...
   Image Name:   Linux-4.11.3-kirkwood-tld-2
   Created:      1970-01-01   0:12:17 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3912734 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.11.3-kirkwood-tld-2
   Created:      1970-01-01   0:12:53 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6703900 Bytes =  6.4 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.11.3-kirkwood-tld-2 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Tue Jun 6 17:01:17 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: Linksys EA4500
[    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 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: 109932K/131072K available (8192K kernel code, 786K rwdata, 2016K rodata, 1024K init, 280K bss, 21140K 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 - 0xc0dc49b4   ( 787 kB)
[    0.000000]        .bss : 0xc0dc49b4 - 0xc0e0acc8   ( 281 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    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.008335] Console: colour dummy device 80x30
[    0.012868] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.104368] pid_max: default: 32768 minimum: 301
[    0.109254] Security Framework initialized
[    0.113527] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.120243] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.128251] CPU: Testing write buffer coherency: ok
[    0.134146] Setting up static identity map for 0x100000 - 0x100058
[    0.140691] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.149391] devtmpfs: initialized
[    0.157166] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.167133] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.173644] prandom: seed boundary self test passed
[    0.182355] prandom: 100 self tests passed
[    0.186525] pinctrl core: initialized pinctrl subsystem
[    0.192989] NET: Registered protocol family 16
[    0.197952] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.206429] cpuidle: using governor ladder
[    0.210709] cpuidle: using governor menu
[    0.215099] Feroceon L2: Enabling L2
[    0.218818] Feroceon L2: Cache support initialised.
[    0.224092] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.234694] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.249707] No ATAGs?
[    0.258691] vgaarb: loaded
[    0.264111] SCSI subsystem initialized
[    0.268432] usbcore: registered new interface driver usbfs
[    0.274053] usbcore: registered new interface driver hub
[    0.279535] usbcore: registered new device driver usb
[    0.285691] clocksource: Switched to clocksource orion_clocksource
[    0.380108] VFS: Disk quotas dquot_6.6.0
[    0.384177] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.401791] NET: Registered protocol family 2
[    0.407001] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.414029] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.420480] TCP: Hash tables configured (established 1024 bind 1024)
[    0.426988] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.432889] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.439395] NET: Registered protocol family 1
[    0.444228] RPC: Registered named UNIX socket transport module.
[    0.450282] RPC: Registered udp transport module.
[    0.455053] RPC: Registered tcp transport module.
[    0.459846] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.466636] Unpacking initramfs...
[    0.470107] Initramfs unpacking failed: junk in compressed archive
[    0.494613] Freeing initrd memory: 6548K
[    0.498786] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.506344] audit: initializing netlink subsys (disabled)
[    0.512249] Initialise system trusted keyrings
[    0.516815] audit: type=2000 audit(0.490:1): state=initialized audit_enabled=0 res=1
[    0.524765] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.531404] zbud: loaded
[    0.534962] NFS: Registering the id_resolver key type
[    0.540179] Key type id_resolver registered
[    0.544426] Key type id_legacy registered
[    0.548555] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.555313] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.562208] Key type cifs.spnego registered
[    0.566539] Key type cifs.idmap registered
[    0.570705] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.578094] fuse init (API version 7.26)
[    0.582442] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.589239] orangefs_init: module version upstream loaded
[    0.594694] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.565698] random: fast init done
[    4.671035] Key type asymmetric registered
[    4.675203] Asymmetric key parser 'x509' registered
[    4.680302] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    4.687977] io scheduler noop registered
[    4.691972] io scheduler deadline registered
[    4.696438] io scheduler cfq registered (default)
[    4.702349] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.717734] loop: module loaded
[    4.722408] libphy: Fixed MDIO Bus: probed
[    4.727518] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.734118] ehci-pci: EHCI PCI platform driver
[    4.738728] ehci-orion: EHCI orion driver
[    4.743249] mousedev: PS/2 mouse device common for all mice
[    4.749214] i2c /dev entries driver
[    4.753105] kirkwood-cpufreq kirkwood-cpufreq: Unable to get cpuclk
[    4.759512] kirkwood-cpufreq: probe of kirkwood-cpufreq failed with error -22
[    4.767152] hidraw: raw HID events driver (C) Jiri Kosina
[    4.772924] drop_monitor: Initializing network drop monitor service
[    4.779497] NET: Registered protocol family 17
[    4.784183] Key type dns_resolver registered
[    4.789303] registered taskstats version 1
[    4.793469] Loading compiled-in X.509 certificates
[    4.798414] zswap: loaded using pool lzo/zbud
[    4.805038] Key type big_key registered
[    4.810854] Key type encrypted registered
[    4.816296] hctosys: unable to open rtc device (rtc0)
[    5.762578] Unable to handle kernel paging request at virtual address c8000000
[    5.769856] pgd = c0004000
[    5.772636] [c8000000] *pgd=00000000
[    5.776289] Internal error: Oops: 5 [#1] PREEMPT ARM
[    5.781311] Modules linked in:
[    5.784443] CPU: 0 PID: 1 Comm: swapper Not tainted 4.11.3-kirkwood-tld-2 #1
[    5.791540] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    5.797858] task: c7832e00 task.stack: c7834000
[    5.802464] PC is at crc32_be+0x6c/0x160
[    5.806454] LR is at 0xc0948e70
[    5.809662] pc : [<c05b683c>]    lr : [<c0948e70>]    psr: 20000053
[    5.809662] sp : c7835ef0  ip : c094a564  fp : 00000000
[    5.821254] r10: c0dc49c0  r9 : c0c4a838  r8 : a851484c
[    5.826534] r7 : 00000000  r6 : c7fffffc  r5 : 1d3edafc  r4 : 00000007
[    5.833109] r3 : 652a00d5  r2 : 1e1bdfbc  r1 : c117d9fc  r0 : 4058e319
[    5.839693] Flags: nzCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment none
[    5.846967] Control: 0005397f  Table: 00004000  DAC: 00000053
[    5.852765] Process swapper (pid: 1, stack limit = 0xc7834190)
[    5.858648] Stack: (0xc7835ef0 to 0xc7836000)
[    5.863067] 5ee0:                                     c117da00 f0defde7 9ffa191f c0c58e00
[    5.871294] 5f00: 00000000 c0c3f38c 00000007 c0c3f358 000000b8 c010178c 00000000 c7ffceb4
[    5.879519] 5f20: c7ffce00 c0133748 00000000 60000053 00000001 c0af6830 000000b8 00000007
[    5.887745] 5f40: 00000007 c0af7690 000000b7 c0af7690 c0d0bbdc 00000007 c0c4a830 000000b8
[    5.895970] 5f60: 00000007 c0c4a834 000000b8 c0c58e00 c0dc49c0 c0c00e0c 00000007 00000007
[    5.904195] 5f80: 00000000 c0c005ac 00000000 c0861f90 00000000 00000000 00000000 00000000
[    5.912420] 5fa0: 00000000 c0861f98 00000000 c01070f0 00000000 00000000 00000000 00000000
[    5.920645] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.928871] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 deffdeff af6eff7e
[    5.937114] [<c05b683c>] (crc32_be) from [<c0c3f38c>] (of_fdt_raw_init+0x34/0x78)
[    5.944653] [<c0c3f38c>] (of_fdt_raw_init) from [<c010178c>] (do_one_initcall+0xa8/0x154)
[    5.952888] [<c010178c>] (do_one_initcall) from [<c0c00e0c>] (kernel_init_freeable+0x198/0x260)
[    5.961636] [<c0c00e0c>] (kernel_init_freeable) from [<c0861f98>] (kernel_init+0x8/0x10c)
[    5.969863] [<c0861f98>] (kernel_init) from [<c01070f0>] (ret_from_fork+0x14/0x24)
[    5.977489] Code: e1a05002 e59fe0f4 e3550000 0a00002b (e5963004)
[    5.983640] ---[ end trace 3ff42e1f31fffdf2 ]---
[    5.988402] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    5.988402]
[    5.997673] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    5.997673]
[  133.875739] random: crng init done
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
June 30, 2017 06:38PM
megal0maniac,

It looks like the Non-DSA DTB that you've appended to the kernel image has some problem.

Try remake the uImage with this DTB that should be newly compiled with this kernel?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
July 03, 2017 08:54AM
I'm 99% sure that I'm using the dtb packaged with the 4.11.3 kernel package (assuming that tar -cvf file.tgz overwrites by default)
I'll check again but I don't think that is the problem...
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
July 03, 2017 03:53PM
megal0maniac,

Can you boot older kernel with the same DTB?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
I agree, I followed the instruction for 4.11.3 but failed to boot.

however, 4.9 works ok

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jul  4 09:47:58 2017 from ts140
root@IOMEGA-EZ:~# uname
Linux
root@IOMEGA-EZ:~# uname -a
Linux IOMEGA-EZ 4.9.0-kirkwood-tld-1 #1 PREEMPT Tue Dec 13 01:58:23 PST 2016 armv5tel GNU/Linux
root@IOMEGA-EZ:~#

Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
July 04, 2017 03:28AM
iomega ez Wrote:
-------------------------------------------------------
> I agree, I followed the instruction for 4.11.3 but
> failed to boot.
>
> however, 4.9 works ok
>
>
> The programs included with the Debian GNU/Linux sy
> stem are free software;
> the exact distribution terms for each program are
> described in the
> individual files in /usr/share/doc/*/copyright.
> 
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY
> , to the extent
> permitted by applicable law.
> Last login: Tue Jul  4 09:47:58 2017 from ts140
> root@IOMEGA-EZ:~# uname
> Linux
> root@IOMEGA-EZ:~# uname -a
> Linux IOMEGA-EZ 4.9.0-kirkwood-tld-1 #1 PREEMPT Tu
> e Dec 13 01:58:23 PST 2016 armv5tel GNU/Linux
> root@IOMEGA-EZ:~#
> 
>

Did you mean to post this in the other thread?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
July 06, 2017 04:09PM
megal0maniac,

You have following error in log:
[ 0.466636] Unpacking initramfs...
[ 0.470107] Initramfs unpacking failed: junk in compressed archive

This means that there are memory overlap between kernel and initramfs.
You need to allow more space for the kernel and load initramfs at higher address, not at 0x1100000, but for example at 0x1200000.
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
July 06, 2017 04:49PM
AA666 Wrote:
-------------------------------------------------------
> megal0maniac,
>
> You have following error in log:
> [ 0.466636] Unpacking initramfs...
> [ 0.470107] Initramfs unpacking failed: junk in
> compressed archive
>
> This means that there are memory overlap between k
> ernel and initramfs.
> You need to allow more space for the kernel and lo
> ad initramfs at higher address, not at 0x1100000,
> but for example at 0x1200000

Right, beware of stock u-boot does bad things to memory. It does not relocate the images correctly (if at all).

In this case, the kernel is small enough to fit in the range of 0x800000 to 0x1100000. I need to look at the entire boot log to tell if the uInitrd is just bad.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
July 08, 2017 09:25AM
Turns out that the kernel is too big with embedded dtb. Loading uinitrd to 0x1200000 worked fine :)
Too bad I'm stuck with this dumb stock u-boot. Thanks for the help!
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
August 08, 2017 06:28PM
megal0maniac,

Have you tried this DTS for the Linksys EA4500 with updated DSA binding? This has been updated in Jan 2017.

kirkwood-linksys-viper.dtb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
August 09, 2017 01:32PM
How sneaky, I didn't even notice that "viper" was there - I just tried "ea4500" and "ea4500-dsa"
This looks promising (and new):
[    6.550319] Generic PHY mv88e6xxx-1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=mv88e6xxx-1:00, irq=-1)
[    6.567104] Generic PHY mv88e6xxx-1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=mv88e6xxx-1:01, irq=-1)
[    6.586107] Generic PHY mv88e6xxx-1:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=mv88e6xxx-1:02, irq=-1)
[    6.605158] Generic PHY mv88e6xxx-1:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=mv88e6xxx-1:03, irq=-1)
[    6.624203] Generic PHY mv88e6xxx-1:04: attached PHY driver [Generic PHY] (mii_bus:phy_addr=mv88e6xxx-1:04, irq=-1)

Aaaand so does this:
root@debian:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 20:aa:4b:e5:d2:cf
          inet6 addr: fe80::22aa:4bff:fee5:d2cf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6885 (6.7 KiB)
          Interrupt:35

ethernet1 Link encap:Ethernet  HWaddr 20:aa:4b:e5:d2:cf
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ethernet2 Link encap:Ethernet  HWaddr 20:aa:4b:e5:d2:cf
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ethernet3 Link encap:Ethernet  HWaddr 20:aa:4b:e5:d2:cf
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ethernet4 Link encap:Ethernet  HWaddr 20:aa:4b:e5:d2:cf
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

internet  Link encap:Ethernet  HWaddr 20:aa:4b:e5:d2:cf
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:112 (112.0 B)  TX bytes:112 (112.0 B)

root@debian:~#

And it works! :)
Was able to configure interface "ethernet3", bring it up and ssh into the router over it. Awesome!
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
August 09, 2017 05:41PM
megal0maniac,

> And it works! :)
> Was able to configure interface "ethernet3", bring
> it up and ssh into the router over it. Awesome!

Awesome :) thanks for testing!

I did not notice this DTS either until wacke had problem in the Qizitong thread because of the new driver. It inspires me to think it is time for me to look into this u-boot again. My box has been collecting dust for a while :)

So you just connected the ethernet cable to port 3? or is it port 2?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
August 10, 2017 01:58AM
bodhi Wrote:
-------------------------------------------------------
> So you just connected the ethernet cable to port 3
> ? or is it port 2?

The interface names correlate to what's on the back of the router (internet & ethernet{1..4})
I just did
ifconfig ethernet3 10.0.0.1/16
ifconfig ethernet3 up
and it worked. When I plugged the cable in and the link lights came on, I got kernel messages about link up and negotiated speed - exactly like you'd expect with a directly connected interface :)
I'm not actively using the router so I can't check for stability, but my quick tests proved it to be functional at least.
Re: Problem booting Linksys EA4500 with Linux Kernel 4.11.3 Kirkwood
August 11, 2017 05:32AM
megal0maniac,

Yes, it works fine for me too. I've cloned it to the latest kirkwood-ea450.dts and made some cosmetic changes. So far it has been up running for a couple hours.


Quote

root@EA4500:~# myinfo
EA4500
192.168.0.246
OF: fdt: Machine model: Linksys EA4500
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

One minor problem is the buttons are not working (they were fine before in previous version).

I'll post the DTB in the Debian Linksys EA4500 thread.

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

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: