bigfede Posted August 7, 2016 Posted August 7, 2016 Hi to everyone! I've just bought an orange pi pc+, and i've seen that the script that should install armbian into mmc is not working for me. The script only write the rootfs, but I am not able to see uboot and MLO. In past i've used proto-Board like BeagleBone. So the question is, how the script works? is there any way to compile MLO?
tkaiser Posted August 7, 2016 Posted August 7, 2016 The script only write the rootfs, but I am not able to see uboot and MLO. In past i've used proto-Board like BeagleBone. So the question is, how the script works? is there any way to compile MLO? An Orange Pi is not a BeagleBone so you better expect that things work differently (and they do work, I personally tested nand-sata-install to eMMC on OPi PC + a while ago). Armbian doesn't use a FAT partition so there's nothing 'to see' there and Allwinner SoCs boot differently (no MLO, no u-boot.img and so on). If nand-sata-install reports success, shut the OPI PC+ down, remove SD card and see whether it boots (it should). And then please have a look how things are different with Allwinner SoCs (none of the bootloader stuff is accessible through filesystem): http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout (applies to eMMC also since eMMC is just an SD card soldered to the board)
bigfede Posted August 10, 2016 Author Posted August 10, 2016 Thanks, now i'll read! But i've delete completely the mmc, so even if the script report success, it does not boot at all
martinayotte Posted August 10, 2016 Posted August 10, 2016 Boot from sdcard, redo nand_sata_install again, it is doesn't work, you can fix it manually but doing something like : dd if=/usr/lib/linux-u-boot-dev-orangepipcplus_5.17_armhf/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1024 seek=8 (I've wrote /dev/mmcblk2 because I'm using Mainline kernels, but on Legacy, it could be /dev/mmcblk1 instead, I'm not sure)
bigfede Posted August 14, 2016 Author Posted August 14, 2016 (edited) not working. This is the serial console display. U-Boot 2016.07-armbian (Aug 04 2016 - 19:08:45 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi PC I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 1, SUNXI SD/MMC: 0 (eMMC) *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: No ethernet found. starting USB... No controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0(part 0) is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 2629 bytes read in 183 ms (13.7 KiB/s) ## Executing script at 43100000 gpio: pin PL10 (gpio 298) value is 1 gpio: pin PG11 (gpio 203) value is 1 57 bytes read in 95 ms (0 Bytes/s) 0 bytes read in 130 ms (0 Bytes/s) 31348 bytes read in 1318 ms (22.5 KiB/s) 3766666 bytes read in 4029 ms (912.1 KiB/s) 5746184 bytes read in 6126 ms (915 KiB/s) Kernel image @ 0x42000000 [ 0x000000 - 0x57ae08 ] ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 3766602 Bytes = 3.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 49c68000, end 49fff94a ... OK Loading Device Tree to 49c5d000, end 49c67a73 ... OK Using machid 0x1029 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.6.4-sun8i (root@federico-VirtualBox) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #1 SMP Thu Aug 4 19:38:00 CEST 2016 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Xunlong Orange Pi PC [ 0.000000] cma: Reserved 16 MiB at 0x7ec00000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] percpu: Embedded 12 pages/cpu @ef6ac000 s19788 r8192 d21172 u49152 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260416 [ 0.000000] Kernel command line: console=ttyS0,115200 console=tty1 root=UUID=3c4cddf1-a0e2-48fe-93ef-0b34612c2910 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=7 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1005224K/1048576K available (8400K kernel code, 296K rwdata, 2492K rodata, 1024K init, 301K bss, 26968K reserved, 16384K cma-reserved, 245752K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0ba305c (11885 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0d4a180 ( 297 kB) [ 0.000000] .bss : 0xc0d4c000 - 0xc0d976d0 ( 302 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000014] Switching to timer-based delay loop, resolution 41ns [ 0.000235] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000511] Console: colour dummy device 80x30 [ 0.000884] console [tty1] enabled [ 0.000911] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000939] pid_max: default: 32768 minimum: 301 [ 0.001048] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001067] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001684] CPU: Testing write buffer coherency: ok [ 0.001993] CPU0: update cpu_capacity 1024 [ 0.002017] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002072] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.013569] CPU1: update cpu_capacity 1024 [ 0.013575] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.024169] CPU2: update cpu_capacity 1024 [ 0.024174] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.034761] CPU3: update cpu_capacity 1024 [ 0.034766] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.034819] Brought up 4 CPUs [ 0.034908] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.034923] CPU: All CPU(s) started in HYP mode. [ 0.034935] CPU: Virtualization extensions available. [ 0.035746] devtmpfs: initialized [ 0.041954] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.042391] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.043012] xor: measuring software checksum speed [ 0.134609] arm4regs : 1622.000 MB/sec [ 0.234655] 8regs : 1127.200 MB/sec [ 0.334699] 32regs : 1125.200 MB/sec [ 0.434744] neon : 1648.800 MB/sec [ 0.434761] xor: using function: neon (1648.800 MB/sec) [ 0.434864] pinctrl core: initialized pinctrl subsystem [ 0.435918] NET: Registered protocol family 16 [ 0.436844] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.464897] cpuidle: using governor ladder [ 0.494907] cpuidle: using governor menu [ 0.499266] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.499298] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.674916] raid6: int32x1 gen() 232 MB/s [ 0.845060] raid6: int32x1 xor() 213 MB/s [ 1.015141] raid6: int32x2 gen() 298 MB/s [ 1.185182] raid6: int32x2 xor() 221 MB/s [ 1.355345] raid6: int32x4 gen() 289 MB/s [ 1.525434] raid6: int32x4 xor() 222 MB/s [ 1.695515] raid6: int32x8 gen() 287 MB/s [ 1.865520] raid6: int32x8 xor() 192 MB/s [ 2.035651] raid6: neonx1 gen() 636 MB/s [ 2.205652] raid6: neonx1 xor() 466 MB/s [ 2.375788] raid6: neonx2 gen() 835 MB/s [ 2.545832] raid6: neonx2 xor() 608 MB/s [ 2.715887] raid6: neonx4 gen() 928 MB/s [ 2.885995] raid6: neonx4 xor() 641 MB/s [ 3.056062] raid6: neonx8 gen() 886 MB/s [ 3.226154] raid6: neonx8 xor() 622 MB/s [ 3.226168] raid6: using algorithm neonx4 gen() 928 MB/s [ 3.226182] raid6: .... xor() 641 MB/s, rmw enabled [ 3.226195] raid6: using intx1 recovery algorithm [ 3.227523] SCSI subsystem initialized [ 3.227959] usbcore: registered new interface driver usbfs [ 3.228024] usbcore: registered new interface driver hub [ 3.228098] usbcore: registered new device driver usb [ 3.228302] media: Linux media interface: v0.10 [ 3.228363] Linux video capture interface: v2.00 [ 3.228441] pps_core: LinuxPPS API ver. 1 registered [ 3.228457] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 3.228499] PTP clock support registered [ 3.229983] clocksource: Switched to clocksource arch_sys_counter [ 3.237147] NET: Registered protocol family 2 [ 3.237661] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 3.237742] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 3.237843] TCP: Hash tables configured (established 8192 bind 8192) [ 3.237911] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 3.237973] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 3.238189] NET: Registered protocol family 1 [ 3.238477] RPC: Registered named UNIX socket transport module. [ 3.238499] RPC: Registered udp transport module. [ 3.238512] RPC: Registered tcp transport module. [ 3.238525] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.238727] Trying to unpack rootfs image as initramfs... [ 3.410594] Freeing initrd memory: 3680K (c9c68000 - ca000000) [ 3.412015] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 3.412369] Initialise system trusted keyring [ 3.412797] workingset: timestamp_bits=12 max_order=18 bucket_order=6 [ 3.419394] zbud: loaded [ 3.421924] NFS: Registering the id_resolver key type [ 3.421991] Key type id_resolver registered [ 3.422005] Key type id_legacy registered [ 3.422030] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.422050] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 3.423174] JFS: nTxBlock = 8010, nTxLock = 64080 [ 3.431500] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 3.437116] bounce: pool size: 64 pages [ 3.437353] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 3.437488] io scheduler noop registered [ 3.437512] io scheduler deadline registered [ 3.437561] io scheduler cfq registered (default) [ 3.440184] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 3.440804] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 3.484422] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 3.486561] console [ttyS0] disabled [ 3.506721] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A [ 4.285598] console [ttyS0] enabled [ 4.292236] brd: module loaded [ 4.300439] loop: module loaded [ 4.305402] usbcore: registered new interface driver catc [ 4.310881] usbcore: registered new interface driver kaweth [ 4.316462] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 4.323904] usbcore: registered new interface driver pegasus [ 4.329602] usbcore: registered new interface driver rtl8150 [ 4.335306] usbcore: registered new interface driver r8152 [ 4.340838] usbcore: registered new interface driver lan78xx [ 4.346544] usbcore: registered new interface driver asix [ 4.351999] usbcore: registered new interface driver ax88179_178a [ 4.358129] usbcore: registered new interface driver cdc_ether [ 4.364007] usbcore: registered new interface driver cdc_eem [ 4.369702] usbcore: registered new interface driver dm9601 [ 4.375324] usbcore: registered new interface driver sr9700 [ 4.380953] usbcore: registered new interface driver CoreChips [ 4.386834] usbcore: registered new interface driver smsc75xx [ 4.392645] usbcore: registered new interface driver smsc95xx [ 4.398428] usbcore: registered new interface driver gl620a [ 4.404045] usbcore: registered new interface driver net1080 [ 4.409740] usbcore: registered new interface driver plusb [ 4.415272] usbcore: registered new interface driver rndis_host [ 4.421237] usbcore: registered new interface driver cdc_subset [ 4.427195] usbcore: registered new interface driver MOSCHIP usb-ethernet driver [ 4.434671] usbcore: registered new interface driver cdc_ncm [ 4.440384] usbcore: registered new interface driver huawei_cdc_ncm [ 4.446693] usbcore: registered new interface driver cdc_mbim [ 4.452453] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.458983] ehci-platform: EHCI generic platform driver [ 4.464396] ehci-platform 1c1b000.usb: EHCI Host Controller [ 4.470005] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 1 [ 4.478038] ehci-platform 1c1b000.usb: irq 25, io mem 0x01c1b000 [ 4.499989] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 4.506320] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.513124] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.520361] usb usb1: Product: EHCI Host Controller [ 4.525240] usb usb1: Manufacturer: Linux 4.6.4-sun8i ehci_hcd [ 4.531083] usb usb1: SerialNumber: 1c1b000.usb [ 4.536173] hub 1-0:1.0: USB hub found [ 4.539991] hub 1-0:1.0: 1 port detected [ 4.544352] ehci-platform 1c1c000.usb: EHCI Host Controller [ 4.549943] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 4.557838] ehci-platform 1c1c000.usb: irq 27, io mem 0x01c1c000 [ 4.579984] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 4.586262] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.593064] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.600301] usb usb2: Product: EHCI Host Controller [ 4.605180] usb usb2: Manufacturer: Linux 4.6.4-sun8i ehci_hcd [ 4.611022] usb usb2: SerialNumber: 1c1c000.usb [ 4.616042] hub 2-0:1.0: USB hub found [ 4.619827] hub 2-0:1.0: 1 port detected [ 4.624157] ehci-platform 1c1d000.usb: EHCI Host Controller [ 4.629747] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 3 [ 4.637639] ehci-platform 1c1d000.usb: irq 29, io mem 0x01c1d000 [ 4.659985] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 4.666258] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.673063] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.680301] usb usb3: Product: EHCI Host Controller [ 4.685180] usb usb3: Manufacturer: Linux 4.6.4-sun8i ehci_hcd [ 4.691023] usb usb3: SerialNumber: 1c1d000.usb [ 4.696053] hub 3-0:1.0: USB hub found [ 4.699843] hub 3-0:1.0: 1 port detected [ 4.704140] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.710354] ohci-platform: OHCI generic platform driver [ 4.715733] ohci-platform 1c1b400.usb: Generic Platform OHCI controller [ 4.722387] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4 [ 4.730977] ohci-platform 1c1b400.usb: irq 26, io mem 0x01c1b400 [ 4.794167] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.800970] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.808197] usb usb4: Product: Generic Platform OHCI controller [ 4.814129] usb usb4: Manufacturer: Linux 4.6.4-sun8i ohci_hcd [ 4.819971] usb usb4: SerialNumber: 1c1b400.usb [ 4.824979] hub 4-0:1.0: USB hub found [ 4.828768] hub 4-0:1.0: 1 port detected [ 4.833078] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 4.839717] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 5 [ 4.847596] ohci-platform 1c1c400.usb: irq 28, io mem 0x01c1c400 [ 4.914167] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.920977] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.928204] usb usb5: Product: Generic Platform OHCI controller [ 4.934131] usb usb5: Manufacturer: Linux 4.6.4-sun8i ohci_hcd [ 4.939974] usb usb5: SerialNumber: 1c1c400.usb [ 4.944957] hub 5-0:1.0: USB hub found [ 4.948751] hub 5-0:1.0: 1 port detected [ 4.953062] ohci-platform 1c1d400.usb: Generic Platform OHCI controller [ 4.959693] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 6 [ 4.967565] ohci-platform 1c1d400.usb: irq 30, io mem 0x01c1d400 [ 5.034167] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.040975] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.048193] usb usb6: Product: Generic Platform OHCI controller [ 5.054120] usb usb6: Manufacturer: Linux 4.6.4-sun8i ohci_hcd [ 5.059953] usb usb6: SerialNumber: 1c1d400.usb [ 5.064936] hub 6-0:1.0: USB hub found [ 5.068721] hub 6-0:1.0: 1 port detected [ 5.073079] usbcore: registered new interface driver cdc_wdm [ 5.078856] usbcore: registered new interface driver usb-storage [ 5.085616] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 5.092435] sun6i-rtc 1f00000.rtc: RTC enabled [ 5.097012] i2c /dev entries driver [ 5.103369] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 5.111951] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 5.150010] sunxi-mmc 1c0f000.mmc: base:0xf0d7e000 irq:22 [ 5.155943] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 5.199999] sunxi-mmc 1c10000.mmc: base:0xf0d82000 irq:23 [ 5.211684] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 8, RTO !! [ 5.228168] mmc1: new high speed SDIO card at address 0001 [ 5.239998] sunxi-mmc 1c11000.mmc: base:0xf0d86000 irq:24 [ 5.245948] ledtrig-cpu: registered to indicate activity on CPUs [ 5.252061] hidraw: raw HID events driver (C) Jiri Kosina [ 5.257600] usbcore: registered new interface driver usbhid [ 5.263190] usbhid: USB HID core driver [ 5.267792] Initializing XFRM netlink socket [ 5.272906] NET: Registered protocol family 10 [ 5.278180] NET: Registered protocol family 17 [ 5.282673] NET: Registered protocol family 15 [ 5.283664] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 8, RTO !! [ 5.287728] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !! [ 5.288548] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !! [ 5.289365] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !! [ 5.290183] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !! [ 5.315374] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 5.325561] mmc2: new DDR MMC card at address 0001 [ 5.326091] mmcblk2: mmc2:0001 8WPD3R 7.28 GiB [ 5.326323] mmcblk2boot0: mmc2:0001 8WPD3R partition 1 4.00 MiB [ 5.326554] mmcblk2boot1: mmc2:0001 8WPD3R partition 2 4.00 MiB [ 5.327421] mmcblk2: p1 [ 5.351788] 8021q: 802.1Q VLAN Support v1.8 [ 5.356036] Key type dns_resolver registered [ 5.360746] Registering SWP/SWPB emulation handler [ 5.366059] registered taskstats version 1 [ 5.370199] Loading compiled-in X.509 certificates [ 5.375080] zswap: loaded using pool lzo/zbud [ 5.381413] Btrfs loaded [ 5.397295] Key type encrypted registered [ 5.401736] of_cfs_init [ 5.404271] of_cfs_init: OK [ 5.409538] vcc5v0: disabling [ 5.413677] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000) [ 5.471933] random: systemd-udevd urandom read with 2 bits of entropy available [ 7.084939] EXT4-fs (mmcblk2p1): INFO: recovery required on readonly filesystem [ 7.092354] EXT4-fs (mmcblk2p1): write access will be enabled during recovery [ 7.103794] EXT4-fs (mmcblk2p1): recovery complete [ 7.110244] EXT4-fs (mmcblk2p1): mounted filesystem with ordered data mode. Opts: (null) [ 7.261674] systemd[1]: System time before build time, advancing clock. [ 7.332787] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 7.351269] systemd[1]: Detected architecture arm. [ 7.359494] systemd[1]: Set hostname to <orangepipcplus>. [ 7.548133] systemd[1]: Listening on Journal Socket. [ 7.553883] systemd[1]: Listening on udev Control Socket. [ 7.559664] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 7.567906] systemd[1]: Listening on Journal Socket (/dev/log). [ 7.574123] systemd[1]: Listening on udev Kernel Socket. [ 7.579608] systemd[1]: Reached target Encrypted Volumes. [ 7.589542] systemd[1]: Created slice System Slice. [ 7.620249] systemd[1]: Mounting POSIX Message Queue File System... [ 7.629349] systemd[1]: Starting Set console keymap... [ 7.641191] systemd[1]: Starting Load Kernel Modules... [ 7.649007] systemd[1]: Starting Nameserver information manager... [ 7.658852] systemd[1]: Starting Restore / save the current clock... [ 7.668411] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 7.678648] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 7.685575] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 7.695784] systemd[1]: Mounting Debug File System... [ 7.702074] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 7.712198] systemd[1]: Created slice User and Session Slice. [ 7.718143] systemd[1]: Reached target Slices. [ 7.726554] systemd[1]: Listening on Syslog Socket. [ 7.731809] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 7.739035] systemd[1]: Listening on fsck to fsckd communication Socket. [ 7.745945] systemd[1]: Reached target Remote File Systems (Pre). [ 7.752380] systemd[1]: Reached target Remote File Systems. [ 7.760633] systemd[1]: Starting File System Check on Root Device... [ 7.772963] systemd[1]: Mounted POSIX Message Queue File System. [ 7.779492] systemd[1]: Mounted Debug File System. [ 7.785993] systemd[1]: Started Set console keymap. [ 7.796030] systemd[1]: Started Load Kernel Modules. [ 7.805045] systemd[1]: Started Restore / save the current clock. [ 7.812627] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 7.823182] systemd[1]: Started File System Check on Root Device. [ 7.831659] systemd[1]: Started Nameserver information manager. [ 7.854035] systemd[1]: Time has been changed [ 8.070598] systemd[1]: Started File System Check Daemon to report status. [ 8.080206] systemd[1]: Starting Remount Root and Kernel File Systems... [ 8.090042] systemd[1]: Starting Create Static Device Nodes in /dev... [ 8.093994] EXT4-fs (mmcblk2p1): re-mounted. Opts: commit=600,errors=remount-ro [ 8.106643] systemd[1]: Mounting Configuration File System... [ 8.115490] systemd[1]: Starting Apply Kernel Variables... [ 8.124572] systemd[1]: Mounted Configuration File System. Edited August 14, 2016 by zador.blood.stained Added spoiler tags
martinayotte Posted August 14, 2016 Posted August 14, 2016 With this log, it is clearly showing that mmcblk2p1 is mounted. So, why are you saying that it is not working ?
bigfede Posted August 14, 2016 Author Posted August 14, 2016 because it freeze at that point! I waited 20 min, nothing changes
martinayotte Posted August 14, 2016 Posted August 14, 2016 can you show what you have in your /etc/fstab (the one located in the eMMC, not the one on SDCard) ?
bigfede Posted August 15, 2016 Author Posted August 15, 2016 when try to boot from SD: Starting kernel ... Uncompressing Linux... done, booting the kernel. and stop. now i try again
bigfede Posted August 15, 2016 Author Posted August 15, 2016 I've write the SD again with the image! I am now able to see fstab: root@orangepipcplus:/mnt/etc# cat fstab /dev/mmcblk2p1 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults,nosuid 0 0 /var/swap none swap sw 0 0
martinayotte Posted August 15, 2016 Posted August 15, 2016 So, the problem isn't there ! I'm running out of ideas... Maybe you will have to try again the nand_sata_install to see if it still fail.
Recommended Posts