U-Boot v2016.09 released

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: U-Boot v2015.04 for testing

Postby znark » Fri Jul 31, 2015 12:35 am

$this->bbcode_second_pass_quote('moonman', 'T')hanks znark, I will move NSA325 to tested devices' list now.

There is one special additional feature I'd like to see in the future NSA325 U-Boot images. Namely, early watchdog suppression via GPIO register poking. Not in the U-Boot code, but in the Kirkwood boot image "header extension" when building and distributing new NSA325 U-Boot images.

At least on my revision of the NSA325 (v2), the watchdog is so aggressive it will reset the board at about 25% into loading the image when using the UART pins and the kwboot utility. This means that an ordinary user - who is probably neither aware of the watchdog nor the intricacies of disabling it - can never boot the image via the serial port: the process will always fail mid-transfer. Thus, there is no recovery option in case the U-Boot in the NAND flash should become corrupt, and no safe way of testing out new versions without flashing.

So how to remedy this?

The Kirkwood boot image "header extension" (described in Marvell's "Functional Specifications", section "24.2.4.2 Header Extension Format") allows setting up registers early, right at the beginning of the slow serial transfer, so the watchdog can be disabled before it times out.

It appears it is enough to set up the GPIO pin 14 as an output and turn it on - i.e. set it in the logical "1" state. This will suppress the watchdog on the NSA325 (my v2, at least.)

In practice, you would need to add the following additional register pokes at the end of the existing ones in the current header extension:

Reg: 0xFFD10100 -> Value: 0x00004000 (Set the GPIO pin 14 on)
Reg: 0xFFD10104 -> Value: 0xFFFFBFFF (Configure the GPIO pin 14 as an output)

Or, in the little-endian format of the image file:
Reg: 00 01 D1 FF -> Value: 00 40 00 00
Reg: 04 01 D1 FF -> Value: FF BF FF FF

Additionally, you need to calculate a new checksum at offset 0x1FF. It's just the sum of all bytes in the extended header modulo 256.

P.S. It seems I can't quote your posts - even the latest one - using the "Quote" button on your message. The forum software responds with "This topic is too old to reply, so, it's locked now. Thanks." But the topic is obviously not locked as the "Post Reply" button still works, but does not allow for easy quoting (I had to do it manually.) Is this expected behavior on this forum? Or if not, how to fix it?
znark
 
Posts: 5
Joined: Wed Jul 29, 2015 12:27 am

Re: U-Boot v2015.04 for testing

Postby BrianD » Fri Jul 31, 2015 2:52 am

moonman,
After a couple false starts, I realized the kwb file required the -p flag and was able to sucessfully boot the nsa310; however, as seen in the terminal log below, I am uncertain how to include the env file when using the kwboot utility.

$this->bbcode_second_pass_code('', 'mint@mint ~/Downloads/kwboot-tool $ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot-nsa310.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
0 % [......................................................................]
1 % [......................................................................]
3 % [......................................................................]
...
95 % [......................................................................]
97 % [......................................................................]
99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2015.04.R1-27 (Jul 28 2015 - 05:39:41) Arch Linux ARM
Zyxel NSA310

SoC: Kirkwood 88F6281_A1
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: egiga0
Error: egiga0 address not set.

PHY reset timed out
MV88E1318 PHY initialized on egiga0
IDE: ide_preinit failed
*** ERROR: `ethaddr' not set
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed

USB device 0: unknown device

IDE device 0: device type unknown
... is now current device
ide found on device 0
Checking for: /boot/uEnv.txt ...
** Bad device size - ide 0 **
** Bad device size - ide 0 **
** Bad device size - ide 0 **
No kernel found

IDE device 1: device type unknown
... is now current device
ide found on device 1
Checking for: /boot/uEnv.txt ...
** Bad device size - ide 1 **
** Bad device size - ide 1 **
** Bad device size - ide 1 **
No kernel found

IDE device 2: unknown device
Trying to boot from NAND ...
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI init error 22
Error reading superblock on volume 'ubi0:rootfs' errno=-19!
ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
NSA310> ')
BrianD
 
Posts: 14
Joined: Thu Jul 19, 2012 3:16 am

Re: U-Boot v2015.04 for testing

Postby BrianD » Fri Jul 31, 2015 3:10 am

Based on the log output, it appears at a minimum I would need to connect a ext2/3 formatted usb with the env file in the /boot folder and renamed to uEnv.txt?
BrianD
 
Posts: 14
Joined: Thu Jul 19, 2012 3:16 am

Re: U-Boot v2015.04 for testing

Postby moonman » Fri Jul 31, 2015 5:13 am

BrianD, all you really need is uEnv.txt with
$this->bbcode_second_pass_code('', 'ethaddr=00:00:00:00:00')
Which is the mac address of your device and a bootable drive, be it usb or sata.

Environment is not found in flash since you didn't flash it yet, so uboot loads the default one which is equivalent to the one you would flash
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: U-Boot v2015.04 for testing

Postby bodhi » Fri Jul 31, 2015 11:22 pm

$this->bbcode_second_pass_quote('', 'A')t least on my revision of the NSA325 (v2), the watchdog is so aggressive it will reset the board at about 25% into loading the image when using the UART pins and the kwboot utility. This means that an ordinary user - who is probably neither aware of the watchdog nor the intricacies of disabling it - can never boot the image via the serial port: the process will always fail mid-transfer. Thus, there is no recovery option in case the U-Boot in the NAND flash should become corrupt, and no safe way of testing out new versions without flashing.


Using a small enough u-boot will allow the bootROM to load it completely before the watchdog barks again.

You could use a really small u-boot such the one I've built during testing, this could be loaded in 25-28 seconds:
http://forum.doozan.com/read.php?2,1435 ... #msg-17193

So this can be kept around as the rescue u-boot.

PS.

Also note that sometime your network is noisy, it will affect the loading time. In that case, plug both the serial console monitor and the NSA325 to the same switch.

-bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: U-Boot v2015.04 for testing

Postby znark » Fri Jul 31, 2015 11:48 pm

$this->bbcode_second_pass_quote('bodhi', 'U')sing a small enough u-boot will allow the bootROM to load it completely before the watchdog barks again.

Correct, but why? I have tested the technique mentioned in my last post by manually modifying the image header with a hex editor. It fully works with the normal-sized images - there's no need to use a special small image. The only thing needed is to insert those 16 bytes + the updated checksum in the header, and then everyone can always boot the regular, full-sized, latest Arch U-Boot images straight on the NSA325 via the UART.
Last edited by znark on Fri Jul 31, 2015 11:58 pm, edited 2 times in total.
znark
 
Posts: 5
Joined: Wed Jul 29, 2015 12:27 am
Top

Re: U-Boot v2015.04 for testing

Postby bodhi » Fri Jul 31, 2015 11:52 pm

@znark,

Agree. I'm just pointing out the alternative.

-bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: U-Boot v2015.04 for testing

Postby moonman » Sat Aug 01, 2015 12:16 am

Znark, im going to commit uboot pkgbuild for all devices to the repo. I you wish to make a PR, you are welcome to do it. Can this be done before compiation?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: U-Boot v2015.04 for testing

Postby znark » Sat Aug 01, 2015 1:44 am

$this->bbcode_second_pass_quote('moonman', 'Z')nark, im going to commit uboot pkgbuild for all devices to the repo. I you wish to make a PR, you are welcome to do it. Can this be done before compiation?

Since the pre-built NSA325 binary I tested works OK in other respects (i.e., when flashed on the NAND) it is probably best to go ahead and commit that version now so people can benefit from it as it is.

For my watchdog-suppressing UART boot tests, I have only hacked your pre-compiled NSA325 U-Boot binary manually, using a hex editor. I have not (yet) cloned the repo or built U-Boot myself, or looked at the code at all (since this was not necessary for simple changes to the binary header) so I do not know where the current Kirkwood boot image header comes from, or what would be the best way to go about modifying it permanently for the future NSA325 builds.

If you feel it is not an obvious change or that there's something that makes it tedious to implement, I may clone the repo and take a look at it a bit later... but probably not within a suitable timeframe for your pending commit. In that case, I'll eventually get back to you once I have had time to study the code. But thank you in any case.
znark
 
Posts: 5
Joined: Wed Jul 29, 2015 12:27 am
Top

Re: U-Boot v2015.04 for testing

Postby BrianD » Sun Aug 02, 2015 3:56 am

created an archlinuxarm bootable usb drive with ArchLinuxARM-kirkwood-latest.tar.gz. also created the /boot/uEnv.txt file with the following entries:

$this->bbcode_second_pass_code('', 'arcNumber=4402
machid=
mainlineLinux=yes
rootfstype=ext3
ethaddr=B0:B2:DC:xx:xx:xx')

as before uboot progressed as expected:

$this->bbcode_second_pass_code('', 'mint@mint ~/Downloads/kwboot-tool $ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot-ns
sa310.kwb -p
Sending boot message. Please reboot the target...
Sending boot image...
0 % [......................................................................]
1 % [......................................................................]
3 % [......................................................................]
...
95 % [......................................................................]
97 % [......................................................................]
99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2015.04.R1-27 (Jul 28 2015 - 05:39:41) Arch Linux ARM
Zyxel NSA310

SoC: Kirkwood 88F6281_A1
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: egiga0
Error: egiga0 address not set.

PHY reset timed out
MV88E1318 PHY initialized on egiga0
IDE: ide_preinit failed
*** ERROR: `ethaddr' not set
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot:
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

Reset IDE: ide_preinit failed

USB device 0:
Device 0: Vendor: SanDisk Rev: 1.22 Prod: Cruzer Fit
Type: Removable Hard Disk
Capacity: 3819.0 MB = 3.7 GB (7821312 x 512)
... is now current device
usb found on device 0
Checking for: /boot/uEnv.txt ...
84 bytes read in 124 ms (0 Bytes/s)
Loaded environment from /boot/uEnv.txt
Checking if uenvcmd is set ...
** File not found /boot/zImage **
4118016 bytes read in 359 ms (10.9 MiB/s)
loading /boot/dtbs/kirkwood-nsa310.dtb ...
** File not found /boot/dtbs/kirkwood-nsa310.dtb **
** File not found /boot/initramfs-linux.img **')

and then the archlinuxarm kernel booted. note, I edited out most of the bad eraseblock messages to reduce the output.

$this->bbcode_second_pass_code('', '## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-4.1.0-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4117952 Bytes = 3.9 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting 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.1.0-1-ARCH (builduser@leming) (gcc version 5.1.0 (GCC) ) #1 PREEMPT Tue Jun 23 00:14:03 MDT 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Zyxel NSA-310
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),-(rootfs) root=PARTUUID=30cf472a-a61a-477d-963c-97a52c9095ea rw rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 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: 250620K/262144K available (5857K kernel code, 422K rwdata, 1700K rodata, 264K init, 699K bss, 11524K 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 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0769728 (7558 kB)
[ 0.000000] .init : 0xc076a000 - 0xc07ac000 ( 264 kB)
[ 0.000000] .data : 0xc07ac000 - 0xc08158ac ( 423 kB)
[ 0.000000] .bss : 0xc08158ac - 0xc08c4570 ( 700 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 10.915689] clocksource orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 10.915866] Console: colour dummy device 80x30
[ 10.915893] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[ 11.005771] pid_max: default: 32768 minimum: 301
[ 11.005860] Security Framework initialized
[ 11.005947] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 11.005967] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 11.006638] Initializing cgroup subsys blkio
[ 11.006666] Initializing cgroup subsys memory
[ 11.006728] Initializing cgroup subsys devices
[ 11.006756] Initializing cgroup subsys freezer
[ 11.006775] Initializing cgroup subsys net_cls
[ 11.006792] Initializing cgroup subsys bfqio
[ 11.006809] Initializing cgroup subsys perf_event
[ 11.006829] Initializing cgroup subsys net_prio
[ 11.006913] CPU: Testing write buffer coherency: ok
[ 11.007343] Setting up static identity map for 0x81e0 - 0x8238
[ 11.009189] devtmpfs: initialized
[ 11.011479] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 11.012023] pinctrl core: initialized pinctrl subsystem
[ 11.012756] NET: Registered protocol family 16
[ 11.013187] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 11.035779] cpuidle: using governor ladder
[ 11.065776] cpuidle: using governor menu
[ 11.065929] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 11.065953] Feroceon L2: Enabling L2
[ 11.065992] Feroceon L2: Cache support initialised.
[ 11.068733] Power resume enabled
[ 11.068744] Power-off GPIO enabled
[ 11.069178] Kirkwood PCIe port 0: link up
[ 11.069189] PCI: bus0 uses PCIe port 0
[ 11.069416] PCI host bridge to bus 0000:00
[ 11.069435] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 11.069447] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
[ 11.069458] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 11.070225] PCI: bus0: Fast back to back transfers disabled
[ 11.070275] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[ 11.070291] pci 0000:00:01.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[ 11.070313] pci 0000:00:01.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[ 11.070334] pci 0000:00:01.0: BAR 0: assigned [io 0x1000-0x10ff]
[ 11.107260] vgaarb: loaded
[ 11.107580] SCSI subsystem initialized
[ 11.108079] usbcore: registered new interface driver usbfs
[ 11.108154] usbcore: registered new interface driver hub
[ 11.108220] usbcore: registered new device driver usb
[ 11.108389] pps_core: LinuxPPS API ver. 1 registered
[ 11.108399] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 11.108432] PTP clock support registered
[ 11.109473] Switched to clocksource orion_clocksource
[ 11.138734] FS-Cache: Loaded
[ 11.151477] NET: Registered protocol family 2
[ 11.152356] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 11.152396] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 11.152426] TCP: Hash tables configured (established 2048 bind 2048)
[ 11.152493] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 11.152516] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 11.152701] NET: Registered protocol family 1
[ 11.154638] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 11.167004] VFS: Disk quotas dquot_6.6.0
[ 11.167262] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 11.169073] jffs2: version 2.2. (NAND) B) 2001-2006 Red Hat, Inc.
[ 11.170229] fuse init (API version 7.23)
[ 11.172488] aufs 4.x-rcN-20150622
[ 11.174757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 11.174780] io scheduler noop registered
[ 11.174793] io scheduler deadline registered
[ 11.175044] io scheduler cfq registered
[ 11.175476] io scheduler bfq registered (default)
[ 11.175484] BFQ I/O-scheduler: v7r8
[ 11.175704] mv_xor mv_xor.0: Marvell shared XOR driver
[ 11.209560] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 11.249549] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 11.249741] mv_xor mv_xor.1: Marvell shared XOR driver
[ 11.289548] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 11.329545] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 11.334947] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 11.336024] console [ttyS0] disabled
[ 11.356119] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 11.950287] console [ttyS0] enabled
[ 11.966636] brd: module loaded
[ 11.975748] loop: module loaded
[ 11.979281] sata_mv sata_mv.0: cannot get optional clkdev
[ 11.984891] sata_mv sata_mv.0: slots 32 ports 2
[ 11.992724] scsi host0: sata_mv
[ 11.996411] scsi host1: sata_mv
[ 11.999919] ata1: SATA max UDMA/133 irq 21
[ 12.004032] ata2: SATA max UDMA/133 irq 21
[ 12.008774] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 12.015387] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 12.020048] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 12.027663] Scanning device for bad blocks
[ 12.031857] Bad eraseblock 0 at 0x000000000000
[ 12.036358] Bad eraseblock 1 at 0x000000020000
[ 12.040878] Bad eraseblock 2 at 0x000000040000
...
[ 16.815999] Bad eraseblock 1021 at 0x000007fa0000
[ 16.820777] Bad eraseblock 1022 at 0x000007fc0000
[ 16.825539] Bad eraseblock 1023 at 0x000007fe0000
[ 16.830291] 2 cmdlinepart partitions found on MTD device orion_nand
[ 16.836584] Creating 2 MTD partitions on "orion_nand":
[ 16.841761] 0x000000000000-0x000000100000 : "u-boot"
[ 16.847223] 0x000000100000-0x000008000000 : "rootfs"
[ 16.859123] libphy: orion_mdio_bus: probed
[ 16.863356] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 16.870321] libphy: PHY orion-mdio-mii:00 not found
[ 16.875336] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 16.881012] r8169 0000:00:01.0: enabling device (0140 -> 0143)
[ 16.887664] r8169 0000:00:01.0 eth0: RTL8168d/8111d at 0xd09c0000, 00:00:00:00:00:30, XID 083000c0 IRQ 9
[ 16.897252] r8169 0000:00:01.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 16.906044] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 16.912635] ehci-pci: EHCI PCI platform driver
[ 16.917162] ehci-orion: EHCI orion driver
[ 16.921291] orion-ehci orion-ehci.0: EHCI Host Controller
[ 16.926741] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 16.934512] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 16.959505] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 16.966403] hub 1-0:1.0: USB hub found
[ 16.970251] hub 1-0:1.0: 1 port detected
[ 16.974787] usbcore: registered new interface driver uas
[ 16.980312] usbcore: registered new interface driver usb-storage
[ 16.986394] usbcore: registered new interface driver ums-alauda
[ 16.992439] usbcore: registered new interface driver ums-cypress
[ 16.998524] usbcore: registered new interface driver ums-datafab
[ 17.004632] usbcore: registered new interface driver ums_eneub6250
[ 17.010909] usbcore: registered new interface driver ums-freecom
[ 17.016992] usbcore: registered new interface driver ums-isd200
[ 17.023011] usbcore: registered new interface driver ums-jumpshot
[ 17.029181] usbcore: registered new interface driver ums-karma
[ 17.035106] usbcore: registered new interface driver ums-onetouch
[ 17.041321] usbcore: registered new interface driver ums-realtek
[ 17.047414] usbcore: registered new interface driver ums-sddr09
[ 17.053429] usbcore: registered new interface driver ums-sddr55
[ 17.059423] usbcore: registered new interface driver ums-usbat
[ 17.065718] mousedev: PS/2 mouse device common for all mice
[ 17.071837] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 17.077797] i2c /dev entries driver
[ 17.082513] sdhci: Secure Digital Host Controller Interface driver
[ 17.088722] sdhci: Copyright(c) Pierre Ossman
[ 17.093208] sdhci-pltfm: SDHCI platform and OF driver helper
[ 17.100483] ledtrig-cpu: registered to indicate activity on CPUs
[ 17.106632] usbcore: registered new interface driver r8712u
[ 17.112468] gre: GRE over IPv4 demultiplexor driver
[ 17.117411] NET: Registered protocol family 17
[ 17.121968] Key type dns_resolver registered
[ 17.127227] registered taskstats version 1
[ 17.133374] Key type encrypted registered
[ 17.137850] libphy: PHY orion-mdio-mii:00 not found
[ 17.143191] console [netcon0] enabled
[ 17.146868] netconsole: network logging started
[ 17.151911] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 17.158935] libphy: PHY orion-mdio-mii:00 not found
[ 17.164064] rtc-mv rtc-mv: setting system clock to 2015-08-02 02:56:02 UTC (1438484162)
[ 17.173445] Waiting for root device PARTUUID=30cf472a-a61a-477d-963c-97a52c9095ea...
[ 17.289535] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 17.442257] hub 1-1:1.0: USB hub found
[ 17.446401] hub 1-1:1.0: 4 ports detected
[ 17.452854] libphy: PHY orion-mdio-mii:00 not found
[ 17.458198] libphy: PHY orion-mdio-mii:00 not found
[ 17.729903] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[ 17.841421] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 17.848038] scsi host2: usb-storage 1-1.3:1.0
[ 17.852875] libphy: PHY orion-mdio-mii:00 not found
[ 17.858335] libphy: PHY orion-mdio-mii:00 not found
[ 18.850373] scsi 2:0:0:0: Direct-Access SanDisk Cruzer Fit 1.22 PQ: 0 ANSI: 5
[ 18.859313] libphy: PHY orion-mdio-mii:00 not found
[ 18.864775] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 18.870322] sd 2:0:0:0: [sda] 7821312 512-byte logical blocks: (4.00 GB/3.72 GiB)
[ 18.878997] sd 2:0:0:0: [sda] Write Protect is off
[ 18.884555] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 18.913048] sda: sda1
[ 18.918429] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 18.940813] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 18.962150] EXT4-fs (sda1): recovery complete
[ 18.966542] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 18.974311] VFS: Mounted root (ext3 filesystem) on device 8:1.
[ 18.983738] devtmpfs: mounted
[ 18.987627] Freeing unused kernel memory: 264K (c076a000 - c07ac000)
[ 19.497691] NET: Registered protocol family 10
[ 19.503341] systemd[1]: Inserted module 'ipv6'
[ 19.527391] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 19.532958] systemd[1]: Inserted module 'ip_tables'
[ 19.559416] random: systemd urandom read with 41 bits of entropy available
[ 19.585841] systemd[1]: systemd 221 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
[ 19.604337] systemd[1]: Detected architecture arm.

