berturion Posted April 27, 2016 Posted April 27, 2016 Hello @lampra, Is this a self build image? I tried yesterday with Armbian_5.04_Cubietruck_Ubuntu_trusty_4.4.3 and I did not manage to boot from usb. It is a Vanilla Jessie Cubieboard2 image taken from armbian.com website, not self-built. Though, I don't remember the initial version I downloaded. There have been some updates since then. ____ _ _ _ _ / ___| _| |__ (_) ___| |__ ___ __ _ _ __ __| | | | | | | | '_ \| |/ _ \ '_ \ / _ \ / _` | '__/ _` | | |__| |_| | |_) | | __/ |_) | (_) | (_| | | | (_| | \____\__,_|_.__/|_|\___|_.__/ \___/ \__,_|_| \__,_| Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 4.4.1-sunxi $ uname -a Linux local 4.4.1-sunxi #10 SMP Wed Feb 17 17:57:20 CET 2016 armv7l GNU/Linux
Igor Posted April 27, 2016 Posted April 27, 2016 Than we would need some more info to diagnose where is the problem. Can you provide boot log and boot script content.
lampra Posted April 27, 2016 Posted April 27, 2016 dmesg (booting from mmc) root@cubietruck:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.3-sunxi (root@production) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #3 SMP Sun Feb 28 15:02:23 CET 2016 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Cubietech Cubietruck [ 0.000000] cma: Reserved 16 MiB at 0xbe800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 522263 [ 0.000000] free_area_init_node: node 0, pgdat c08fd2c0, node_mem_map eee01000 [ 0.000000] Normal zone: 1728 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:31 [ 0.000000] HighMem zone: 325655 pages, LIFO batch:31 [ 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 @eedc7000 s19008 r8192 d21952 u49152 [ 0.000000] pcpu-alloc: s19008 r8192 d21952 u49152 alloc=12*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 520535 [ 0.000000] Kernel command line: console=tty1 root=/dev/mmcblk0p1 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 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 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: 2043712K/2089052K available (6827K kernel code, 256K rwdata, 1764K rodata, 328K init, 280K bss, 28956K reserved, 16384K cma-reserved, 1286236K 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 - 0xc086bf0c (8592 kB) [ 0.000000] .init : 0xc086c000 - 0xc08be000 ( 328 kB) [ 0.000000] .data : 0xc08be000 - 0xc08fe220 ( 257 kB) [ 0.000000] .bss : 0xc0901000 - 0xc0947340 ( 281 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2 [ 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000017] Switching to timer-based delay loop, resolution 41ns [ 0.000404] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000589] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns [ 0.000782] Console: colour dummy device 80x30 [ 0.001397] console [tty1] enabled [ 0.001434] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001473] pid_max: default: 32768 minimum: 301 [ 0.001630] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001658] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002415] Initializing cgroup subsys io [ 0.002472] Initializing cgroup subsys memory [ 0.002518] Initializing cgroup subsys devices [ 0.002546] Initializing cgroup subsys freezer [ 0.002572] Initializing cgroup subsys net_cls [ 0.002596] Initializing cgroup subsys perf_event [ 0.002634] Initializing cgroup subsys net_prio [ 0.002707] CPU: Testing write buffer coherency: ok [ 0.003108] /cpus/cpu@0 missing clock-frequency property [ 0.003152] /cpus/cpu@1 missing clock-frequency property [ 0.003179] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.003262] Setting up static identity map for 0x400082c0 - 0x40008318 [ 0.005346] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.005441] Brought up 2 CPUs [ 0.005501] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.005521] CPU: All CPU(s) started in HYP mode. [ 0.005538] CPU: Virtualization extensions available. [ 0.006489] devtmpfs: initialized [ 0.015153] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.015647] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.016576] xor: measuring software checksum speed [ 0.109991] arm4regs : 1243.600 MB/sec [ 0.210047] 8regs : 772.000 MB/sec [ 0.310103] 32regs : 792.400 MB/sec [ 0.410163] neon : 1162.800 MB/sec [ 0.410185] xor: using function: arm4regs (1243.600 MB/sec) [ 0.410347] pinctrl core: initialized pinctrl subsystem [ 0.411606] NET: Registered protocol family 16 [ 0.412902] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.440239] cpuidle: using governor ladder [ 0.465613] cpuidle: using governor menu [ 0.472881] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.472935] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.650896] raid6: int32x1 gen() 138 MB/s [ 0.820725] raid6: int32x1 xor() 111 MB/s [ 0.990841] raid6: int32x2 gen() 185 MB/s [ 1.160980] raid6: int32x2 xor() 120 MB/s [ 1.331063] raid6: int32x4 gen() 197 MB/s [ 1.501266] raid6: int32x4 xor() 122 MB/s [ 1.671270] raid6: int32x8 gen() 179 MB/s [ 1.841361] raid6: int32x8 xor() 116 MB/s [ 2.011398] raid6: neonx1 gen() 436 MB/s [ 2.181461] raid6: neonx1 xor() 324 MB/s [ 2.351629] raid6: neonx2 gen() 577 MB/s [ 2.521717] raid6: neonx2 xor() 423 MB/s [ 2.691793] raid6: neonx4 gen() 706 MB/s [ 2.861899] raid6: neonx4 xor() 480 MB/s [ 3.032006] raid6: neonx8 gen() 640 MB/s [ 3.202171] raid6: neonx8 xor() 451 MB/s [ 3.202191] raid6: using algorithm neonx4 gen() 706 MB/s [ 3.202210] raid6: .... xor() 480 MB/s, rmw enabled [ 3.202228] raid6: using intx1 recovery algorithm [ 3.202663] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@1, deferring probe [ 3.202750] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe [ 3.202807] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 3.202866] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 3.204619] SCSI subsystem initialized [ 3.204981] libata version 3.00 loaded. [ 3.205329] usbcore: registered new interface driver usbfs [ 3.205420] usbcore: registered new interface driver hub [ 3.205525] usbcore: registered new device driver usb [ 3.205813] media: Linux media interface: v0.10 [ 3.205900] Linux video capture interface: v2.00 [ 3.206007] pps_core: LinuxPPS API ver. 1 registered [ 3.206029] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 3.206085] PTP clock support registered [ 3.207862] clocksource: Switched to clocksource arch_sys_counter [ 3.209025] simple-framebuffer bf817000.framebuffer: framebuffer at 0xbf817000, 0x7e9000 bytes, mapped to 0xf0900000 [ 3.209077] simple-framebuffer bf817000.framebuffer: format=x8r8g8b8, mode=1920x1080x32, linelength=7680 [ 3.245584] Console: switching to colour frame buffer device 240x67 [ 3.281331] simple-framebuffer bf817000.framebuffer: fb0: simplefb registered! [ 3.291489] NET: Registered protocol family 2 [ 3.292403] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 3.292714] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 3.293022] TCP: Hash tables configured (established 8192 bind 8192) [ 3.293307] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 3.293541] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 3.294031] NET: Registered protocol family 1 [ 3.295088] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 3.296637] futex hash table entries: 512 (order: 3, 32768 bytes) [ 3.297307] Initialise system trusted keyring [ 3.305907] zbud: loaded [ 3.309905] JFS: nTxBlock = 8192, nTxLock = 65536 [ 3.321399] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 3.329707] bounce: pool size: 64 pages [ 3.330181] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 3.330692] io scheduler noop registered [ 3.330837] io scheduler deadline registered [ 3.331020] io scheduler cfq registered (default) [ 3.331662] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe [ 3.334718] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 3.402394] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 3.425903] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A [ 3.434817] loop: module loaded [ 3.436970] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.437190] ehci-platform: EHCI generic platform driver [ 3.437697] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 3.438028] ohci-platform: OHCI generic platform driver [ 3.438617] usbcore: registered new interface driver usb-storage [ 3.439993] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 3.440221] sunxi-rtc 1c20d00.rtc: RTC enabled [ 3.440468] i2c /dev entries driver [ 3.441645] axp20x 0-0034: AXP20x variant AXP209 found [ 3.454821] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0 [ 3.462393] axp20x 0-0034: Backup (RTC) battery charging is enabled [ 3.462808] axp20x 0-0034: AXP20X driver loaded [ 3.465758] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 3.476238] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found [ 3.486649] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 3.528128] sunxi-mmc 1c0f000.mmc: base:0xf08b2000 irq:26 [ 3.538382] sunxi-mmc 1c12000.mmc: No vqmmc regulator found [ 3.548791] sunxi-mmc 1c12000.mmc: allocated mmc-pwrseq [ 3.565806] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.578162] mmc0: new high speed SDHC card at address 59b4 [ 3.588631] mmcblk0: mmc0:59b4 00000 14.9 GiB [ 3.598318] sunxi-mmc 1c12000.mmc: base:0xf08b6000 irq:27 [ 3.599846] mmcblk0: p1 [ 3.606529] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !! [ 3.615821] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 3.617317] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 3.618823] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 3.621513] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 3.636739] mmc1: new high speed SDIO card at address 0001 [ 3.673336] ledtrig-cpu: registered to indicate activity on CPUs [ 3.682668] hidraw: raw HID events driver (C) Jiri Kosina [ 3.691982] usbcore: registered new interface driver usbhid [ 3.701127] usbhid: USB HID core driver [ 3.711479] Initializing XFRM netlink socket [ 3.721697] NET: Registered protocol family 10 [ 3.731856] NET: Registered protocol family 17 [ 3.740958] NET: Registered protocol family 15 [ 3.749888] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 3.759056] 8021q: 802.1Q VLAN Support v1.8 [ 3.768165] Key type dns_resolver registered [ 3.777645] Registering SWP/SWPB emulation handler [ 3.787467] registered taskstats version 1 [ 3.796360] Loading compiled-in X.509 certificates [ 3.805280] zswap: loaded using pool lzo/zbud [ 3.817008] Btrfs loaded [ 3.827152] Key type encrypted registered [ 3.907911] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP [ 3.916710] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled [ 3.925422] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 3.934160] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc [ 3.944119] scsi host0: ahci-sunxi [ 3.953209] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 32 [ 3.962474] ehci-platform 1c14000.usb: EHCI Host Controller [ 3.971298] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1 [ 3.980363] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000 [ 4.007888] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00 [ 4.016924] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.025646] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.034288] usb usb1: Product: EHCI Host Controller [ 4.042844] usb usb1: Manufacturer: Linux 4.4.3-sunxi ehci_hcd [ 4.051457] usb usb1: SerialNumber: 1c14000.usb [ 4.061015] hub 1-0:1.0: USB hub found [ 4.069628] hub 1-0:1.0: 1 port detected [ 4.078819] ehci-platform 1c1c000.usb: EHCI Host Controller [ 4.087082] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 4.095608] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000 [ 4.117865] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 4.126234] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.134299] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.142318] usb usb2: Product: EHCI Host Controller [ 4.150261] usb usb2: Manufacturer: Linux 4.4.3-sunxi ehci_hcd [ 4.158215] usb usb2: SerialNumber: 1c1c000.usb [ 4.166901] hub 2-0:1.0: USB hub found [ 4.174947] hub 2-0:1.0: 1 port detected [ 4.183682] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 4.191788] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3 [ 4.199916] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400 [ 4.262146] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.269938] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.277624] usb usb3: Product: Generic Platform OHCI controller [ 4.285356] usb usb3: Manufacturer: Linux 4.4.3-sunxi ohci_hcd [ 4.293073] usb usb3: SerialNumber: 1c14400.usb [ 4.301630] hub 3-0:1.0: USB hub found [ 4.309482] ata1: SATA link down (SStatus 0 SControl 300) [ 4.309536] hub 3-0:1.0: 1 port detected [ 4.310496] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 4.310536] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4 [ 4.310811] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400 [ 4.372143] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.379966] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.387698] usb usb4: Product: Generic Platform OHCI controller [ 4.395432] usb usb4: Manufacturer: Linux 4.4.3-sunxi ohci_hcd [ 4.403226] usb usb4: SerialNumber: 1c1c400.usb [ 4.411928] hub 4-0:1.0: USB hub found [ 4.420003] hub 4-0:1.0: 1 port detected [ 4.433537] vcc3v0: disabling [ 4.441512] vcc5v0: disabling [ 4.449705] usb0-vbus: disabling [ 4.488390] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 4.496396] VFS: Mounted root (ext4 filesystem) readonly on device 179:1. [ 4.508742] devtmpfs: mounted [ 4.517072] Freeing unused kernel memory: 328K (c086c000 - c08be000) [ 4.687908] usb 3-1: new low-speed USB device number 2 using ohci-platform [ 4.921029] usb 3-1: New USB device found, idVendor=046d, idProduct=c315 [ 4.929260] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4.937126] usb 3-1: Product: Logitech USB Keyboard [ 4.945056] usb 3-1: Manufacturer: Logitech [ 4.963116] input: Logitech Logitech USB Keyboard as /devices/platform/soc@01c00000/1c14400.usb/usb3/3-1/3-1:1.0/0003:046D:C315.0001/input/input1 [ 5.028370] hid-generic 0003:046D:C315.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-1c14400.usb-1/input0 [ 5.139270] random: init urandom read with 12 bits of entropy available [ 5.331117] init: hwclock main process (114) terminated with status 1 [ 6.427183] systemd-udevd[235]: starting version 204 [ 6.825036] Bluetooth: Core ver 2.21 [ 6.825197] NET: Registered protocol family 31 [ 6.825208] Bluetooth: HCI device and connection manager initialized [ 6.825232] Bluetooth: HCI socket layer initialized [ 6.825246] Bluetooth: L2CAP socket layer initialized [ 6.825280] Bluetooth: SCO socket layer initialized [ 6.856273] Bluetooth: RFCOMM TTY layer initialized [ 6.856324] Bluetooth: RFCOMM socket layer initialized [ 6.856359] Bluetooth: RFCOMM ver 1.11 [ 6.877743] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 6.877789] Bluetooth: HIDP socket layer initialized [ 6.955825] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 7.017611] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d [ 7.028817] fuse init (API version 7.23) [ 7.118715] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 7.235638] sun4i-ss 1c15000.crypto-engine: no reset control found [ 7.237201] sun4i-ss 1c15000.crypto-engine: Die ID 0 [ 7.489452] sun7i-dwmac 1c50000.ethernet: no regulator found [ 7.489568] sun7i-dwmac 1c50000.ethernet: no reset control found [ 7.489582] Ring mode enabled [ 7.489590] No HW DMA feature register supported [ 7.489597] Normal descriptors [ 7.489602] TX Checksum insertion supported [ 7.560598] libphy: stmmac: probed [ 7.560635] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active [ 7.560644] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01) [ 7.564999] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok [ 7.627626] EXT4-fs (mmcblk0p1): re-mounted. Opts: data=writeback,commit=600,errors=remount-ro [ 8.303949] Adding 131068k swap on /var/swap. Priority:-1 extents:2 across:139260k SSFS [ 9.861714] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 9.861738] Bluetooth: BNEP filters: protocol multicast [ 9.861768] Bluetooth: BNEP socket layer initialized [ 11.149737] RX IPC Checksum Offload disabled [ 11.149771] No MAC Management Counters available [ 19.128402] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 31.786759] init: failsafe main process (403) killed by TERM signal [ 40.656360] random: nonblocking pool is initialized dmesg (booting from mmc after attaching usb) [ 639.527917] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 639.709592] usb 2-1: New USB device found, idVendor=152d, idProduct=3562 [ 639.709624] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 639.709641] usb 2-1: Product: AD TO BE II [ 639.709664] usb 2-1: Manufacturer: ADMKIV [ 639.709680] usb 2-1: SerialNumber: DB12345678987C [ 639.745209] scsi host1: uas [ 639.748763] scsi 1:0:0:0: Direct-Access ADplus SuperVer 6302 PQ: 0 ANSI: 6 [ 639.754495] sd 1:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB) [ 639.754532] sd 1:0:0:0: [sda] 4096-byte physical blocks [ 639.754675] sd 1:0:0:0: Attached scsi generic sg0 type 0 [ 639.756362] sd 1:0:0:0: [sda] Write Protect is off [ 639.756405] sd 1:0:0:0: [sda] Mode Sense: 53 00 00 08 [ 639.756457] usbcore: registered new interface driver uas [ 639.757395] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 639.769851] sda: sda1 sda2 sda3 [ 639.775233] sd 1:0:0:0: [sda] Attached SCSI disk lsmod (booting from mmc no usb connected) root@cubietruck:~# lsmod Module Size Used by bnep 9892 2 realtek 2455 0 sun4i_codec 10303 3 dwmac_sunxi 2239 0 snd_soc_core 102678 1 sun4i_codec snd_pcm_dmaengine 2943 1 snd_soc_core snd_pcm 69300 2 snd_soc_core,snd_pcm_dmaengine snd_timer 17960 1 snd_pcm evdev 11268 2 sun4i_ts 3798 0 input_leds 2484 0 snd 41799 3 snd_soc_core,snd_timer,snd_pcm soundcore 858 1 snd nvmem_sunxi_sid 2359 0 nvmem_core 7504 1 nvmem_sunxi_sid pwm_sun4i 4308 0 sun4i_ss 14914 0 fuse 72800 0 bonding 94395 0 hidp 12522 0 rfcomm 30514 0 cpufreq_dt 4010 0 bluetooth 299193 11 bnep,hidp,rfcomm thermal_sys 36472 2 cpufreq_dt,sun4i_ts uio_pdrv_genirq 2908 0 uio 6784 1 uio_pdrv_genirq brcmfmac 162570 0 brcmutil 4957 1 brcmfmac cfg80211 214121 1 brcmfmac rfkill 9328 3 cfg80211,bluetooth lsmod (booting from mmc after attaching usb) root@cubietruck:~# lsmod Module Size Used by uas 11631 0 bnep 9892 2 realtek 2455 0 sun4i_codec 10303 3 dwmac_sunxi 2239 0 snd_soc_core 102678 1 sun4i_codec snd_pcm_dmaengine 2943 1 snd_soc_core snd_pcm 69300 2 snd_soc_core,snd_pcm_dmaengine snd_timer 17960 1 snd_pcm evdev 11268 2 sun4i_ts 3798 0 input_leds 2484 0 snd 41799 3 snd_soc_core,snd_timer,snd_pcm soundcore 858 1 snd nvmem_sunxi_sid 2359 0 nvmem_core 7504 1 nvmem_sunxi_sid pwm_sun4i 4308 0 sun4i_ss 14914 0 fuse 72800 0 bonding 94395 0 hidp 12522 0 rfcomm 30514 0 cpufreq_dt 4010 0 bluetooth 299193 11 bnep,hidp,rfcomm thermal_sys 36472 2 cpufreq_dt,sun4i_ts uio_pdrv_genirq 2908 0 uio 6784 1 uio_pdrv_genirq brcmfmac 162570 0 brcmutil 4957 1 brcmfmac cfg80211 214121 1 brcmfmac rfkill 9328 3 cfg80211,bluetooth blkid (strangely, blkid does not povide PARTUUID on cubietruck. Attaching the same USB disck on my laptop, blkid provides PATRUUID as specified in the boot.cmd below) /dev/mmcblk0p1: UUID="09b27937-cb52-4954-9b3c-a1417504395a" TYPE="ext4" /dev/sda1: LABEL="cubie" UUID="c546b875-ab71-4d1d-9b51-1ce2f75c3c9a" TYPE="ext4" /dev/sda2: LABEL="data" UUID="02588c89-6eed-4494-9783-a4128fe9c3fe" TYPE="ext4" /dev/sda3: UUID="57315f9f-31e7-4dc3-9718-5892d41689c5" TYPE="ext4" root@cubietruck:/var/log# mount -V mount from util-linux 2.20.1 (with libblkid and selinux support) root@cubietruck:/var/log# mount PARTUUID=74f0e0db-03 /media/ mount: special device PARTUUID=74f0e0db-03 does not exist root@cubietruck:/var/log# mount UUID=57315f9f-31e7-4dc3-9718-5892d41689c5 /media/ mount from my laptop $ mount -V mount from util-linux 2.26.2 (libmount 2.26.0: selinux, assert, debug) Boot.cmd (rootfs @USB) root@cubietruck:/boot# cat boot.cmd setenv bootargs "console=tty1 root=PARTUUID=74f0e0db-03 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 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=7" #-------------------------------------------------------------------------------------------------------------------------------- #setenv bootargs "console=tty1 root=/dev/mmcblk0p1 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 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=7" #-------------------------------------------------------------------------------------------------------------------------------- # Boot loader script to boot with different boot methods for old and new kernel #-------------------------------------------------------------------------------------------------------------------------------- if ext4load mmc 0 0x00000000 /boot/.next || fatload mmc 0 0x00000000 .next || ext4load mmc 0 0x00000000 .next then # sunxi mainline kernel #-------------------------------------------------------------------------------------------------------------------------------- ext4load mmc 0 0x49000000 /boot/dtb/${fdtfile} || fatload mmc 0 0x49000000 /dtb/${fdtfile} || ext4load mmc 0 0x49000000 /dtb/${fdtfile} ext4load mmc 0 0x46000000 /boot/zImage || fatload mmc 0 0x46000000 zImage || ext4load mmc 0 0x46000000 zImage env set fdt_high ffffffff bootz 0x46000000 - 0x49000000 #-------------------------------------------------------------------------------------------------------------------------------- else # sunxi android kernel #-------------------------------------------------------------------------------------------------------------------------------- ext4load mmc 0 0x43000000 /boot/script.bin || fatload mmc 0 0x43000000 script.bin || ext4load mmc 0 0x43000000 script.bin ext4load mmc 0 0x48000000 /boot/zImage || fatload mmc 0 0x48000000 zImage || ext4load mmc 0 0x48000000 zImage bootz 0x48000000 #-------------------------------------------------------------------------------------------------------------------------------- fi # Recompile with: # mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr fstab (I tried with UUID and PARTUUID) # UNCONFIGURED FSTAB FOR BASE SYSTEM UUID=57315f9f-31e7-4dc3-9718-5892d41689c5 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 0 #PARTUUID=74f0e0db-03 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 0 /var/swap none swap sw 0 0 /dev/mmcblk0p1 /media/mmc ext4 defaults 0 0 /media/mmc/boot /boot none bind 0 0
berturion Posted April 28, 2016 Posted April 28, 2016 According to this page https://forums.linuxmint.com/viewtopic.php?t=162677(linuxmint being based on Ubuntu), the package util-linux in which there is blkid could be outdated and not supporting PARTUUID. My desktop is Linuxmint 17.3 based on Ubuntu 14.04 ant util-linux version is "2.20.1-5.1 ubuntu20.7". Command blkid on my desktop doesn't show "PARTUUID", only "UUID". On my Cubieboard2 with Debian 8 Jessie, This package is in version "2.25.2-6". And PARTUUID is shown with blkid. Maybe this is the reason ? PARTUUID on your Ubuntu version is not supported and you can't mount it from it ? I am not an expert, though.
lampra Posted April 28, 2016 Posted April 28, 2016 Well, I also tried the Debian 8 Jessie image with util-linux version "2.25.2-6". I am able to boot from mmc using root=PARTUUID=... but not from the usb(uas usb to sata)
lampra Posted May 2, 2016 Posted May 2, 2016 It seems that with the new images (I used Armbian_5.10_Cubietruck_Debian_jessie_4.5.2) moving to usb(ssd) is solved
Recommended Posts