On a related note, it is worth noting that Marvell Kirkwood SoC based hardware is pretty much the poster child of success when it comes to upstream mainline kernel support. I even managed to get an early EL6 kernel patched a little and built for it without too many issues. So for Kirkwoods, this isn't really an issue. It's more a problem for other popular hardware that may be fully upstreamed in recent LT kernels but not in the 3.10.x line.
Even if we have to have different binaries (where external device tree isn't applicable), it would still be extra convenient to have kernels based on the same code tree and as similar a config as possible. Gordan On 2015-10-21 13:54, Gordan Bobic wrote:
The choice really comes down to: 1) 3.10.x LT for similarity to upstream kernel 2) 3.18.x LT for better support for more hardware, while still being reasonably well tested to work with the rest of EL7 (I use 3.18.x on most of my EL7 machines due to various KVM improvements when it comes to PCI/GPU passthrough). 3.16.x isn't even a longterm supported upstream kernel, so that version is well and truly out of the running. We could, I suppose, in the future move up to 4.1.x or a subsequent LT kernel if there are wide reports of good interaction with EL7, and compelling arguments in terms of supporting more 32-bit ARM hardware. Assuming we don't set the cutoff to 3.10.x and make any other kernels available as unsupported extras. Gordan On 2015-10-21 13:45, ioan stan wrote:Regarding the kernel 3.10 vs 3.18, the latest Debian 8 kernel on dreamplug/guruplug is 3.16. $ uname -a Linux dream1 3.16.0-4-kirkwood #1 Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) armv5tel GNU/LinuxOn Oct 21, 2015, at 10:20, Gordan Bobic <[email protected]> wrote: Figured it out in the end. The problem is that ehci-orion driver went from being built into the kernel in the 3.6.x kernel on F18, to it being built as a module. But - dracut didn't figure out that the ehci-orion driver is vital for the usb-storage driver to find anything. Solution is to: 1) add add_drivers+="ehci-orion" to /etc/dracut.conf 2) Rebuild the initramfs: dracut -f -v /boot/initramfs-3.10.90-kirkwood.img 3.10.90-kirkwood (adjust for your kernel name and version) 3) Make uInitrd from the initramfs: mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initramfs-3.10.90-kirkwood.img /boot/uInitrd (make sure your uImage matches the kernel you are building the uInitrd for) Then it all boots fine. So, now that the part of working around bugs in Fedora is done, I might actually be able to get somewhere with getting RedSleeve to work on this thing... Best of all, the mainline 3.10.90 kernel seems to just work and support all the hardware. And firmware auto-loading works, too. The question now is - do we try to stick with 3.10.x LT kernel for as much hardware as possible, since that is sort of almost similar to what EL7 ships (don't get me started on the upstream kernel patches)? Or do we perhaps skip to the the currently latest LT kernel series (3.18.x)? In theory, later kernels might allow supporting more devices with a single kernel code base (only different configs), rather than having 3.10 kernels for some well supported SoCs like the Kirkwood, and having to use later LT kernels for other things anyway. I can see the pros and cons either way, but I am leaning toward jumping up to 3.18.x mainline LT kernels. Any opinions on this from anyone here? Gordan On 2015-10-20 10:37, Gordan Bobic wrote: I left the latest vanilla 3.10.90 kernel building this morning. I'm hoping to try it tonight. Fingers crossed that will just work. If the firmware loading is still broken (it is also broken on F18 with their 3.6.10 kernel) the only workaround I am aware of is to build the firmware blobs into the kernel binary. I had to do this with the 3.4 kernel for the Samsung Exynos Chromebook. Gordan On 2015-10-19 22:59, ioan stan wrote: Thank you, Gordon. On Oct 20, 2015, at 05:02, Gordan Bobic <[email protected]> wrote: I'm now looking into getting DreamPlugs running, and I've hit the same problem. The problem seems to be particularly related to the 3.10.14 kernel shipping with Fedora, in that it's usb-storage driver is broken on the DreamPlug - it never detects any USB storage devices. The 3.6.10 kernel from the original F18 ARM release works fine, however. Additionally, I updated the u-boot on my DP to 2014.10+dfsg1-5, and that version requires machid to be set to the GuruPlug's ID (annoyingly): machid=0xa63 Presumably the old 2011 firmware had this ID in bdinfo, and the 3.6 and 3.10 kernels aren't new enough to recognise the proper DP machid. Of course, all sorts of other things are broken in the F18 standard image as well (firmware loading fails for the WiFi module, courtesy of systemd removing support for udev firmware loader helpers, and the kernel's module loader being broken until more recent kernels). Gordan On 2015-09-28 15:01, Gordan Bobic wrote: It looks like your initramfs doesn't include the USB disk driver. The device nodes aren't there. Gordan On 2015-09-28 14:46, ioan stan wrote: Please see below. dracut:/# ls -la total 4 drwxr-xr-x 12 root 0 0 Sep 28 13:41 . drwxr-xr-x 12 root 0 0 Sep 28 13:41 .. -rw-r--r-- 1 root 0 0 Sep 28 13:41 .console_lock lrwxrwxrwx 1 root 0 7 Sep 20 16:37 bin -> usr/bin drwxr-xr-x 9 root 0 2340 Sep 28 13:38 dev drwxr-xr-x 8 root 0 0 Sep 28 13:41 etc lrwxrwxrwx 1 root 0 23 Sep 20 16:38 init -> usr/lib/systemd/systemd lrwxrwxrwx 1 root 0 7 Sep 20 16:37 lib -> usr/lib dr-xr-xr-x 50 root 0 0 Jan 1 1970 proc drwxr-xr-x 2 root 0 0 Sep 20 16:37 root drwxr-xr-x 9 root 0 180 Sep 28 13:41 run lrwxrwxrwx 1 root 0 8 Sep 20 16:37 sbin -> usr/sbin -rwxr-xr-x 1 root 0 3041 Aug 10 01:11 shutdown dr-xr-xr-x 12 root 0 0 Sep 28 13:38 sys drwxr-xr-x 2 root 0 0 Sep 20 16:37 sysroot drwxr-xr-x 2 root 0 0 Sep 20 16:37 tmp drwxr-xr-x 6 root 0 0 Sep 20 16:37 usr drwxr-xr-x 2 root 0 0 Sep 20 16:37 var dracut:/# dracut:/# ls -la dev/ | grep sd dracut:/# dracut:/# dracut:/# ls -la dev/ total 0 drwxr-xr-x 9 root 0 2340 Sep 28 13:38 . drwxr-xr-x 12 root 0 0 Sep 28 13:41 .. crw------- 1 root 0 10, 235 Sep 28 13:38 autofs drwxr-xr-x 2 root 0 200 Sep 28 13:38 block crw------- 1 root 0 10, 234 Sep 28 13:38 btrfs-control drwxr-xr-x 2 root 0 1940 Sep 28 13:38 char crw------- 1 root 0 5, 1 Sep 28 13:44 console crw------- 1 root 0 10, 62 Sep 28 13:38 cpu_dma_latency lrwxrwxrwx 1 root 0 13 Sep 28 13:38 fd -> /proc/self/fd crw-rw-rw- 1 root 0 1, 7 Sep 28 13:38 full crw-rw-rw- 1 root 0 10, 229 Sep 28 13:38 fuse drwxr-xr-x 2 root 0 60 Jan 1 1970 input crw-r--r-- 1 root 0 1, 11 Sep 28 13:38 kmsg srw-rw-rw- 1 root 0 0 Sep 28 13:38 log crw------- 1 root 0 10, 237 Sep 28 13:38 loop-control brw-rw---- 1 root disk 7, 0 Sep 28 13:38 loop0 brw-rw---- 1 root disk 7, 1 Sep 28 13:38 loop1 brw-rw---- 1 root disk 7, 2 Sep 28 13:38 loop2 brw-rw---- 1 root disk 7, 3 Sep 28 13:38 loop3 brw-rw---- 1 root disk 7, 4 Sep 28 13:38 loop4 brw-rw---- 1 root disk 7, 5 Sep 28 13:38 loop5 brw-rw---- 1 root disk 7, 6 Sep 28 13:38 loop6 brw-rw---- 1 root disk 7, 7 Sep 28 13:38 loop7 drwxr-xr-x 2 root 0 60 Jan 1 1970 mapper crw-r----- 1 root kmem 1, 1 Sep 28 13:38 mem crw------- 1 root 0 10, 61 Sep 28 13:38 network_latency crw------- 1 root 0 10, 60 Sep 28 13:38 network_throughput crw-rw-rw- 1 root 0 1, 3 Sep 28 13:38 null crw-r----- 1 root kmem 1, 4 Sep 28 13:38 port crw-rw-rw- 1 root tty 5, 2 Sep 28 13:38 ptmx drwxr-xr-x 2 root 0 0 Jan 1 1970 pts crw-rw-rw- 1 root 0 1, 8 Sep 28 13:38 random drwxr-xr-x 2 root 0 60 Jan 1 1970 raw crw-rw-r-- 1 root 0 10, 59 Sep 28 13:38 rfkill lrwxrwxrwx 1 root 0 4 Sep 28 13:38 rtc -> rtc0 crw------- 1 root 0 254, 0 Sep 28 13:38 rtc0 drwxrwxrwt 2 root 0 40 Sep 28 13:38 shm lrwxrwxrwx 1 root 0 15 Sep 28 13:38 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root 0 15 Sep 28 13:38 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root 0 15 Sep 28 13:38 stdout -> /proc/self/fd/1 crw-rw-rw- 1 root tty 5, 0 Sep 28 13:38 tty crw--w---- 1 root tty 4, 0 Sep 28 13:38 tty0 crw--w---- 1 root tty 4, 1 Sep 28 13:38 tty1 crw--w---- 1 root tty 4, 10 Sep 28 13:38 tty10 crw--w---- 1 root tty 4, 11 Sep 28 13:38 tty11 crw--w---- 1 root tty 4, 12 Sep 28 13:38 tty12 crw--w---- 1 root tty 4, 13 Sep 28 13:38 tty13 crw--w---- 1 root tty 4, 14 Sep 28 13:38 tty14 crw--w---- 1 root tty 4, 15 Sep 28 13:38 tty15 crw--w---- 1 root tty 4, 16 Sep 28 13:38 tty16 crw--w---- 1 root tty 4, 17 Sep 28 13:38 tty17 crw--w---- 1 root tty 4, 18 Sep 28 13:38 tty18 crw--w---- 1 root tty 4, 19 Sep 28 13:38 tty19 crw--w---- 1 root tty 4, 2 Sep 28 13:38 tty2 crw--w---- 1 root tty 4, 20 Sep 28 13:38 tty20 crw--w---- 1 root tty 4, 21 Sep 28 13:38 tty21 crw--w---- 1 root tty 4, 22 Sep 28 13:38 tty22 crw--w---- 1 root tty 4, 23 Sep 28 13:38 tty23 crw--w---- 1 root tty 4, 24 Sep 28 13:38 tty24 crw--w---- 1 root tty 4, 25 Sep 28 13:38 tty25 crw--w---- 1 root tty 4, 26 Sep 28 13:38 tty26 crw--w---- 1 root tty 4, 27 Sep 28 13:38 tty27 crw--w---- 1 root tty 4, 28 Sep 28 13:38 tty28 crw--w---- 1 root tty 4, 29 Sep 28 13:38 tty29 crw--w---- 1 root tty 4, 3 Sep 28 13:38 tty3 crw--w---- 1 root tty 4, 30 Sep 28 13:38 tty30 crw--w---- 1 root tty 4, 31 Sep 28 13:38 tty31 crw--w---- 1 root tty 4, 32 Sep 28 13:38 tty32 crw--w---- 1 root tty 4, 33 Sep 28 13:38 tty33 crw--w---- 1 root tty 4, 34 Sep 28 13:38 tty34 crw--w---- 1 root tty 4, 35 Sep 28 13:38 tty35 crw--w---- 1 root tty 4, 36 Sep 28 13:38 tty36 crw--w---- 1 root tty 4, 37 Sep 28 13:38 tty37 crw--w---- 1 root tty 4, 38 Sep 28 13:38 tty38 crw--w---- 1 root tty 4, 39 Sep 28 13:38 tty39 crw--w---- 1 root tty 4, 4 Sep 28 13:38 tty4 crw--w---- 1 root tty 4, 40 Sep 28 13:38 tty40 crw--w---- 1 root tty 4, 41 Sep 28 13:38 tty41 crw--w---- 1 root tty 4, 42 Sep 28 13:38 tty42 crw--w---- 1 root tty 4, 43 Sep 28 13:38 tty43 crw--w---- 1 root tty 4, 44 Sep 28 13:38 tty44 crw--w---- 1 root tty 4, 45 Sep 28 13:38 tty45 crw--w---- 1 root tty 4, 46 Sep 28 13:38 tty46 crw--w---- 1 root tty 4, 47 Sep 28 13:38 tty47 crw--w---- 1 root tty 4, 48 Sep 28 13:38 tty48 crw--w---- 1 root tty 4, 49 Sep 28 13:38 tty49 crw--w---- 1 root tty 4, 5 Sep 28 13:38 tty5 crw--w---- 1 root tty 4, 50 Sep 28 13:38 tty50 crw--w---- 1 root tty 4, 51 Sep 28 13:38 tty51 crw--w---- 1 root tty 4, 52 Sep 28 13:38 tty52 crw--w---- 1 root tty 4, 53 Sep 28 13:38 tty53 crw--w---- 1 root tty 4, 54 Sep 28 13:38 tty54 crw--w---- 1 root tty 4, 55 Sep 28 13:38 tty55 crw--w---- 1 root tty 4, 56 Sep 28 13:38 tty56 crw--w---- 1 root tty 4, 57 Sep 28 13:38 tty57 crw--w---- 1 root tty 4, 58 Sep 28 13:38 tty58 crw--w---- 1 root tty 4, 59 Sep 28 13:38 tty59 crw--w---- 1 root tty 4, 6 Sep 28 13:38 tty6 crw--w---- 1 root tty 4, 60 Sep 28 13:38 tty60 crw--w---- 1 root tty 4, 61 Sep 28 13:38 tty61 crw--w---- 1 root tty 4, 62 Sep 28 13:38 tty62 crw--w---- 1 root tty 4, 63 Sep 28 13:38 tty63 crw--w---- 1 root tty 4, 7 Sep 28 13:38 tty7 crw--w---- 1 root tty 4, 8 Sep 28 13:38 tty8 crw--w---- 1 root tty 4, 9 Sep 28 13:38 tty9 crw-rw---- 1 root dialout 4, 64 Sep 28 13:41 ttyS0 crw-rw---- 1 root dialout 4, 65 Sep 28 13:38 ttyS1 crw-rw---- 1 root dialout 4, 66 Sep 28 13:38 ttyS2 crw-rw---- 1 root dialout 4, 67 Sep 28 13:38 ttyS3 crw-rw-rw- 1 root 0 1, 9 Sep 28 13:38 urandom crw------- 1 root 0 251, 0 Sep 28 13:38 usbmon0 crw-rw---- 1 root tty 7, 0 Sep 28 13:38 vcs crw-rw---- 1 root tty 7, 1 Sep 28 13:38 vcs1 crw-rw---- 1 root tty 7, 128 Sep 28 13:38 vcsa crw-rw---- 1 root tty 7, 129 Sep 28 13:38 vcsa1 crw------- 1 root 0 10, 63 Sep 28 13:38 vga_arbiter crw-rw-rw- 1 root 0 1, 5 Sep 28 13:38 zero dracut:/# -----Original Message----- FROM: Gordan Bobic <[email protected]> Reply-to: [email protected] TO: [email protected] SUBJECT: Re: [RedSleeve-Users] Redsleeve 7.1 - loose ends DATE: Mon, 28 Sep 2015 14:15:17 +0100 What does: ls -la /dev/sd* show from the dracut prompt? On 2015-09-28 13:28, ioan stan wrote: I tried the setting below (and also with sda2), the booting stops at the same step. bootargs=console=ttyS0,115200 root=/dev/sda1 rootwait -----Original Message----- FROM: Gordan Bobic <[email protected]> Reply-to: [email protected] TO: [email protected] SUBJECT: Re: [RedSleeve-Users] Redsleeve 7.1 - loose ends DATE: Mon, 28 Sep 2015 12:49:21 +0100 The problem isn't in the uboot settings, it is in the file system you are booting off. You are telling the kernel the rootfs is labeled "rootfs". Therefore you need to e2label the rootfs file system "rootfs" or it won't find it. Alternatively change : bootargs=console=ttyS0,115200 root=LABEL=rootfs rootwait to bootargs=console=ttyS0,115200 root=/dev/sda1 rootwait assuming your rootfs is on sda1. Gordan On 2015-09-28 12:43, Ioan Stan wrote: I'm not very proficient with u-boot, but the settings below work when booting F18. Marvell>> printenv baudrate=115200 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootwait bootargs_console=console=ttyS0,115200 selinux=0 elevator=deadline bootargs_root=rw root=/dev/nfs nfsroot=10.1.1.200:/nfsroot/guru,proto=tcp ip=dhcp bootcmd=usb start; ${loadImage}; ${loadInitrd} ; bootm 0x6400000 0x7400000 bootcmd_tftp=dhcp; set serverip 10.1.1.200; tftpboot 0x6400000 sheeva-2.6.39.4-uImage bootdelay=3 eth1addr=delete ethact=egiga0 ethaddr=02:50:43:52:a6:2d ipaddr=10.1.1.221 loadImage=ext2load usb 0:1 0x6400000 uImage loadInitrd=ext2load usb 0:1 0x7400000 uInitrd serverip=10.1.1.200 stderr=serial stdin=serial stdout=serial x_bootargs=console=ttyS0,115200 x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs x_bootcmd_ethernet=ping 192.168.2.1 x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000 x_bootcmd_usb=usb start Environment size: 873/131068 bytes Marvell>> On Sep 28, 2015, at 8:39 PM, Gordan Bobic <[email protected]> wrote: Forgive the obviousness of the question, but did you e2label the rootfs file system? Gordan On 2015-09-28 12:28, Ioan Stan wrote: Sorry for my late reply. I get dracut error when trying to bootfromRSEL 7. Please let me know if you need other info. U-Boot 2011.12 (Mar 11 2012 - 18:53:15) Marvell-GuruPlug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 PHY reset timed out 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "uImage" from usb device 0:1 (usbda1) 3665856 bytes read Loading file "uInitrd" from usb device 0:1 (usbda1) 17811253 bytes read ## Booting kernel from Legacy Image at 06400000 ... Image Name: 3.10.14-100.fc18.armv5tel.kirkwo Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3665792 Bytes = 3.5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 07400000 ... Image Name: initramfs Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 17811189 Bytes = 17 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK 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 3.10.14-100.fc18.armv5tel.kirkwood ([email protected]) (gcc 3 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1(ARMv5TE),cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell GuruPlug Reference Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility groupingon.Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootwait [ 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] allocated 1048576 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if youdon'twant memory cgroups [ 0.000000] Memory: 512MB = 512MB total [ 0.000000] Memory: 493024k/493024k available, 31264k reserved,0Khighmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0678cbc (6596 kB) [ 0.000000] .init : 0xc0679000 - 0xc06d112c ( 353 kB) [ 0.000000] .data : 0xc06d2000 - 0xc073ffb0 ( 440 kB) [ 0.000000] .bss : 0xc073ffb0 - 0xc081ac30 ( 876 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:114 [ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms [ 0.000000] Console: colour dummy device 80x30 [ 2.767292] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 2.857166] pid_max: default: 32768 minimum: 301 [ 2.857335] Security Framework initialized [ 2.857379] SELinux: Initializing. [ 2.857686] Mount-cache hash table entries: 512 [ 2.858360] Initializing cgroup subsys memory [ 2.858411] Initializing cgroup subsys devices [ 2.858425] Initializing cgroup subsys freezer [ 2.858435] Initializing cgroup subsys net_cls [ 2.858444] Initializing cgroup subsys blkio [ 2.858453] Initializing cgroup subsys perf_event [ 2.858597] CPU: Testing write buffer coherency: ok [ 2.858700] ftrace: allocating 19764 entries in 39 pages [ 2.888683] Setting up static identity map for 0xc048aed8 - 0xc048af14 [ 2.900719] devtmpfs: initialized [ 2.909222] atomic64 test passed [ 2.909237] pinctrl core: initialized pinctrl subsystem [ 2.909686] regulator-dummy: no parameters [ 2.910062] NET: Registered protocol family 16 [ 2.910494] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 2.911276] Kirkwood: MV88F6281-A1, TCLK=200000000. [ 2.911304] Feroceon L2: Enabling L2 [ 2.911341] Feroceon L2: Cache support initialised, in WToverridemode. [ 2.917315] bio: create slab <bio-0> at 0 [ 2.917938] vgaarb: loaded [ 2.918313] SCSI subsystem initialized [ 2.918706] usbcore: registered new interface driver usbfs [ 2.918759] usbcore: registered new interface driver hub [ 2.918865] usbcore: registered new device driver usb [ 2.919575] NetLabel: Initializing [ 2.919585] NetLabel: domain hash size = 128 [ 2.919590] NetLabel: protocols = UNLABELED CIPSOv4 [ 2.919646] NetLabel: unlabeled traffic allowed by default [ 2.919739] Switching to clocksource orion_clocksource [ 2.964353] NET: Registered protocol family 2 [ 2.965044] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 2.965144] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 2.965195] TCP: Hash tables configured (established 4096 bind 4096) [ 2.965252] TCP: reno registered [ 2.965265] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 2.965287] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 2.965536] NET: Registered protocol family 1 [ 2.965770] Unpacking initramfs... [ 4.505970] Freeing initrd memory: 17388K (c7401000 - c84fc000) [ 4.506712] audit: initializing netlink socket (disabled) [ 4.506755] type=2000 audit(1.730:1): initialized [ 4.649878] VFS: Disk quotas dquot_6.5.2 [ 4.650069] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 4.651722] msgmni has been set to 996 [ 4.653977] alg: No test for stdrng (krng) [ 4.654001] NET: Registered protocol family 38 [ 4.654094] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 4.654239] io scheduler noop registered [ 4.654248] io scheduler deadline registered [ 4.654438] io scheduler cfq registered (default) [ 4.654937] mv_xor mv_xor.0: Marvell shared XOR driver [ 4.689874] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 4.729871] mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy ) [ 4.730009] mv_xor mv_xor.1: Marvell shared XOR driver [ 4.769872] mv_xor mv_xor.1: Marvell XOR: ( xor cpy ) [ 4.809871] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 4.810253] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 4.831325] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) isa16550A [ 5.341356] console [ttyS0] enabled [ 5.349314] loop: module loaded [ 5.353009] libphy: Fixed MDIO Bus: probed [ 5.357333] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.363908] ehci-pci: EHCI PCI platform driver [ 5.368426] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI)Driver[ 5.374686] uhci_hcd: USB Universal Host Controller Interface driver [ 5.381335] usbcore: registered new interface driver usbserial [ 5.387229] usbcore: registered new interface driver usbserial_generic [ 5.393856] usbserial: USB Serial support registered for generic [ 5.400134] mousedev: PS/2 mouse device common for all mice [ 5.406313] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 [ 5.412714] device-mapper: uevent: version 1.0.3 [ 5.417700] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: [email protected] [ 5.426260] cpuidle: using governor ladder [ 5.430392] cpuidle: using governor menu [ 5.434550] hidraw: raw HID events driver (C) Jiri Kosina [ 5.440614] usbcore: registered new interface driver usbhid [ 5.446210] usbhid: USB HID core driver [ 5.450164] drop_monitor: Initializing network drop monitor service [ 5.456781] ip_tables: (C) 2000-2006 Netfilter Core Team [ 5.462192] TCP: cubic registered [ 5.465519] Initializing XFRM netlink socket [ 5.470658] NET: Registered protocol family 10 [ 5.475820] mip6: Mobile IPv6 [ 5.478801] NET: Registered protocol family 17 [ 5.483885] registered taskstats version 1 [ 5.488343] rtc-mv rtc-mv: setting system clock to 2015-09-27 19:57:03 UTC (1443383823) [ 5.497876] Freeing unused kernel memory: 352K (c0679000 - c06d1000) [ 5.528598] systemd[1]: systemd 208 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTS) [ 5.541643] systemd[1]: Running in initial RAM disk. Welcome to RedSleeve Linux 7 (Core) dracut-033-241.el7.5(Initramfs)![ 5.570158] systemd[1]: No hostname configured. [ 5.574732] systemd[1]: Set hostname to <localhost>. [ 5.580294] systemd[1]: Initializing machine ID from random generator. [ 5.820021] systemd[1]: Expecting device dev-disk-by\x2dlabel-rootfs.device... Expecting device dev-disk-by\x2dlabel-rootfs.device... [ 5.849927] systemd[1]: Starting -.slice. [ OK ] Created slice -.slice. [ 5.869906] systemd[1]: Created slice -.slice. [ 5.874729] systemd[1]: Starting System Slice. [ OK ] Created slice System Slice. [ 5.899902] systemd[1]: Created slice System Slice. [ 5.905124] systemd[1]: Starting Slices. [ OK ] Reached target Slices. [ 5.929891] systemd[1]: Reached target Slices. [ 5.934655] systemd[1]: Starting Timers. [ OK ] Reached target Timers. [ 5.959887] systemd[1]: Reached target Timers. [ 5.964652] systemd[1]: Starting Journal Socket. [ OK ] Listening on Journal Socket. [ 5.989898] systemd[1]: Listening on Journal Socket. [ 5.995537] systemd[1]: Started dracut ask for additional cmdline parameters. [ 6.003884] systemd[1]: Started dracut cmdline hook. [ 6.010230] systemd[1]: Started dracut pre-udev hook. [ 6.015601] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 6.043113] systemd[1]: Started Load Kernel Modules. [ 6.048554] systemd[1]: Starting Create list of required static device nodes for the current kernel... Starting Create list of required static device nodes...rrent kernel... [ 6.092081] systemd[1]: Starting Setup Virtual Console... Starting Setup Virtual Console... [ 6.109634] systemd[1]: Starting Journal Service... Starting Journal Service... [ OK ] Started Journal Service. [ 6.150073] systemd[1]: Started Journal Service. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on udev Control Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Swap. [ OK ] Reached target Local File Systems. [ OK ] Started Apply Kernel Variables. [ OK ] Started Setup Virtual Console. [ OK ] Started Create list of required static device nodes ...current kernel. Starting Create static device nodes in /dev... [ OK ] Started Create static device nodes in /dev. Starting udev Kernel Device Manager... [ OK [ 6.444780] systemd-udevd[70]: starting version 208 ] Started udev Kernel Device Manager. Starting udev Coldplug all Devices... [ OK ] Started udev Coldplug all Devices. Starting dracut initqueue hook... [ OK ] Reached target System Initialization. Starting Show Plymouth Boot Screen... Mounting Configuration File System... [ OK ] Mounted Configuration File System. [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. [ 6.974377] sata_mv sata_mv.0: cannot get optional clkdev [ 7.041830] sata_mv sata_mv.0: slots 32 ports 1 [ 7.132086] scsi0 : sata_mv [ 7.135215] ata1: SATA max UDMA/133 irq 21 G[ 7.158580] mvsdio mvsdio: no pins associated [ 7.199841] mvsdio mvsdio: lacking card detect (fall back to polling) [ 7.239248] mmc0: new high speed SDIO card at address 0001 [ 7.335884] cfg80211: Calling CRDA to update world regulatory domain [ 7.349952] libertas_sdio: Libertas SDIO driver [ 7.354506] libertas_sdio: Copyright Pierre Ossman [ 7.361833] libertas_sdio: failed to find firmware (-2) [ 7.479794] ata1: SATA link down (SStatus 0 SControl F300) dracut-initqueue[85]: Warning: Could not boot. [ OK ] Mounted Configuration File System. [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Gdracut-initqueue[85]: Warning: Could not boot. dracut-initqueue[85]: Warning: /dev/disk/by-label/rootfs does not exist Starting Dracut Emergency Shell... Warning: /dev/disk/by-label/rootfs does not exist Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report. dracut:/# On Sep 21, 2015, at 2:34 AM, Jacco Ligthart<[email protected]>wrote: On 09/20/15 19:18, Ioan Stan wrote: Hi Jacco, Really appreciated. Before proceeding, I'd like to confirm the steps (assuming similar procedure as for F18 in the link below) 1. xzcat dream* /dev/sdb (if the SD card is sdb; or use dd) 2. Configure u-boot (one that supports ext2) printenv set bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootwait' set loadInitrd 'ext2load usb 1:1 0x7400000 uInitrd' set loadImage 'ext2load usb 1:1 0x6400000 uImage' set bootcmd 'usb start; ${loadImage}; ${loadInitrd} ; bootm 0x6400000 0x7400000' saveenv boot yes, that's also how I think it should work. The first partitioninthe image is an ext2 partition with indeed the files uInitrd and uImage. These files come from a kernel-kirkwood of F18. I'm notsureif the uboot things should reference usb if we really boot fromSD,but if this works for you right now for F18, it should besimilarfor RSEL7. Jacco_______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users_______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users