Welcome to Arch Linux ARM!

[ 19.640967] systemd[1]: Set hostname to <alarm>.
[ 20.641763] systemd[1]: display-manager.service: Cannot add dependency job, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ OK ] Created slice Root Slice.
[ 20.679675] systemd[1]: Created slice Root Slice.
[ 20.684572] systemd[1]: Starting Root Slice.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 20.709639] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 20.716768] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ 20.749648] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 20.759235] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ OK ] Created slice User and Session Slice.
[ 20.789642] systemd[1]: Created slice User and Session Slice.
[ 20.795545] systemd[1]: Starting User and Session Slice.
[ OK ] Listening on udev Kernel Socket.
[ 20.819636] systemd[1]: Listening on udev Kernel Socket.
[ 20.825099] systemd[1]: Starting udev Kernel Socket.
[ OK ] Listening on LVM2 metadata daemon socket.
[ 20.849636] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 20.855881] systemd[1]: Starting LVM2 metadata daemon socket.
[ OK ] Listening on Journal Socket.
[ 20.879634] systemd[1]: Listening on Journal Socket.
[ 20.884798] systemd[1]: Starting Journal Socket.
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ 20.909631] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 20.916307] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ OK ] Created slice System Slice.
[ 20.939643] systemd[1]: Created slice System Slice.
[ 20.944729] systemd[1]: Starting System Slice.
[ 20.953229] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 20.968287] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 21.013708] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ OK ] Reached target Slices.
[ 21.072555] systemd[1]: Reached target Slices.
[ 21.078464] systemd[1]: Starting Slices.
[ 21.083589] systemd[1]: Mounted Huge Pages File System.
[ 21.093638] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 21.126193] systemd[1]: Started Set Up Additional Binary Formats.
[ OK ] Created slice system-getty.slice.
[ 21.149856] systemd[1]: Created slice system-getty.slice.
[ 21.158903] systemd[1]: Starting system-getty.slice.
[ 21.164765] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 21.173018] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ OK ] Listening on Journal Socket (/dev/log).
[ 21.199704] systemd[1]: Listening on Journal Socket (/dev/log).
[ 21.205850] systemd[1]: Starting Journal Socket (/dev/log).
[ OK ] Reached target Encrypted Volumes.
[ 21.229638] systemd[1]: Reached target Encrypted Volumes.
[ 21.235186] systemd[1]: Starting Encrypted Volumes.
[ OK ] Reached target Swap.
[ 21.259625] systemd[1]: Reached target Swap.
[ 21.264029] systemd[1]: Starting Swap.
[ OK ] Listening on networkd rtnetlink socket.
[ 21.289641] systemd[1]: Listening on networkd rtnetlink socket.
[ 21.295719] systemd[1]: Starting networkd rtnetlink socket.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 21.319650] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 21.326079] systemd[1]: Starting system-serial\x2dgetty.slice.
[ OK ] Listening on udev Control Socket.
[ 21.349639] systemd[1]: Listening on udev Control Socket.
[ 21.355187] systemd[1]: Starting udev Control Socket.
[ 21.360723] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 21.368438] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Paths.
[ 21.389631] systemd[1]: Reached target Paths.
[ 21.394129] systemd[1]: Starting Paths.
[ OK ] Reached target Remote File Systems.
[ 21.419627] systemd[1]: Reached target Remote File Systems.
[ 21.425337] systemd[1]: Starting Remote File Systems.
[ 21.450829] systemd[1]: Listening on Journal Audit Socket.
[ 21.464996] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 21.562408] systemd[1]: Started Load Kernel Modules.
[ 21.571296] systemd[1]: Mounting FUSE Control File System...
Mounting FUSE Control File System...
[ 21.587077] systemd[1]: Mounted Configuration File System.
[ 21.604531] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 21.673558] systemd[1]: Mounting Temporary Directory...
Mounting Temporary Directory...
[ 21.692376] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ OK ] Mounted Debug File System.
[ 21.779724] systemd[1]: Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 21.809997] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted FUSE Control File System.
[ 21.839686] systemd[1]: Mounted FUSE Control File System.
[ OK ] Mounted Temporary Directory.
[ 21.859681] systemd[1]: Mounted Temporary Directory.
[ OK ] Started Remount Root and Kernel File Systems.
[ 21.889714] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Setup Virtual Console.
[ 21.919685] systemd[1]: Started Setup Virtual Console.
[ OK ] Started Apply Kernel Variables.
[ 21.939932] systemd[1]: Started Apply Kernel Variables.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ 21.959721] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 22.637421] systemd[1]: Started Rebuild Hardware Database.
[ 22.653704] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 22.699783] systemd[1]: Starting Load/Save Random Seed...
Starting Load/Save Random Seed...
[ 22.729839] systemd[1]: Started First Boot Wizard.
[ 22.737503] systemd[1]: Started Create System Users.
[ 22.758550] systemd[1]: Starting Create Static Device Nodes in /dev...
Starting Create Static Device Nodes in /dev...
[ 22.819972] systemd[1]: Started Rebuild Dynamic Linker Cache.
[ OK ] Started Load/Save Random Seed.
[ 22.919691] systemd[1]: Started Load/Save Random Seed.
[ OK ] Started Create Static Device Nodes in /dev.
[ 22.949750] systemd[1]: Started Create Static Device Nodes in /dev.
[ 23.337435] systemd[1]: Starting udev Kernel Device Manager...
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ 23.409783] systemd[1]: Reached target Local File Systems (Pre).
[ 23.416040] systemd[1]: Starting Local File Systems (Pre).
[ 23.448126] systemd[1]: Mounted Virtual Machine and Container Storage.
[ OK ] Reached target Local File Systems.
[ 23.489723] systemd[1]: Reached target Local File Systems.
[ 23.495439] systemd[1]: Starting Local File Systems.
[ 23.524617] systemd[1]: Started Commit a transient machine-id on disk.
[ 23.555118] systemd[1]: Started Rebuild Journal Catalog.
[ 23.580552] systemd[1]: Started Update is Completed.
[ OK ] Started udev Kernel Device Manager.
[ 23.639722] systemd[1]: Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ 23.819730] systemd[1]: Started udev Coldplug all Devices.
[ OK ] Started Journal Service.
[ 23.849910] systemd[1]: Started Journal Service.
Starting Flush J[ 24.094348] random: nonblocking pool is initialized
ournal to Persistent Storage...
[ 24.296503] systemd-journald[93]: Received request to flush runtime journal from PID 1
[ 24.770291] libphy: PHY orion-mdio-mii:00 not found
[ 24.862941] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[ 24.877221] rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
[ OK ] Found device /dev/ttyS0.
[ 24.902913] rtc-pcf8563 0-0051: pcf8563_probe: write error
[ 24.929703] rtc-pcf8563: probe of 0-0051 failed with error -5
[ OK ] Started Flush Journal to Persistent Storage.
[ 25.167669] r8169 0000:00:01.0 enp0s1: renamed from eth0
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started D-Bus System Message Bus.
Starting D-Bus System Message Bus...
Starting Network Service...
Starting Login Service...
[ OK ] Started Entropy Harvesting Daemon.
Starting Entropy Harvesting Daemon...
Starting Permit User Sessions...
[ OK ] Reached target Timers.
[ OK ] Started Permit User Sessions.
[ OK ] Started Network Service.
[ OK ] Started Login Service.
[ OK ] Reached target Network.
Starting Network Name Resolution...
[ OK ] Started OpenSSH Daemon.
Starting OpenSSH Daemon...
Starting Rotate log files...
Starting Verify integrity of password and group files...
[ OK ] Started Getty on tty1.
Starting Getty on tty1...
[ OK ] Started Serial Getty on ttyS0.
Starting Serial Getty on ttyS0...
[ OK ] Reached target Login Prompts.
Starting Update man-db cache...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
[ OK ] Started Rotate log files.
[ OK ] Started Verify integrity of password and group files.
[ 31.079513] USB power enabled


Arch Linux 4.1.0-1-ARCH (ttyS0)

alarm login: ')

I still have to edit the dhcp.conf file as my device is not obtaining an IP address from my dhcp server.
BrianD
 
Posts: 14
Joined: Thu Jul 19, 2012 3:16 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests