Welcome! Log In Create A New Profile

Advanced

Debian on GlobalScale Dreamplug

Posted by rayknight 
Re: GlobalScale Dreamplug
June 18, 2017 04:27PM
renojim Wrote:
-------------------------------------------------------
> (0xf << 16) = 0xF0000, so bits 16, 17, 18, and 19
> are 1s (assuming the first bit is 0).

JT, thanks. But it's not an answer I really hope to see :) I know the numbers below are correct. So I thought they should be 15 to 18.

gpio-leds {
                compatible = "gpio-leds";
                pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi
                             &pmx_led_wifi_ap >;
                pinctrl-names = "default";

                bluetooth {
                        label = "dreamplug:blue:bluetooth";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
                wifi {
                        label = "dreamplug:green:wifi";
                        gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
                };
                wifi-ap {
                        label = "dreamplug:green:wifi_ap";
                        gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
                };
        };

Let me take a look at other u-boot code to see where bit 0 is.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 18, 2017 04:37PM
Looks like u-boot code is wrong,

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 19, 2017 01:39PM
>
> sorry :( I don't even balance my check book.
>

Sound familiar :))


Status:

I'm almost done with this u-boot. The only thing remained to be figure out is some unknown GPIOs, which does not really affect functionality.

Just cosmetics, but very annoying to have the brigh LED light on all the time. I reset the stock password and booted back to stock, logged in, shutdown, and all LEDs light are still on after it was poweroff (the same way feas observed). I need to have spend some time to sit down and poking all the GPIOs to see if I can find out more.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 19, 2017 02:55PM
It is just the green power indicator which stays on for me. The three exterior and two interior near the micro sdcard turn off for me.

for your u-boot that is.



Edited 1 time(s). Last edit at 06/19/2017 03:46PM by feas.
Re: GlobalScale Dreamplug
June 19, 2017 06:36PM
feas Wrote:
-------------------------------------------------------
> It is just the green power indicator which stays o
> n for me. The three exterior and two interior near
> the micro sdcard turn off for me.
>
> for your u-boot that is.

I think the yours and my stock rootfs versions are different too. Could you do
uname -a
in stock?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 19, 2017 10:42PM
bodhi Wrote:
-------------------------------------------------------
> feas Wrote:
> --------------------------------------------------
> -----
> > It is just the green power indicator which stays
> o
> > n for me. The three exterior and two interior ne
> ar
> > the micro sdcard turn off for me.
> >
> > for your u-boot that is.
>
> I think the yours and my stock rootfs versions are
> different too. Could you do
> uname -a
> in stock?

Sorry, have been playing with several versions I have found from newit and and spinifex and don't remember just which one that was. Do you want me to use your stock version and see?
Re: GlobalScale Dreamplug
June 20, 2017 12:06AM
feas,

This is my stock. Just curious, because mine did not turn off the LED lights once it is on. But it is not important, we know how to turn off 3 out of 4 LEDs in the new kernel.

U-Boot 2011.06-02334-g8f495d9-dirty (Aug 18 2011 - 02:09:07)
Marvell-DreamPlug

Linux version 2.6.33.7-dirty (root@localhost.localdomain) (gcc version 4.2.1) #2 PREEMPT Wed Apr 20 22:14:16 EDT 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 20, 2017 01:27AM
Here is the current one.

U-Boot 2011.06-02334-g8f495d9-dirty (Aug 18 2011 - 02:09:07)
Marvell-DreamPlug

dreamplug-debian:~# uname -a
Linux dreamplug-debian 2.6.33.7-dirty #2 PREEMPT Wed Apr 20 22:14:16 EDT 2011 armv5tel GNU/Linux

It only has the two blue leds (ap and bluetooth) on and the power. The middle green was never on.

It just seems to me that the different scripts in the rootfs are controlling what is done with the LEDS so as part of the shutdown the script can call for them to be turned off. Well all but the power indicator it seems.

From dmesg like yours

Linux version 2.6.33.7-dirty (root@localhost.localdomain) (gcc version 4.2.1) #2 PREEMPT Wed Apr 20 22:14:16 EDT 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977

Do you want me to try the different ones and note details of each?
Re: GlobalScale Dreamplug
June 20, 2017 02:19AM
feas,

> Do you want me to try the different ones and note
> details of each?

It's OK feas. We don't need to. The only LED that I am interested in is the Power LED. We know how to control other LEDs in Debian already. You could try that to observe the Power LED, in the slim chance that one of them is different.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 20, 2017 02:36AM
bodhi Wrote:

> It's OK feas. We don't need to. The only LED that
> I am interested in is the Power LED. We know how t
> o control other LEDs in Debian already. You could
> try that to observe the Power LED, in the slim cha
> nce that one of them is different.

ok

on a side note the other gpio pins you were wondering about, could they be the various leds for ethernet, audio, sdcards etc... which seem to be functioning already properly?
Re: GlobalScale Dreamplug
June 20, 2017 02:56AM
feas,

> on a side note the other gpio pins you were wonder
> ing about, could they be the various leds for ethe
> rnet, audio, sdcards etc... which seem to be funct
> ioning already properly?

LEDs should be functioning in stock OS. But in Debian they might be not as we want. The only LEDs that we can control in Debian are the bluetooth, wifi, wifi_ap which are in the DTS.

Alos, usually there are a whole bunch of GPIOs other than LEDs that are exposed and can be controlled.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 20, 2017 03:12AM
bodhi Wrote:
-------------------------------------------------------
> feas,
>
> > on a side note the other gpio pins you were wond
> er
> > ing about, could they be the various leds for et
> he
> > rnet, audio, sdcards etc... which seem to be fun
> ct
> > ioning already properly?
>
> LEDs should be functioning in stock OS. But in Deb
> ian they might be not as we want. The only LEDs th
> at we can control in Debian are the bluetooth, wif
> i, wifi_ap which are in the DTS.
>
> Alos, usually there are a whole bunch of GPIOs oth
> er than LEDs that are exposed and can be controll
> ed.

This help?

https://fccid.io/pdf.php?id=1437845
Re: GlobalScale Dreamplug
June 20, 2017 03:45AM
feas,

> This help?
>
> https://fccid.io/pdf.php?id=1437845

Big time :) exactly what we're looking for.

So these 3 GPIOs for LEDS that we can control: MPP 47, 48, and 49. Which are 15, 16, and 17 on GPIO1 bank. This we knew from the kernel DTS.

The Power LED is a different story. It is hard wired. Please search for "POWER LED" or "+5V/3A POWER IN" in the schematic and confirm what I read. It is turned on when the DC jack power is connected. There is no MPP to control it. And I did not see any GPIO for Power Off either.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 20, 2017 04:11AM
bodhi Wrote:
-------------------------------------------------------
> feas,
>
> > This help?
> >
> > https:/
> /fccid.io/pdf.php?id=1437845

>
> Big time :) exactly what we're looking for.
>
> So these 3 GPIOs for LEDS that we can control: MPP
> 47, 48, and 49. Which are 15, 16, and 17 on GPIO1
> bank. This we knew from the kernel DTS.
>
> The Power LED is a different story. It is hard wir
> ed. Please search for "POWER LED" or "+5V/3A POWER
> IN" in the schematic and confirm what I read. It i
> s turned on when the DC jack power is connected. T
> here is no MPP to control it. And I did not see an
> y GPIO for Power Off either.

correct. D6G_LED and confirmed on the board also.

Did this clear up your other gpio questions or do you not see a connection to board gpio numbers from debian/kernel that is causing the issue?
Re: GlobalScale Dreamplug
June 20, 2017 04:48AM
feas,

> Did this clear up your other gpio questions or do
> you not see a connection to board gpio numbers fro
> m debian/kernel that is causing the issue?

It did! so I know now not to waste time looking for the Power LED GPIO, and Poweroff GPIO. The other GPIOs in this schematic were already in u-boot.

So as far as u-boot is concerned, we just need to veryify eSATA rootfs booting and netconsole capability and we're done. Let me run a sanity test with RC6 and then upload it.

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



Edited 1 time(s). Last edit at 06/20/2017 04:52AM by bodhi.
Re: GlobalScale Dreamplug
June 20, 2017 05:09AM
Here is RC6.

uboot.2016.05-tld-4-rc6.dreamplug.mtd0.kwb

It should be the final test version, if we can verify eSATA rootfs booting and netconsole.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2016.05-tld-4-rc6.dreamplug.mtd0.kwb (512 KB)
Re: GlobalScale Dreamplug
June 21, 2017 03:02PM
maybe an old fart moment again but I have been having strange activity than before.

I run kwboot and it gets to 99% than get my normal prompt instead of seeing u-boot loading. It works and the dream plug boots in new rootfs but can't access u-boot.

feas@debian-laptop:~/testing$ kwboot -p -b uboot.2016.05-tld-4-rc6.dreamplug.mtd0.kwb -B 115200 /dev/ttyUSB0
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  ### snip ###
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
feas@debian-laptop:~/testing$ 
Re: GlobalScale Dreamplug
June 21, 2017 03:30PM
feas,

> I run kwboot and it gets to 99% than get my normal
> prompt instead of seeing u-boot loading. It works
> and the dream plug boots in new rootfs but can't a
> ccess u-boot.

This strange behavior might be a faulty serial connection. I did this test and it ran normally.

./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-4-rc6.dreamplug.mtd0.kwb   -p 
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]

 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2016.05-tld-4-rc6 (Jun 19 2017 - 22:43:45 -0700)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected MX25L1605D with page size 256 Bytes, erase size 64 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
Dreamplug>

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 21, 2017 03:47PM
Netconsole:

Does not work well for me. I could interrupt u-boot and do all the usual things at u-boot prompt. But the kernel not complete booting afterward. I'll have to track it down some more.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 21, 2017 11:36PM
Hi feas,

I'm having problem with eSATA. Do you have some way to test it? just bring up a HDD inside eSATA enclosure would be enough. No need to do rootfs yet.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 21, 2017 11:39PM
bodhi Wrote:
-------------------------------------------------------
> Hi feas,
>
> I'm having problem with eSATA. Do you have some wa
> y to test it? just bring up a HDD inside eSATA enc
> losure would be enough. No need to do rootfs yet.


NVM. I just did not have enough juice :) it is fine now.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 22, 2017 01:38AM
sorry just saw your post. no I don't have external drives.
Re: GlobalScale Dreamplug
June 30, 2017 04:34AM
Hi feas,

This is the 2017.05 pre-release version for u-boot. If all goes well in your kwboot test (my test was all OK), I will write installation instruction to flash this u-boot to SPI flash. The installation will be from stock OS (but it could also be done similarly if you have already booted Debian). I will rebuild this same version (with some cleanup) before releasing.

Even though it is a Kirkwood and will be released in the u-boot Kirkwood thread, it will point to a separated u-boot installation instruction post, similar to the HP Thin Client T5325. It deals with SPI flash, so flashing is different from other NAND u-boot.

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



Edited 2 time(s). Last edit at 07/04/2017 04:39AM by bodhi.
Attachments:
open | download - uboot.2017.05-tld-1.dreamplug.mtd0.kwb (512 KB)
Re: GlobalScale Dreamplug
June 30, 2017 02:47PM
Here is what I got booting the new u-boot on a clean usb with your rootfs on USB Device 1. BTW, I do have an original rootfs/kernel on the internal micro sdcard which is reflected on USB Device 0.

U-Boot 2017.05-tld-1 (Jun 30 2017 - 02:01:27 -0700)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected mx25l1605d with page size 256 Bytes, erase size 64 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... ERROR: Invalid USB EP length (9)
ERROR: Invalid USB EP length (9)
5 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)
Device NOT ready
   Request Sense returned 02 3A 00

Use USB retry period from the environment: 15 second(s)
2 Storage Device(s) found
Unknown command 'mmc' - try 'help'

Reset IDE: ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	53        	212583    	b74937c3-01	06 Boot
  2	212636    	7611118   	b74937c3-02	83


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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	61315072  	d43b08e6-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
loading envs from usb 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **
Unknown command 'mmc' - try 'help'

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
reading /boot/uImage
** Unable to read file /boot/uImage **
device usb 1:1
1 bytes read in 232 ms (0 Bytes/s)
Found bootable drive on usb 1
loading uImage ...
3154896 bytes read in 371 ms (8.1 MiB/s)
loading uInitrd ...
7179935 bytes read in 474 ms (14.4 MiB/s)
loading DTB /boot/dts/kirkwood-dreamplug.dtb ...
10267 bytes read in 747 ms (12.7 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   5:55:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3154832 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 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 0f927000, end 0ffffe5f ... OK
   Loading Device Tree to 0f921000, end 0f92681a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Globalscale Technologies Dreamplug
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x100000@0(u-boot),0x10000@0x100000(stock_u_boot_env),0x10000@0x180000(stock_dtb)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 503472K/524288K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 20816K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 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.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000327] Console: colour dummy device 80x30
[    0.000359] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090105] pid_max: default: 32768 minimum: 301
[    0.090217] Security Framework initialized
[    0.090294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090315] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091107] Initializing cgroup subsys io
[    0.091141] Initializing cgroup subsys devices
[    0.091165] Initializing cgroup subsys freezer
[    0.091197] Initializing cgroup subsys net_cls
[    0.091281] CPU: Testing write buffer coherency: ok
[    0.091732] Setting up static identity map for 0x8200 - 0x8258
[    0.092031] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095742] devtmpfs: initialized
[    0.100271] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100733] prandom: seed boundary self test passed
[    0.104491] prandom: 100 self tests passed
[    0.104518] pinctrl core: initialized pinctrl subsystem
[    0.105899] NET: Registered protocol family 16
[    0.106349] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130106] cpuidle: using governor ladder
[    0.160104] cpuidle: using governor menu
[    0.160526] Feroceon L2: Enabling L2
[    0.160573] Feroceon L2: Cache support initialised.
[    0.160955] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.161064] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.166229] No ATAGs?
[    0.201592] vgaarb: loaded
[    0.201956] usbcore: registered new interface driver usbfs
[    0.202038] usbcore: registered new interface driver hub
[    0.202102] usbcore: registered new device driver usb
[    0.203196] clocksource: Switched to clocksource orion_clocksource
[    0.258536] NET: Registered protocol family 2
[    0.259327] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259388] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259440] TCP: Hash tables configured (established 4096 bind 4096)
[    0.259508] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.259532] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.259729] NET: Registered protocol family 1
[    0.260130] RPC: Registered named UNIX socket transport module.
[    0.260142] RPC: Registered udp transport module.
[    0.260150] RPC: Registered tcp transport module.
[    0.260158] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260438] Unpacking initramfs...
[    0.903236] Freeing initrd memory: 7012K (cf927000 - d0000000)
[    0.903361] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.904449] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.904521] audit: initializing netlink subsys (disabled)
[    0.904573] audit: type=2000 audit(0.900:1): initialized
[    0.904923] Initialise system trusted keyring
[    0.905312] zbud: loaded
[    0.905609] VFS: Disk quotas dquot_6.6.0
[    0.905668] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.906212] NFS: Registering the id_resolver key type
[    0.906251] Key type id_resolver registered
[    0.906261] Key type id_legacy registered
[    0.906287] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.906301] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.906532] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.907074] Key type big_key registered
[    0.927321] Key type asymmetric registered
[    0.927346] Asymmetric key parser 'x509' registered
[    0.927444] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.927465] io scheduler noop registered
[    0.927481] io scheduler deadline registered
[    0.927544] io scheduler cfq registered (default)
[    0.928895] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.929572] irq: Cannot allocate irq_descs @ IRQ35, assuming pre-allocated
[    0.929994] irq: Cannot allocate irq_descs @ IRQ67, assuming pre-allocated
[    0.930528] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.963906] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.964131] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.003896] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.004381] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.005779] console [ttyS0] disabled
[    1.005840] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.620871] console [ttyS0] enabled
[    1.626399] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[    1.631323] 3 cmdlinepart partitions found on MTD device spi0.0
[    1.637326] Creating 3 MTD partitions on "spi0.0":
[    1.642141] 0x000000000000-0x000000100000 : "u-boot"
[    1.648418] 0x000000100000-0x000000110000 : "stock_u_boot_env"
[    1.655548] 0x000000180000-0x000000190000 : "stock_dtb"
[    1.662958] libphy: Fixed MDIO Bus: probed
[    1.667466] libphy: orion_mdio_bus: probed
[    1.681027] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.689587] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f0:ad:4e:00:cb:61
[    1.699173] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address f0:ad:4e:00:cb:62
[    1.708172] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.714808] ehci-pci: EHCI PCI platform driver
[    1.719347] ehci-orion: EHCI orion driver
[    1.723606] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.729146] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.737049] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.753235] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.759497] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.766349] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.773620] usb usb1: Product: EHCI Host Controller
[    1.778519] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    1.785181] usb usb1: SerialNumber: f1050000.ehci
[    1.790691] hub 1-0:1.0: USB hub found
[    1.794542] hub 1-0:1.0: 1 port detected
[    1.799489] mousedev: PS/2 mouse device common for all mice
[    1.805819] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.812899] i2c /dev entries driver
[    1.817875] hidraw: raw HID events driver (C) Jiri Kosina
[    1.823732] drop_monitor: Initializing network drop monitor service
[    1.830284] NET: Registered protocol family 17
[    1.835085] Key type dns_resolver registered
[    1.840211] registered taskstats version 1
[    1.844409] Loading compiled-in X.509 certificates
[    1.849274] zswap: loaded using pool lzo/zbud
[    1.862387] Key type encrypted registered
[    1.867060] rtc-mv f1010300.rtc: setting system clock to 2017-06-30 19:31:11 UTC (1498851071)
[    1.877980] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    1.964024] systemd-udevd[83]: starting version 215
[    1.970930] random: systemd-udevd urandom read with 3 bits of entropy available
[    2.113292] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.151220] SCSI subsystem initialized
[    2.221085] mmc0: new high speed SDIO card at address 0001
[    2.230451] sata_mv f1080000.sata: slots 32 ports 1
[    2.269391] scsi host0: sata_mv
[    2.272925] ata1: SATA max UDMA/133 irq 33
[    2.277940] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[    2.289854] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.303293] usb 1-1: Product: USB 2.0 Hub
[    2.313957] hub 1-1:1.0: USB hub found
[    2.321669] hub 1-1:1.0: 4 ports detected
[    2.603227] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[    2.673236] ata1: SATA link down (SStatus 0 SControl F300)
[    2.715439] usb 1-1.1: New USB device found, idVendor=05e3, idProduct=0726
[    2.722375] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=2
[    2.743303] usb 1-1.1: Product: USB Storage
[    2.747527] usb 1-1.1: SerialNumber: 000000009910
[    2.770591] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    2.777408] scsi host1: usb-storage 1-1.1:1.0
[    2.783838] usbcore: registered new interface driver usb-storage
[    2.792920] usbcore: registered new interface driver uas
[    2.843236] usb 1-1.2: new high-speed USB device number 4 using orion-ehci
[    2.954184] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5575
[    2.961106] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.968487] usb 1-1.2: Product: Cruzer Glide
[    2.972776] usb 1-1.2: Manufacturer: SanDisk
[    2.977085] usb 1-1.2: SerialNumber: 4C530001101019121442
[    2.985952] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    2.994116] scsi host2: usb-storage 1-1.2:1.0
[    3.073231] usb 1-1.4: new full-speed USB device number 5 using orion-ehci
[    3.184434] usb 1-1.4: New USB device found, idVendor=0d8c, idProduct=000c
[    3.191356] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.198738] usb 1-1.4: Product: C-Media USB Headphone Set  
[    3.219116] input: C-Media USB Headphone Set   as /devices/platform/ocp@f1000000/f1050000.ehci/usb1/1-1/1-1.4/1-1.4:1.3/0003:0D8C:000C.0001/input/input0
[    3.283723] hid-generic 0003:0D8C:000C.0001: input,hidraw0: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-f1050000.ehci-1.4/input3
[    3.297612] usbcore: registered new interface driver usbhid
[    3.303285] usbhid: USB HID core driver
[    3.794402] scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
[    3.803288] scsi 1:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
[    3.824999] sd 1:0:0:0: [sda] 7829504 512-byte logical blocks: (4.00 GB/3.73 GiB)
[    3.834888] sd 1:0:0:1: [sdb] Attached SCSI removable disk
[    3.841879] sd 1:0:0:0: [sda] Write Protect is off
[    3.847721] sd 1:0:0:0: [sda] No Caching mode page found
[    3.853062] sd 1:0:0:0: [sda] Assuming drive cache: write through
[    3.865344]  sda: sda1 sda2
[    3.872468] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    3.882661] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    3.888902] sd 1:0:0:1: Attached scsi generic sg1 type 0
[    3.994302] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.27 PQ: 0 ANSI: 6
[    4.006118] sd 2:0:0:0: [sdc] 61318208 512-byte logical blocks: (31.3 GB/29.2 GiB)
[    4.016207] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    4.027742] sd 2:0:0:0: [sdc] Write Protect is off
[    4.034712] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.055746]  sdc: sdc1
[    4.063617] sd 2:0:0:0: [sdc] Attached SCSI removable disk
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.
modprobe: module ext3 not found in modules.dep
Begin: Checking root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sdc1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.913764] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   17.934083] EXT4-fs (sdc1): 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.
[....] Starting the hotplug events dispatcher: udevd[   19.280614] systemd-udevd[302]: starting version 215
[ ok [   19.365446] random: nonblocking pool is initialized
.
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   19.846881] marvell-cesa: probe of f1030000.crypto failed with error -524
[   19.897519] orion_wdt: Initial timeout 21 sec
[   20.319484] usbcore: registered new interface driver snd-usb-audio
[   20.345270] Bluetooth: Core ver 2.21
[   20.369683] NET: Registered protocol family 31
[   20.415276] Bluetooth: HCI device and connection manager initialized
[   20.421711] Bluetooth: HCI socket layer initialized
[   20.483507] Bluetooth: L2CAP socket layer initialized
[   20.488622] Bluetooth: SCO socket layer initialized
[   20.507682] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.526061] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sd8787_uapsta.bin
[   20.542131] mwifiex_sdio mmc0:0001:1: info: mwifiex_fw_dpc: unregister device
[   20.570399] Bluetooth: vendor=0x2df, device=0x911a, class=255, fn=2
[   20.633456] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.643096] Bluetooth: request_firmware(firmware) failed, error code = -2
[   20.650013] Bluetooth: Failed to download firmware!
[   20.654953] Bluetooth: Downloading firmware failed!
[   20.660102] Bluetooth: vendor=0x2df, device=0x911b, class=255, fn=3
[   20.683331] btmrvl_sdio mmc0:0001:3: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.692943] Bluetooth: request_firmware(firmware) failed, error code = -2
[   20.699820] Bluetooth: Failed to download firmware!
[   20.704835] Bluetooth: Downloading firmware failed!
done.
[ ok ] Activating swap...done.
[   21.317185] EXT4-fs (sdc1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14515/1916928 files, 296654/7664384 blocks
done.
[   21.540682] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   24.124896] NET: Registered protocol family 10
[   24.215077] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/f0:ad:4e:00:cb:61
Sending on   LPF/eth0/f0:ad:4e:00:cb:61
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
[   27.729673] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   27.739597] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.86.1
DHCPACK from 192.168.86.1
bound to 192.168.86.3 -- renewal in 1788 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ 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...
1258 (syslogd)
. ok 
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1256 (klogd)
. ok 

