Welcome! Log In Create A New Profile

Advanced

memory access error with fw_printenv / fw_setenv command with kernel linux-4.15.2-kirkwood-tld-1

Posted by joerg_999 
Hello Bodhi like i told you, i always get an memory access error with fw_printenv / fw_setenv command with kernel linux-4.15.2-kirkwood-tld-1.
here is the bootlog:
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            4194304         28c14a89-01     83 Boot

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 508 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3926040 bytes read in 728 ms (5.1 MiB/s)
loading uInitrd ...
7951238 bytes read in 855 ms (8.9 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10106 bytes read in 710 ms (13.7 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.15.2-kirkwood-tld-1
   Created:      2018-03-07  14:37:39 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3925976 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.15.2-kirkwood-tld-1
   Created:      2018-04-11  20:03:13 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7951174 Bytes = 7.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f37a000, end 0fb0f346 ... OK
   Loading Device Tree to 0f374000, end 0f379779 ... OK
Using machid 0xdd6 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.2-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 PREEMPT Fri Feb 9 01:52:00 PST 2018
[    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: CloudEngines Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: fast init done
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000@0x0(u-boot),-@0x100000(ubi)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 238692K/262144K available (8192K kernel code, 750K rwdata, 2068K rodata, 1024K init, 282K bss, 23452K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 751 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 283 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000047] Switching to timer-based delay loop, resolution 5ns
[    0.000560] Console: colour dummy device 80x30
[    0.000600] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000623] pid_max: default: 32768 minimum: 301
[    0.000783] Security Framework initialized
[    0.000936] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000962] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001875] CPU: Testing write buffer coherency: ok
[    0.002964] Setting up static identity map for 0x100000 - 0x100058
[    0.003231] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.003493] Hierarchical SRCU implementation.
[    0.006937] devtmpfs: initialized
[    0.011309] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011338] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.011711] prandom: seed boundary self test passed
[    0.015918] prandom: 100 self tests passed
[    0.015931] pinctrl core: initialized pinctrl subsystem
[    0.017055] NET: Registered protocol family 16
[    0.017539] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018150] audit: initializing netlink subsys (disabled)
[    0.018450] audit: type=2000 audit(0.010:1): state=initialized audit_enabled=0 res=1
[    0.019369] cpuidle: using governor ladder
[    0.019441] cpuidle: using governor menu
[    0.019913] Feroceon L2: Enabling L2
[    0.019960] Feroceon L2: Cache support initialised.
[    0.020360] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.024761] No ATAGs?
[    0.032758] vgaarb: loaded
[    0.033096] SCSI subsystem initialized
[    0.033526] usbcore: registered new interface driver usbfs
[    0.033592] usbcore: registered new interface driver hub
[    0.033648] usbcore: registered new device driver usb
[    0.034653] clocksource: Switched to clocksource orion_clocksource
[    0.127500] VFS: Disk quotas dquot_6.6.0
[    0.127587] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.136581] NET: Registered protocol family 2
[    0.137371] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.137410] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.137442] TCP: Hash tables configured (established 2048 bind 2048)
[    0.137532] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.137557] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.137760] NET: Registered protocol family 1
[    0.138196] RPC: Registered named UNIX socket transport module.
[    0.138209] RPC: Registered udp transport module.
[    0.138217] RPC: Registered tcp transport module.
[    0.138225] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.138482] Unpacking initramfs...
[    0.843140] Freeing initrd memory: 7768K
[    0.843297] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.844304] Initialise system trusted keyrings
[    0.844360] Key type blacklist registered
[    0.844550] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.844731] zbud: loaded
[    0.845673] NFS: Registering the id_resolver key type
[    0.845700] Key type id_resolver registered
[    0.845709] Key type id_legacy registered
[    0.845727] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.845738] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.846002] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.846202] fuse init (API version 7.26)
[    0.846562] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.846749] orangefs_init: module version upstream loaded
[    0.846761] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    6.803965] Key type asymmetric registered
[    6.803982] Asymmetric key parser 'x509' registered
[    6.804047] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.804061] io scheduler noop registered
[    6.804069] io scheduler deadline registered
[    6.804161] io scheduler cfq registered (default)
[    6.805572] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.807528] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.865441] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.865689] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.925424] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.925873] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.927033] console [ttyS0] disabled
[    6.927101] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    7.529381] console [ttyS0] enabled
[    7.539193] loop: module loaded
[    7.543423] nand: Could not find valid ONFI parameter page; aborting
[    7.549861] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    7.556262] nand: Hynix NAND 128MiB 3,3V 8-bit
[    7.560726] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.568358] Scanning device for bad blocks
[    7.587510] Bad eraseblock 140 at 0x000001180000
[    7.634243] Bad eraseblock 534 at 0x0000042c0000
[    7.691210] 2 cmdlinepart partitions found on MTD device orion_nand
[    7.697526] Creating 2 MTD partitions on "orion_nand":
[    7.702692] 0x000000000000-0x000000100000 : "u-boot"
[    7.708611] 0x000000100000-0x000008000000 : "ubi"
[    7.716107] libphy: Fixed MDIO Bus: probed
[    7.720935] libphy: orion_mdio_bus: probed
[    7.730161] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.535279] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:90:df
[    8.544142] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.550754] ehci-pci: EHCI PCI platform driver
[    8.555295] ehci-orion: EHCI orion driver
[    8.559515] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.565079] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.572946] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    8.604686] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.610968] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    8.617821] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.625100] usb usb1: Product: EHCI Host Controller
[    8.630000] usb usb1: Manufacturer: Linux 4.15.2-kirkwood-tld-1 ehci_hcd
[    8.636750] usb usb1: SerialNumber: f1050000.ehci
[    8.642046] hub 1-0:1.0: USB hub found
[    8.645915] hub 1-0:1.0: 1 port detected
[    8.650483] usbcore: registered new interface driver usb-storage
[    8.656873] mousedev: PS/2 mouse device common for all mice
[    9.014690] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.216451] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    9.223199] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.230406] usb 1-1: Product: USB2.0 Hub
[    9.235096] hub 1-1:1.0: USB hub found
[    9.239200] hub 1-1:1.0: 4 ports detected
[    9.564681] usb 1-1.4: new high-speed USB device number 3 using orion-ehci
[    9.684679] rtc-mv f1010300.rtc: internal RTC not ticking
[    9.690258] i2c /dev entries driver
[    9.695125] hidraw: raw HID events driver (C) Jiri Kosina
[    9.700892] drop_monitor: Initializing network drop monitor service
[    9.707494] NET: Registered protocol family 17
[    9.712050] Key type dns_resolver registered
[    9.717083] registered taskstats version 1
[    9.721200] Loading compiled-in X.509 certificates
[    9.726147] zswap: loaded using pool lzo/zbud
[    9.735593] usb 1-1.4: New USB device found, idVendor=090c, idProduct=1000
[    9.742527] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.758984] usb 1-1.4: Product: Intenso Slim Line
[    9.763738] usb 1-1.4: Manufacturer: Intenso
[    9.774148] usb 1-1.4: SerialNumber: 1135400000001457
[    9.782447] Key type big_key registered
[    9.787692] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    9.803294] scsi host0: usb-storage 1-1.4:1.0
[    9.807862] Key type encrypted registered
[    9.813689] hctosys: unable to open rtc device (rtc0)
[    9.822233] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[   10.202038] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[   11.175311] scsi 0:0:0:0: Direct-Access     Intenso  Slim Line        1100 PQ: 0 ANSI: 6
[   11.189394] sd 0:0:0:0: [sda] 15720448 512-byte logical blocks: (8.05 GB/7.50 GiB)
[   11.204144] sd 0:0:0:0: [sda] Write Protect is off
[   11.215519] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.239482]  sda: sda1
[   11.247130] sd 0:0:0:0: [sda] Attached SCSI removable disk
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.29.2
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 25427/128000 files, 270706/524288 blocks
done.
[   20.717403] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   20.734770] 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.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   23.402408] marvell-cesa f1030000.crypto: CESA device successfully registered
[   23.451954] orion_wdt: Initial timeout 21 sec
[   23.543820] sd 0:0:0:0: Attached scsi generic sg0 type 0
done.
[warn] Not activating swap on swapfile. ... (warning).
[   24.627755] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Will now activate lvm and md swap:swapon: /var/swapfile: found signature [pagesize=4096, signature=swap]
swapon: /var/swapfile: pagesize=4096, swapsize=134217728, devsize=134217728
swapon /var/swapfile
[   25.519102] Adding 131068k swap on /var/swapfile.  Priority:-2 extents:15 across:2064384k FS
done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[....] Cleaning up temporary fil[   26.059287] random: crng init done
[ ok [....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[....] Will now activate swapfile swap:swapon: /var/swapfile: already active -- ignored
done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:04:90:df
Sending on   LPF/eth0/00:25:31:04:90:df
Sending on   Socket/fallback
DHCPREQUEST of 192.168.5.185 on eth0 to 255.255.255.255 port 67
[   30.979714] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   36.184816] NET: Registered protocol family 10
[   36.192204] Segment Routing with IPv6
DHCPREQUEST of 192.168.5.185 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.5.185 from 192.168.5.1
bound to 192.168.5.185 -- renewal in 4584 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1312 (syslogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting PCSC Lite resource manager: pcscd.
[ ok ] Starting NTP server: ntpd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1311 (klogd)
. ok
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Thu Jan  1 01:00:46 CET 1970 on ttyS0
Linux debian 4.15.2-kirkwood-tld-1 #1 PREEMPT Fri Feb 9 01:52:00 PST 2018 armv5tel

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.

and here the output of dmesg:
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.2-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 PREEMPT Fri Feb 9 01:52:00 PST 2018
[    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: CloudEngines Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] random: fast init done
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000@0x0(u-boot),-@0x100000(ubi)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 238692K/262144K available (8192K kernel code, 750K rwdata, 2068K rodata, 1024K init, 282K bss, 23452K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
                   lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
                   modules : 0xbf000000 - 0xc0000000   (  16 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 751 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 283 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000047] Switching to timer-based delay loop, resolution 5ns
[    0.000560] Console: colour dummy device 80x30
[    0.000600] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000623] pid_max: default: 32768 minimum: 301
[    0.000783] Security Framework initialized
[    0.000936] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000962] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001875] CPU: Testing write buffer coherency: ok
[    0.002964] Setting up static identity map for 0x100000 - 0x100058
[    0.003231] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.003493] Hierarchical SRCU implementation.
[    0.006937] devtmpfs: initialized
[    0.011309] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011338] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.011711] prandom: seed boundary self test passed
[    0.015918] prandom: 100 self tests passed
[    0.015931] pinctrl core: initialized pinctrl subsystem
[    0.017055] NET: Registered protocol family 16
[    0.017539] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018150] audit: initializing netlink subsys (disabled)
[    0.018450] audit: type=2000 audit(0.010:1): state=initialized audit_enabled=0 res=1
[    0.019369] cpuidle: using governor ladder
[    0.019441] cpuidle: using governor menu
[    0.019913] Feroceon L2: Enabling L2
[    0.019960] Feroceon L2: Cache support initialised.
[    0.020360] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.024761] No ATAGs?
[    0.032758] vgaarb: loaded
[    0.033096] SCSI subsystem initialized
[    0.033285] libata version 3.00 loaded.
[    0.033526] usbcore: registered new interface driver usbfs
[    0.033592] usbcore: registered new interface driver hub
[    0.033648] usbcore: registered new device driver usb
[    0.034653] clocksource: Switched to clocksource orion_clocksource
[    0.127500] VFS: Disk quotas dquot_6.6.0
[    0.127587] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.136581] NET: Registered protocol family 2
[    0.137371] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.137410] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.137442] TCP: Hash tables configured (established 2048 bind 2048)
[    0.137532] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.137557] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.137760] NET: Registered protocol family 1
[    0.138196] RPC: Registered named UNIX socket transport module.
[    0.138209] RPC: Registered udp transport module.
[    0.138217] RPC: Registered tcp transport module.
[    0.138225] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.138238] PCI: CLS 0 bytes, default 32
[    0.138482] Unpacking initramfs...
[    0.843140] Freeing initrd memory: 7768K
[    0.843297] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.844304] Initialise system trusted keyrings
[    0.844360] Key type blacklist registered
[    0.844550] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.844731] zbud: loaded
[    0.845673] NFS: Registering the id_resolver key type
[    0.845700] Key type id_resolver registered
[    0.845709] Key type id_legacy registered
[    0.845727] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.845738] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.846002] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.846202] fuse init (API version 7.26)
[    0.846562] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.846749] orangefs_init: module version upstream loaded
[    0.846761] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    6.803965] Key type asymmetric registered
[    6.803982] Asymmetric key parser 'x509' registered
[    6.804047] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.804061] io scheduler noop registered
[    6.804069] io scheduler deadline registered
[    6.804161] io scheduler cfq registered (default)
[    6.805572] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.807528] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.865441] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.865689] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.925424] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.925873] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.927033] console [ttyS0] disabled
[    6.927101] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    7.529381] console [ttyS0] enabled
[    7.539193] loop: module loaded
[    7.543423] nand: Could not find valid ONFI parameter page; aborting
[    7.549861] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    7.556262] nand: Hynix NAND 128MiB 3,3V 8-bit
[    7.560726] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.568358] Scanning device for bad blocks
[    7.587510] Bad eraseblock 140 at 0x000001180000
[    7.634243] Bad eraseblock 534 at 0x0000042c0000
[    7.691210] 2 cmdlinepart partitions found on MTD device orion_nand
[    7.697526] Creating 2 MTD partitions on "orion_nand":
[    7.702692] 0x000000000000-0x000000100000 : "u-boot"
[    7.708611] 0x000000100000-0x000008000000 : "ubi"
[    7.716107] libphy: Fixed MDIO Bus: probed
[    7.720935] libphy: orion_mdio_bus: probed
[    7.730161] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.535279] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:90:df
[    8.544142] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.550754] ehci-pci: EHCI PCI platform driver
[    8.555295] ehci-orion: EHCI orion driver
[    8.559515] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.565079] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.572946] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    8.604686] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.610968] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    8.617821] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.625100] usb usb1: Product: EHCI Host Controller
[    8.630000] usb usb1: Manufacturer: Linux 4.15.2-kirkwood-tld-1 ehci_hcd
[    8.636750] usb usb1: SerialNumber: f1050000.ehci
[    8.642046] hub 1-0:1.0: USB hub found
[    8.645915] hub 1-0:1.0: 1 port detected
[    8.650483] usbcore: registered new interface driver usb-storage
[    8.656873] mousedev: PS/2 mouse device common for all mice
[    9.014690] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.216451] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    9.223199] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.230406] usb 1-1: Product: USB2.0 Hub
[    9.235096] hub 1-1:1.0: USB hub found
[    9.239200] hub 1-1:1.0: 4 ports detected
[    9.564681] usb 1-1.4: new high-speed USB device number 3 using orion-ehci
[    9.684679] rtc-mv f1010300.rtc: internal RTC not ticking
[    9.690258] i2c /dev entries driver
[    9.695125] hidraw: raw HID events driver (C) Jiri Kosina
[    9.700892] drop_monitor: Initializing network drop monitor service
[    9.707494] NET: Registered protocol family 17
[    9.712050] Key type dns_resolver registered
[    9.717083] registered taskstats version 1
[    9.721200] Loading compiled-in X.509 certificates
[    9.726147] zswap: loaded using pool lzo/zbud
[    9.735593] usb 1-1.4: New USB device found, idVendor=090c, idProduct=1000
[    9.742527] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.758984] usb 1-1.4: Product: Intenso Slim Line
[    9.763738] usb 1-1.4: Manufacturer: Intenso
[    9.774148] usb 1-1.4: SerialNumber: 1135400000001457
[    9.782447] Key type big_key registered
[    9.787692] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    9.803294] scsi host0: usb-storage 1-1.4:1.0
[    9.807862] Key type encrypted registered
[    9.813689] hctosys: unable to open rtc device (rtc0)
[    9.822233] Freeing unused kernel memory: 1024K
[   10.202038] usbcore: registered new interface driver uas
[   11.175311] scsi 0:0:0:0: Direct-Access     Intenso  Slim Line        1100 PQ: 0 ANSI: 6
[   11.189394] sd 0:0:0:0: [sda] 15720448 512-byte logical blocks: (8.05 GB/7.50 GiB)
[   11.204144] sd 0:0:0:0: [sda] Write Protect is off
[   11.214763] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   11.215519] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.239482]  sda: sda1
[   11.247130] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   20.717403] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   20.734770] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   23.402408] marvell-cesa f1030000.crypto: CESA device successfully registered
[   23.451954] orion_wdt: Initial timeout 21 sec
[   23.543820] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   24.627755] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   25.519102] Adding 131068k swap on /var/swapfile.  Priority:-2 extents:15 across:2064384k FS
[   26.059287] random: crng init done
[   30.979714] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   36.184816] NET: Registered protocol family 10
[   36.192204] Segment Routing with IPv6
and the error message from fw_printenv (its in german and means memory access error):
root@debian:~# fw_printenv
Speicherzugriffsfehler
root@debian:~#
I have tested with this kernels on same Pogo and envs also on two other Pogos:
Kernel 4.15.2 not OK
Kernel 4.14.1 OK
Kernel 4.12.1 OK
Kernel 4.10.9 OK

--joerg_999



Edited 5 time(s). Last edit at 04/12/2018 02:38AM by joerg_999.
cat /etc/fw_env.config
root@debian:~# cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
seems to be OK.
Re: memory access error with fw_printenv / fw_setenv command with kernel linux-4.15.2-kirkwood-tld-1
April 12, 2018 05:19PM
joerg,

Quote

>
> root@debian:~# cat /etc/fw_env.config
> # MTD device name       Device offset   Env. size 
>      Flash sector size       Number of sectors
> /dev/mtd0 0xc0000 0x20000 0x20000
> 
seems to be OK.

Yes. That's the correct address.

Is the memory error about something "too few addresses within range"? If that was, look at your /boot/dts/kirkwood-pogo_e02.dtb and make sure that was the latest from kernel 4.15.2.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
no, i dont think so, the dtb file seems also correct:
 10106 Feb 10 00:14 kirkwood-pogo_e02.dtb
curios?!?

SOLVED!
maybe you was right Bodhi, i created a new filesystem and generate a new uImage / uInitrd with kernel 4.15.2 took the new dts files for Pogo and what can i say: it works.
but it was not a wrong dtb file (same size same date....) maybe an other corruption in my filesystem.

Thanks again for the hint, everything is fine now...

joerg_999



Edited 3 time(s). Last edit at 04/12/2018 07:24PM by joerg_999.
Re: memory access error with fw_printenv / fw_setenv command with kernel linux-4.15.2-kirkwood-tld-1
April 12, 2018 08:11PM
joerg_999 Wrote:
-------------------------------------------------------
> no, i dont think so, the dtb file seems also
> correct:
>  10106 Feb 10 00:14 kirkwood-pogo_e02.dtb
>
> curios?!?
>
> SOLVED!
> maybe you was right Bodhi, i created a new
> filesystem and generate a new uImage / uInitrd
> with kernel 4.15.2 took the new dts files for Pogo
> and what can i say: it works.
> but it was not a wrong dtb file (same size same
> date....) maybe an other corruption in my
> filesystem.
>
> Thanks again for the hint, everything is fine
> now...
>
> joerg_999

Cool!

-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: