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 boot from >>> RSEL 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 grouping on. >>> 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 you don't >>> want memory cgroups >>> [ 0.000000] Memory: 512MB = 512MB total >>> [ 0.000000] Memory: 493024k/493024k available, 31264k reserved, 0K >>> highmem >>> [ 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 WT override >>> mode. >>> [ 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) is a >>> 16550A >>> [ 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 partition in >>>> the image is an ext2 partition with indeed the files uInitrd and >>>> uImage. These files come from a kernel-kirkwood of F18. I'm not sure >>>> if the uboot things should reference usb if we really boot from SD, >>>> but if this works for you right now for F18, it should be similar >>>> for 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