Debian GNU/Linux 8 debian ttyS0

debian login: 

Re: GlobalScale Dreamplug
June 30, 2017 05:18PM
Thank feas!

It looks good.

I noticed that you have saved the evns in your box. I've changed the internal default envs so the mtdparts now looks like:

mtdparts=spi0.0:0x80000@0(u-boot),0x10000@0xC0000(u-boot-env),0x10000@0x100000(u-boot-env-stock),0x80000@0x180000(u-boot-stock)

I am using the last mtd for storing stock u-boot as a mean to boot back into stock.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GlobalScale Dreamplug
June 30, 2017 09:53PM
bodhi Wrote:
-------------------------------------------------------
> Thank feas!
>
> It looks good.
>
> I noticed that you have saved the evns in your box
> . I've changed the internal default envs so the mt
> dparts now looks like:
>
>
> mtdparts=spi0.0:0x80000@0(u-boot),0x10000@0xC0000(
> u-boot-env),0x10000@0x100000(u-boot-env-stock),0x8
> 0000@0x180000(u-boot-stock)
>
>
> I am using the last mtd for storing stock u-boot a
> s a mean to boot back into stock.

I may have but don't recall doing so, so I grabbed another one that I have and here is what I have for it.

U-Boot 2017.05-tld-1 (Jun 30 2017 - 02:01:27 -0700)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected mx25l1605d with page size 256 Bytes, erase size 64 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
Dreamplug> printenv
arcNumber=3550
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm$load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-dreamplug.dtb
eth1addr=7e:16:30:7e:c8:ac
ethact=egiga0
ethaddr=b6:d0:5e:0f:a1:17
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x80000@0(u-boot),0x10000@0xC0000(u-boot-env),0x10000@0x100000(u-boot-env-stock),0x80000@0x180000(u-boot-stock)
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2915/65532 bytes
Dreamplug>

Dreamplug> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... ERROR: Invalid USB EP length (9)
ERROR: Invalid USB EP length (9)
5 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
Device NOT ready
   Request Sense returned 03 30 00

Use USB retry period from the environment: 15 second(s)
Device NOT ready
   Request Sense returned 02 3A 00

Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	61315072  	d43b08e6-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 **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 232 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3154896 bytes read in 372 ms (8.1 MiB/s)
loading uInitrd ...
7179935 bytes read in 475 ms (14.4 MiB/s)
loading DTB /boot/dts/kirkwood-dreamplug.dtb ...
10267 bytes read in 747 ms (12.7 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   5:55:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3154832 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 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 0f927000, end 0ffffe5f ... OK
   Loading Device Tree to 0f921000, end 0f92681a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Globalscale Technologies Dreamplug
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x80000@0(u-boot),0x10000@0xC0000(u-boot-env),0x10000@0x100000(u-boot-env-stock),0x80000@0x180000(u-boot-stock)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 503472K/524288K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 20816K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 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.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000327] Console: colour dummy device 80x30
[    0.000357] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090106] pid_max: default: 32768 minimum: 301
[    0.090219] Security Framework initialized
[    0.090296] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090316] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091105] Initializing cgroup subsys io
[    0.091139] Initializing cgroup subsys devices
[    0.091164] Initializing cgroup subsys freezer
[    0.091196] Initializing cgroup subsys net_cls
[    0.091277] CPU: Testing write buffer coherency: ok
[    0.091728] Setting up static identity map for 0x8200 - 0x8258
[    0.092027] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095744] devtmpfs: initialized
[    0.100273] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100735] prandom: seed boundary self test passed
[    0.104494] prandom: 100 self tests passed
[    0.104520] pinctrl core: initialized pinctrl subsystem
[    0.105897] NET: Registered protocol family 16
[    0.106348] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130107] cpuidle: using governor ladder
[    0.160106] cpuidle: using governor menu
[    0.160527] Feroceon L2: Enabling L2
[    0.160574] Feroceon L2: Cache support initialised.
[    0.160955] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.161065] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.166226] No ATAGs?
[    0.201593] vgaarb: loaded
[    0.201956] usbcore: registered new interface driver usbfs
[    0.202038] usbcore: registered new interface driver hub
[    0.202101] usbcore: registered new device driver usb
[    0.203197] clocksource: Switched to clocksource orion_clocksource
[    0.258548] NET: Registered protocol family 2
[    0.259338] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259400] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259453] TCP: Hash tables configured (established 4096 bind 4096)
[    0.259520] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.259544] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.259743] NET: Registered protocol family 1
[    0.260140] RPC: Registered named UNIX socket transport module.
[    0.260153] RPC: Registered udp transport module.
[    0.260161] RPC: Registered tcp transport module.
[    0.260168] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260448] Unpacking initramfs...
[    0.903299] Freeing initrd memory: 7012K (cf927000 - d0000000)
[    0.903426] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.904516] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.904589] audit: initializing netlink subsys (disabled)
[    0.904640] audit: type=2000 audit(0.900:1): initialized
[    0.904993] Initialise system trusted keyring
[    0.905388] zbud: loaded
[    0.905687] VFS: Disk quotas dquot_6.6.0
[    0.905747] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.906283] NFS: Registering the id_resolver key type
[    0.906323] Key type id_resolver registered
[    0.906333] Key type id_legacy registered
[    0.906360] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.906374] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.906604] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.907143] Key type big_key registered
[    0.927363] Key type asymmetric registered
[    0.927386] Asymmetric key parser 'x509' registered
[    0.927485] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.927508] io scheduler noop registered
[    0.927523] io scheduler deadline registered
[    0.927586] io scheduler cfq registered (default)
[    0.928936] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.929610] irq: Cannot allocate irq_descs @ IRQ35, assuming pre-allocated
[    0.930031] irq: Cannot allocate irq_descs @ IRQ67, assuming pre-allocated
[    0.930566] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.963904] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.964132] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.003899] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.004382] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.005775] console [ttyS0] disabled
[    1.005837] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.623483] console [ttyS0] enabled
[    1.628991] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[    1.633963] 4 cmdlinepart partitions found on MTD device spi0.0
[    1.639908] Creating 4 MTD partitions on "spi0.0":
[    1.644749] 0x000000000000-0x000000080000 : "u-boot"
[    1.651012] 0x0000000c0000-0x0000000d0000 : "u-boot-env"
[    1.657623] 0x000000100000-0x000000110000 : "u-boot-env-stock"
[    1.664745] 0x000000180000-0x000000200000 : "u-boot-stock"
[    1.672444] libphy: Fixed MDIO Bus: probed
[    1.676967] libphy: orion_mdio_bus: probed
[    1.690621] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.699177] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address b6:d0:5e:0f:a1:17
[    1.708806] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 7e:16:30:7e:c8:ac
[    1.717805] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.724439] ehci-pci: EHCI PCI platform driver
[    1.728979] ehci-orion: EHCI orion driver
[    1.733181] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.738785] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.746685] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.763235] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.769493] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.776345] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.783618] usb usb1: Product: EHCI Host Controller
[    1.788516] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    1.795180] usb usb1: SerialNumber: f1050000.ehci
[    1.800673] hub 1-0:1.0: USB hub found
[    1.804521] hub 1-0:1.0: 1 port detected
[    1.809423] mousedev: PS/2 mouse device common for all mice
[    1.815712] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.822783] i2c /dev entries driver
[    1.827744] hidraw: raw HID events driver (C) Jiri Kosina
[    1.833626] drop_monitor: Initializing network drop monitor service
[    1.840179] NET: Registered protocol family 17
[    1.844953] Key type dns_resolver registered
[    1.850082] registered taskstats version 1
[    1.854283] Loading compiled-in X.509 certificates
[    1.859149] zswap: loaded using pool lzo/zbud
[    1.872318] Key type encrypted registered
[    1.876998] rtc-mv f1010300.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    1.887840] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    1.974062] systemd-udevd[84]: starting version 215
[    1.980985] random: systemd-udevd urandom read with 3 bits of entropy available
[    2.123295] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.151693] SCSI subsystem initialized
[    2.234525] sata_mv f1080000.sata: slots 32 ports 1
[    2.246135] mmc0: new high speed SDIO card at address 0001
[    2.277769] scsi host0: sata_mv
[    2.281316] ata1: SATA max UDMA/133 irq 33
[    2.286321] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[    2.293075] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.312430] usb 1-1: Product: USB 2.0 Hub
[    2.322215] hub 1-1:1.0: USB hub found
[    2.330154] hub 1-1:1.0: 4 ports detected
[    2.613239] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[    2.673237] ata1: SATA link down (SStatus 0 SControl F300)
[    2.725832] usb 1-1.1: New USB device found, idVendor=05e3, idProduct=0726
[    2.732769] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=2
[    2.751510] usb 1-1.1: Product: USB Storage
[    2.755812] usb 1-1.1: SerialNumber: 000000009910
[    2.770594] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    2.777415] scsi host1: usb-storage 1-1.1:1.0
[    2.783834] usbcore: registered new interface driver usb-storage
[    2.792954] usbcore: registered new interface driver uas
[    2.843239] usb 1-1.2: new high-speed USB device number 4 using orion-ehci
[    2.954191] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5575
[    2.961120] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.968499] usb 1-1.2: Product: Cruzer Glide
[    2.972789] usb 1-1.2: Manufacturer: SanDisk
[    2.977097] usb 1-1.2: SerialNumber: 4C530001101019121442
[    2.985976] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    2.994125] scsi host2: usb-storage 1-1.2:1.0
[    3.073231] usb 1-1.4: new full-speed USB device number 5 using orion-ehci
[    3.184440] usb 1-1.4: New USB device found, idVendor=0d8c, idProduct=000c
[    3.191360] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.198742] usb 1-1.4: Product: C-Media USB Headphone Set  
[    3.219135] input: C-Media USB Headphone Set   as /devices/platform/ocp@f1000000/f1050000.ehci/usb1/1-1/1-1.4/1-1.4:1.3/0003:0D8C:000C.0001/input/input0
[    3.283709] hid-generic 0003:0D8C:000C.0001: input,hidraw0: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-f1050000.ehci-1.4/input3
[    3.297602] usbcore: registered new interface driver usbhid
[    3.303268] usbhid: USB HID core driver
[    3.794410] scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
[    3.803294] scsi 1:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
[    3.826375] sd 1:0:0:0: [sda] Unit Not Ready
[    3.830677] sd 1:0:0:0: [sda] Sense Key : Medium Error [current] 
[    3.838489] sd 1:0:0:1: [sdb] Attached SCSI removable disk
[    3.844786] sd 1:0:0:0: [sda] Add. Sense: Incompatible medium installed
[    3.854720] sd 1:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.864228] sd 1:0:0:0: [sda] Sense Key : Medium Error [current] 
[    3.870364] sd 1:0:0:0: [sda] Add. Sense: Incompatible medium installed
[    3.878101] sd 1:0:0:0: [sda] Test WP failed, assume Write Enabled
[    3.885345] sd 1:0:0:0: [sda] Asking for cache data failed
[    3.890859] sd 1:0:0:0: [sda] Assuming drive cache: write through
[    3.901588] sd 1:0:0:0: [sda] Unit Not Ready
[    3.905968] sd 1:0:0:0: [sda] Sense Key : Medium Error [current] 
[    3.912100] sd 1:0:0:0: [sda] Add. Sense: Incompatible medium installed
[    3.921844] sd 1:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[    3.931342] sd 1:0:0:0: [sda] Sense Key : Medium Error [current] 
[    3.937508] sd 1:0:0:0: [sda] Add. Sense: Incompatible medium installed
[    3.946226] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    3.956619] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    3.962664] sd 1:0:0:1: Attached scsi generic sg1 type 0
[    3.975000] sd 1:0:0:0: ioctl_internal_command return code = 8000002
[    3.981412] sd 1:0:0:0: Sense Key : Medium Error [current] 
[    4.000205] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.27 PQ: 0 ANSI: 6
[    4.012820] sd 1:0:0:0: Add. Sense: Incompatible medium installed
[    4.021231] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    4.026880] sd 2:0:0:0: [sdc] 61318208 512-byte logical blocks: (31.3 GB/29.2 GiB)
[    4.044752] sd 2:0:0:0: [sdc] Write Protect is off
[    4.053301] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.078155]  sdc: sdc1
[    4.084867] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[    4.095495] sd 1:0:0:0: ioctl_internal_command return code = 8000002
[    4.101927] sd 1:0:0:0: Sense Key : Medium Error [current] 
[    4.109812] sd 1:0:0:0: Add. Sense: Incompatible medium installed
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.
modprobe: module ext3 not found in modules.dep
Begin: Checking root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sdc1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.903768] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   17.929885] EXT4-fs (sdc1): 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.
[....] Starting the hotplug events dispatcher: udevd[   19.269172] systemd-udevd[303]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   19.840503] marvell-cesa: probe of f1030000.crypto failed with error -524
[   19.896473] orion_wdt: Initial timeout 21 sec
[   20.009750] sd 1:0:0:0: ioctl_internal_command return code = 8000002
[   20.059981] sd 1:0:0:0: Sense Key : Medium Error [current] 
[   20.093640] sd 1:0:0:0: Add. Sense: Incompatible medium installed
[   20.205374] random: nonblocking pool is initialized
[   20.214668] sd 1:0:0:0: ioctl_internal_command return code = 8000002
[   20.293797] sd 1:0:0:0: Sense Key : Medium Error [current] 
[   20.308800] usbcore: registered new interface driver snd-usb-audio
[   20.339264] Bluetooth: Core ver 2.21
[   20.342930] NET: Registered protocol family 31
[   20.347533] sd 1:0:0:0: Add. Sense: Incompatible medium installed
[   20.410061] Bluetooth: HCI device and connection manager initialized
[   20.442062] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.457108] Bluetooth: HCI socket layer initialized
[   20.462060] Bluetooth: L2CAP socket layer initialized
[   20.467207] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sd8787_uapsta.bin
[   20.474955] mwifiex_sdio mmc0:0001:1: info: mwifiex_fw_dpc: unregister device
[   20.516894] Bluetooth: SCO socket layer initialized
[   20.554913] Bluetooth: vendor=0x2df, device=0x911a, class=255, fn=2
[   20.583336] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.592958] Bluetooth: request_firmware(firmware) failed, error code = -2
[   20.599829] Bluetooth: Failed to download firmware!
[   20.604773] Bluetooth: Downloading firmware failed!
[   20.609916] Bluetooth: vendor=0x2df, device=0x911b, class=255, fn=3
[   20.633309] btmrvl_sdio mmc0:0001:3: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.642937] Bluetooth: request_firmware(firmware) failed, error code = -2
[   20.649803] Bluetooth: Failed to download firmware!
[   20.654747] Bluetooth: Downloading firmware failed!
done.
[ ok ] Activating swap...done.
[   30.457295] EXT4-fs (sdc1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14521/1916928 files, 308013/7664384 blocks
done.
[   30.682562] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   33.268897] NET: Registered protocol family 10
[   33.357848] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/b6:d0:5e:0f:a1:17
Sending on   LPF/eth0/b6:d0:5e:0f:a1:17
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   36.992909] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   37.002852] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.86.1
DHCPACK from 192.168.86.1
bound to 192.168.86.3 -- renewal in 1764 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ 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...
1262 (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 NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1260 (klogd)
. ok 

Debian GNU/Linux 8 debian ttyS0

debian login:

And again the previous one I was using.

U-Boot 2017.05-tld-1 (Jun 30 2017 - 02:01:27 -0700)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected mx25l1605d with page size 256 Bytes, erase size 64 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
Dreamplug> printenv
arcNumber=3550
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm$load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb mmc ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-dreamplug.dtb
eth1addr=F0:AD:4E:00:CB:62
ethact=egiga0
ethaddr=F0:AD:4E:00:CB:61
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x100000@0(u-boot),0x10000@0x100000(stock_u_boot_env),0x10000@0x180000(stock_dtb)
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2889/65532 bytes
Dreamplug>

Dreamplug> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... ERROR: Invalid USB EP length (9)
ERROR: Invalid USB EP length (9)
5 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)
Device NOT ready
   Request Sense returned 02 3A 00
2 Storage Device(s) found
Unknown command 'mmc' - try 'help'

Reset IDE: ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	61315072  	d43b08e6-01	83 Boot


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

Part	Start Sector	Num Sectors	UUID		Type
  1	53        	212583    	b74937c3-01	06 Boot
  2	212636    	7611118   	b74937c3-02	83

## 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 **
Unknown command 'mmc' - try 'help'

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 231 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3154896 bytes read in 371 ms (8.1 MiB/s)
loading uInitrd ...
7179935 bytes read in 475 ms (14.4 MiB/s)
loading DTB /boot/dts/kirkwood-dreamplug.dtb ...
10267 bytes read in 747 ms (12.7 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   5:55:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3154832 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 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 0f927000, end 0ffffe5f ... OK
   Loading Device Tree to 0f921000, end 0f92681a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Globalscale Technologies Dreamplug
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x100000@0(u-boot),0x10000@0x100000(stock_u_boot_env),0x10000@0x180000(stock_dtb)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 503472K/524288K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 20816K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 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.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000326] Console: colour dummy device 80x30
[    0.000358] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090105] pid_max: default: 32768 minimum: 301
[    0.090217] Security Framework initialized
[    0.090294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090314] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091107] Initializing cgroup subsys io
[    0.091141] Initializing cgroup subsys devices
[    0.091166] Initializing cgroup subsys freezer
[    0.091198] Initializing cgroup subsys net_cls
[    0.091281] CPU: Testing write buffer coherency: ok
[    0.091732] Setting up static identity map for 0x8200 - 0x8258
[    0.092032] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095745] devtmpfs: initialized
[    0.100274] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100733] prandom: seed boundary self test passed
[    0.104492] prandom: 100 self tests passed
[    0.104518] pinctrl core: initialized pinctrl subsystem
[    0.105892] NET: Registered protocol family 16
[    0.106341] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130106] cpuidle: using governor ladder
[    0.160104] cpuidle: using governor menu
[    0.160525] Feroceon L2: Enabling L2
[    0.160571] Feroceon L2: Cache support initialised.
[    0.160953] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.161062] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.166228] No ATAGs?
[    0.201586] vgaarb: loaded
[    0.201949] usbcore: registered new interface driver usbfs
[    0.202030] usbcore: registered new interface driver hub
[    0.202093] usbcore: registered new device driver usb
[    0.203187] clocksource: Switched to clocksource orion_clocksource
[    0.258541] NET: Registered protocol family 2
[    0.259328] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259389] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259442] TCP: Hash tables configured (established 4096 bind 4096)
[    0.259509] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.259533] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.259733] NET: Registered protocol family 1
[    0.260134] RPC: Registered named UNIX socket transport module.
[    0.260147] RPC: Registered udp transport module.
[    0.260154] RPC: Registered tcp transport module.
[    0.260162] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260440] Unpacking initramfs...
[    0.903289] Freeing initrd memory: 7012K (cf927000 - d0000000)
[    0.903415] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.904504] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.904576] audit: initializing netlink subsys (disabled)
[    0.904626] audit: type=2000 audit(0.900:1): initialized
[    0.904979] Initialise system trusted keyring
[    0.905362] zbud: loaded
[    0.905657] VFS: Disk quotas dquot_6.6.0
[    0.905715] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.906253] NFS: Registering the id_resolver key type
[    0.906300] Key type id_resolver registered
[    0.906309] Key type id_legacy registered
[    0.906336] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.906350] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.906582] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.907123] Key type big_key registered
[    0.927357] Key type asymmetric registered
[    0.927381] Asymmetric key parser 'x509' registered
[    0.927480] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.927502] io scheduler noop registered
[    0.927518] io scheduler deadline registered
[    0.927580] io scheduler cfq registered (default)
[    0.928933] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.929608] irq: Cannot allocate irq_descs @ IRQ35, assuming pre-allocated
[    0.930028] irq: Cannot allocate irq_descs @ IRQ67, assuming pre-allocated
[    0.930562] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.963890] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.964116] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.003886] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.004371] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.005768] console [ttyS0] disabled
[    1.005830] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.620860] console [ttyS0] enabled
[    1.626385] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[    1.631302] 3 cmdlinepart partitions found on MTD device spi0.0
[    1.637306] Creating 3 MTD partitions on "spi0.0":
[    1.642121] 0x000000000000-0x000000100000 : "u-boot"
[    1.648399] 0x000000100000-0x000000110000 : "stock_u_boot_env"
[    1.655537] 0x000000180000-0x000000190000 : "stock_dtb"
[    1.662947] libphy: Fixed MDIO Bus: probed
[    1.667457] libphy: orion_mdio_bus: probed
[    1.680979] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.689543] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f0:ad:4e:00:cb:61
[    1.699131] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address f0:ad:4e:00:cb:62
[    1.708134] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.714770] ehci-pci: EHCI PCI platform driver
[    1.719310] ehci-orion: EHCI orion driver
[    1.723568] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.729107] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.737010] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.753225] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.759482] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.766328] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.773601] usb usb1: Product: EHCI Host Controller
[    1.778499] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    1.785162] usb usb1: SerialNumber: f1050000.ehci
[    1.790675] hub 1-0:1.0: USB hub found
[    1.794530] hub 1-0:1.0: 1 port detected
[    1.799476] mousedev: PS/2 mouse device common for all mice
[    1.805808] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.812887] i2c /dev entries driver
[    1.817861] hidraw: raw HID events driver (C) Jiri Kosina
[    1.823712] drop_monitor: Initializing network drop monitor service
[    1.830271] NET: Registered protocol family 17
[    1.835057] Key type dns_resolver registered
[    1.840179] registered taskstats version 1
[    1.844379] Loading compiled-in X.509 certificates
[    1.849245] zswap: loaded using pool lzo/zbud
[    1.862355] Key type encrypted registered
[    1.867034] rtc-mv f1010300.rtc: setting system clock to 2017-07-01 02:25:19 UTC (1498875919)
[    1.877965] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    1.954639] systemd-udevd[83]: starting version 215
[    1.961555] random: systemd-udevd urandom read with 3 bits of entropy available
[    2.113290] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.141406] SCSI subsystem initialized
[    2.217626] sata_mv f1080000.sata: slots 32 ports 1
[    2.239484] mmc0: new high speed SDIO card at address 0001
[    2.259808] scsi host0: sata_mv
[    2.271026] ata1: SATA max UDMA/133 irq 33
[    2.276027] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[    2.282788] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.302926] usb 1-1: Product: USB 2.0 Hub
[    2.311795] hub 1-1:1.0: USB hub found
[    2.320288] hub 1-1:1.0: 4 ports detected
[    2.603218] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[    2.653224] ata1: SATA link down (SStatus 0 SControl F300)
[    2.715788] usb 1-1.1: New USB device found, idVendor=05e3, idProduct=0726
[    2.722726] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=2
[    2.731636] usb 1-1.1: Product: USB Storage
[    2.735992] usb 1-1.1: SerialNumber: 000000009910
[    2.750748] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    2.757503] scsi host1: usb-storage 1-1.1:1.0
[    2.763933] usbcore: registered new interface driver usb-storage
[    2.773004] usbcore: registered new interface driver uas
[    2.823229] usb 1-1.2: new high-speed USB device number 4 using orion-ehci
[    2.934145] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5575
[    2.941073] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.948456] usb 1-1.2: Product: Cruzer Glide
[    2.952743] usb 1-1.2: Manufacturer: SanDisk
[    2.957053] usb 1-1.2: SerialNumber: 4C530001101019121442
[    2.965921] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    2.974076] scsi host2: usb-storage 1-1.2:1.0
[    3.053218] usb 1-1.4: new full-speed USB device number 5 using orion-ehci
[    3.164395] usb 1-1.4: New USB device found, idVendor=0d8c, idProduct=000c
[    3.171315] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.178696] usb 1-1.4: Product: C-Media USB Headphone Set  
[    3.199078] input: C-Media USB Headphone Set   as /devices/platform/ocp@f1000000/f1050000.ehci/usb1/1-1/1-1.4/1-1.4:1.3/0003:0D8C:000C.0001/input/input0
[    3.263712] hid-generic 0003:0D8C:000C.0001: input,hidraw0: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-f1050000.ehci-1.4/input3
[    3.277601] usbcore: registered new interface driver usbhid
[    3.283268] usbhid: USB HID core driver
[    3.774240] scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
[    3.783096] scsi 1:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
[    3.804584] sd 1:0:0:0: [sda] 7829504 512-byte logical blocks: (4.00 GB/3.73 GiB)
[    3.815069] sd 1:0:0:1: [sdb] Attached SCSI removable disk
[    3.821308] sd 1:0:0:0: [sda] Write Protect is off
[    3.827058] sd 1:0:0:0: [sda] No Caching mode page found
[    3.832416] sd 1:0:0:0: [sda] Assuming drive cache: write through
[    3.844556]  sda: sda1 sda2
[    3.851680] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    3.860493] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    3.868047] sd 1:0:0:1: Attached scsi generic sg1 type 0
[    3.974360] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.27 PQ: 0 ANSI: 6
[    3.987943] sd 2:0:0:0: [sdc] 61318208 512-byte logical blocks: (31.3 GB/29.2 GiB)
[    3.995707] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    4.008071] sd 2:0:0:0: [sdc] Write Protect is off
[    4.017472] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.042153]  sdc: sdc1
[    4.055078] sd 2:0:0:0: [sdc] Attached SCSI removable disk
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.
modprobe: module ext3 not found in modules.dep
Begin: Checking root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sdc1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.883725] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   17.909599] EXT4-fs (sdc1): 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.
[....] Starting the hotplug events dispatcher: udevd[   19.239449] systemd-udevd[302]: starting version 215
. ok 
[....] Synthesizing the initial hotplug events...[   19.523292] random: nonblocking pool is initialized
done.
[....] Waiting for /dev to be fully populated...[   19.804203] orion_wdt: Initial timeout 21 sec
[   19.840608] marvell-cesa: probe of f1030000.crypto failed with error -524
[   20.132995] Bluetooth: Core ver 2.21
[   20.173099] NET: Registered protocol family 31
[   20.219599] Bluetooth: HCI device and connection manager initialized
[   20.276105] Bluetooth: HCI socket layer initialized
[   20.306576] usbcore: registered new interface driver snd-usb-audio
[   20.338266] Bluetooth: L2CAP socket layer initialized
[   20.388781] Bluetooth: SCO socket layer initialized
[   20.403666] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.421535] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sd8787_uapsta.bin
[   20.437351] mwifiex_sdio mmc0:0001:1: info: mwifiex_fw_dpc: unregister device
[   20.457839] Bluetooth: vendor=0x2df, device=0x911a, class=255, fn=2
[   20.513364] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.522981] Bluetooth: request_firmware(firmware) failed, error code = -2
[   20.590535] Bluetooth: Failed to download firmware!
[   20.605942] Bluetooth: Downloading firmware failed!
[   20.615669] Bluetooth: vendor=0x2df, device=0x911b, class=255, fn=3
[   20.633334] btmrvl_sdio mmc0:0001:3: Direct firmware load for mrvl/sd8787_uapsta.bin failed with error -2
[   20.642950] Bluetooth: request_firmware(firmware) failed, error code = -2
[   20.649890] Bluetooth: Failed to download firmware!
[   20.654839] Bluetooth: Downloading firmware failed!
done.
[ ok ] Activating swap...done.
[   21.264812] EXT4-fs (sdc1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14522/1916928 files, 308017/7664384 blocks
done.
[   21.494274] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   24.062441] NET: Registered protocol family 10
[   24.155584] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/f0:ad:4e:00:cb:61
Sending on   LPF/eth0/f0:ad:4e:00:cb:61
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   27.800435] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   27.810376] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.86.1
DHCPACK from 192.168.86.1
bound to 192.168.86.3 -- renewal in 1643 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ 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...
1261 (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 NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1260 (klogd)
. ok 

Debian GNU/Linux 8 debian ttyS0

debian login:
Re: GlobalScale Dreamplug
June 30, 2017 10:59PM
Hi feas,

Notice the 2nd one boot log. With CRC error in environment, because you've not saved the envs.
U-Boot 2017.05-tld-1 (Jun 30 2017 - 02:01:27 -0700)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected mx25l1605d with page size 256 Bytes, erase size 64 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
Dreamplug> printenv

The previous one is without error, because you have saved the envs. Which is fine, nothing wrong with saving the envs to make the NAND area readable from now on. The reason I noticed becasue I've change the mtdparts definition in the latest version.

U-Boot 2017.05-tld-1 (Jun 30 2017 - 02:01:27 -0700)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected mx25l1605d with page size 256 Bytes, erase size 64 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
Dreamplug> printenv


When you flash the new u-boot and the new default envs to SPI, everything will be consistent. For now, the 2nd is fine with the previous mtdparts definition.

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



Edited 1 time(s). Last edit at 06/30/2017 11:05PM by bodhi.
Re: GlobalScale Dreamplug
October 28, 2017 02:16AM
Hey Bodhi,

I was bored since some of my other projects have stalled until my money tree grows. So I was going to start playing with u-boot again and was wondering if all of your magic for the E-02 and Dreamplug are in your git: u-boot-kirkwood Updated May 5, 2017? Looks like some goodies are in there that are not in mainline.

If not, no worries since your are kept pretty busy and I don't want to cause more for you just for me to play around.
Re: GlobalScale Dreamplug
October 28, 2017 04:23AM
Hi feas,

> I was bored since some of my other projects have
> stalled until my money tree grows.

We don't want you to be bored :) I've released u-boot-2017.07-tld-1:
https://forum.doozan.com/read.php?3,12381

For the Dreamplug, I have not written installation instruction for it, so here is the pre-released binary (This is the final version when I can post instruction to flash it to SPI flash).

Download at Dropbox:

uboot.2017.07-tld-1.dreamplug.bodhi.tar
md5
1ddc6849ba7464e2a0465d45a9c07c00
sha256
f2e761d5c786db7777809a36deda67ca9c6bdf44e14ff227d8f6ca51d26900d2

Also, I've not yet pushed all patches to GitHub. It will take some time (I am not well verse in Git).

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



Edited 1 time(s). Last edit at 10/28/2017 04:29AM by bodhi.
Re: GlobalScale Dreamplug
October 28, 2017 04:48AM
cool thanks, really no need. I was reading about the sandbox in u-boot seems interesting.
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: