Bananapi problem with the system installed on the pendrive.

This forum is for supported devices using an ARMv7 Allwinner SoC.

Bananapi problem with the system installed on the pendrive.

Postby alienos » Mon Mar 18, 2019 1:33 pm

I used this tutorial:
https://wiki.archlinux.org/index.php/Banana_Pi#Compile_and_copy_U-Boot_bootloader
If I'm doing like in a tutorial on the sd card, it's working as it should.
If u-boot installs on the sd card and base system on the pendrive.
$this->bbcode_second_pass_code('', 'picocom v3.1

port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : yes
hangup is : no
nolock is : yes
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no

Type [C-a] [C-h] to see available commands
Terminal ready

U-Boot SPL 2019.04-rc3-00131-g8303467e80 (Mar 18 2019 - 14:11:36 +0100)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2019.04-rc3-00131-g8303467e80 (Mar 18 2019 - 14:11:36 +0100) Allwinner Technology

CPU: Allwinner A20 (SUN7I)
Model: LeMaker Banana Pi
I2C: ready
DRAM: 1 GiB
MMC: mmc@1c0f000: 0
Loading Environment from FAT... Unable to use mmc 0:0... Setting up a 720x576i composite-pal console (overscan 32x20)
In: serial
Out: vga
Err: vga
SCSI: SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst

Net: sunxi_set_gate: (CLK#66) unhandled
eth0: ethernet@1c50000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** No partition table - mmc 0 **
scanning bus for devices...
Found 0 device(s).

Device 0: unknown device

Device 0: Vendor: General Rev: 1100 Prod: USB Flash Disk
Type: Removable Hard Disk
Capacity: 15376.0 MB = 15.0 GB (31490048 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot/boot.scr
805 bytes read in 11 ms (71.3 KiB/s)
## Executing script at 43100000
6623480 bytes read in 167 ms (37.8 MiB/s)
39756 bytes read in 388 ms (99.6 KiB/s)
6547364 bytes read in 182 ms (34.3 MiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
Loading Ramdisk to 499c1000, end 49fff7a4 ... OK
Loading Device Tree to 499b4000, end 499c0b4b ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.0.0-1-ARCH (builduser@leming) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Tue Mar 5 04:24:45 UTC 2019
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (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] OF: fdt: Machine model: LeMaker Banana Pi
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x4a000000, size 96 MiB
[ 0.000000] OF: reserved mem: initialized node default-pool, compatible id shared-dma-pool
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x478 with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s38348 r8192 d23092 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260010
[ 0.000000] Kernel command line: console=ttyS0,115200 root=PARTUUID=a972bdac-01 rw rootwait
[ 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: 908292K/1046952K available (13312K kernel code, 1076K rwdata, 5196K rodata, 2048K init, 880K bss, 40356K reserved, 98304K cma-reserved, 260520K 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 : 0x(ptrval) - 0x(ptrval) (14304 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) (1077 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 881 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000021] Switching to timer-based delay loop, resolution 41ns
[ 0.001430] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002309] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[ 0.003093] Console: colour dummy device 80x30
[ 0.003169] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.003186] pid_max: default: 32768 minimum: 301
[ 0.003433] LSM: Security Framework initializing
[ 0.003640] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003660] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004859] CPU: Testing write buffer coherency: ok
[ 0.005399] /cpus/cpu@0 missing clock-frequency property
[ 0.005429] /cpus/cpu@1 missing clock-frequency property
[ 0.005446] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.028106] Setting up static identity map for 0x40300000 - 0x403000a0
[ 0.036110] rcu: Hierarchical SRCU implementation.
[ 0.056245] smp: Bringing up secondary CPUs ...
[ 0.098745] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.098981] smp: Brought up 1 node, 2 CPUs
[ 0.099001] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.099009] CPU: All CPU(s) started in HYP mode.
[ 0.099015] CPU: Virtualization extensions available.
[ 0.100306] devtmpfs: initialized
[ 0.109374] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[ 0.109954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.109981] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.114126] xor: measuring software checksum speed
[ 0.150929] arm4regs : 1144.000 MB/sec
[ 0.190948] 8regs : 794.000 MB/sec
[ 0.231024] 32regs : 732.000 MB/sec
[ 0.271098] neon : 1136.000 MB/sec
[ 0.271107] xor: using function: arm4regs (1144.000 MB/sec)
[ 0.271209] pinctrl core: initialized pinctrl subsystem
[ 0.273398] NET: Registered protocol family 16
[ 0.276078] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.277103] audit: initializing netlink subsys (disabled)
[ 0.279179] audit: type=2000 audit(0.268:1): state=initialized audit_enabled=0 res=1
[ 0.279299] cpuidle: using governor menu
[ 0.279637] No ATAGs?
[ 0.279755] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.279769] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.281048] Serial: AMBA PL011 UART driver
[ 0.383880] raid6: neonx8 gen() 638 MB/s
[ 0.451953] raid6: neonx8 xor() 545 MB/s
[ 0.520184] raid6: neonx4 gen() 659 MB/s
[ 0.588303] raid6: neonx4 xor() 560 MB/s
[ 0.656456] raid6: neonx2 gen() 599 MB/s
[ 0.724607] raid6: neonx2 xor() 529 MB/s
[ 0.792770] raid6: neonx1 gen() 447 MB/s
[ 0.860944] raid6: neonx1 xor() 437 MB/s
[ 0.929066] raid6: int32x8 gen() 194 MB/s
[ 0.997243] raid6: int32x8 xor() 137 MB/s
[ 1.065634] raid6: int32x4 gen() 210 MB/s
[ 1.133520] raid6: int32x4 xor() 147 MB/s
[ 1.201837] raid6: int32x2 gen() 210 MB/s
[ 1.269877] raid6: int32x2 xor() 156 MB/s
[ 1.338186] raid6: int32x1 gen() 163 MB/s
[ 1.406304] raid6: int32x1 xor() 149 MB/s
[ 1.406312] raid6: using algorithm neonx4 gen() 659 MB/s
[ 1.406319] raid6: .... xor() 560 MB/s, rmw enabled
[ 1.406327] raid6: using neon recovery algorithm
[ 1.413895] vgaarb: loaded
[ 1.414886] SCSI subsystem initialized
[ 1.415578] usbcore: registered new interface driver usbfs
[ 1.415636] usbcore: registered new interface driver hub
[ 1.415756] usbcore: registered new device driver usb
[ 1.417220] media: Linux media interface: v0.10
[ 1.417268] videodev: Linux video capture interface: v2.00
[ 1.417448] pps_core: LinuxPPS API ver. 1 registered
[ 1.417458] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.417482] PTP clock support registered
[ 1.417519] EDAC MC: Ver: 3.0.0
[ 1.419017] Advanced Linux Sound Architecture Driver Initialized.
[ 1.419737] NetLabel: Initializing
[ 1.419752] NetLabel: domain hash size = 128
[ 1.419758] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.419843] NetLabel: unlabeled traffic allowed by default
[ 1.420383] clocksource: Switched to clocksource arch_sys_counter
[ 1.420710] VFS: Disk quotas dquot_6.6.0
[ 1.420805] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.422224] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0x(ptrval)
[ 1.422248] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
[ 1.429168] Console: switching to colour frame buffer device 82x33
[ 1.434604] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered!
[ 1.445914] NET: Registered protocol family 2
[ 1.446829] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 1.446875] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.446954] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.447082] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.447233] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.447300] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.447628] NET: Registered protocol family 1
[ 1.448620] RPC: Registered named UNIX socket transport module.
[ 1.448639] RPC: Registered udp transport module.
[ 1.448646] RPC: Registered tcp transport module.
[ 1.448652] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.449310] Unpacking initramfs...
[ 1.891529] Freeing initrd memory: 6396K
[ 1.892068] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 1.892617] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 1.916001] Initialise system trusted keyrings
[ 1.916524] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 1.922073] zbud: loaded
[ 1.924695] NFS: Registering the id_resolver key type
[ 1.924739] Key type id_resolver registered
[ 1.924747] Key type id_legacy registered
[ 1.924768] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.371194] Key type asymmetric registered
[ 2.371216] Asymmetric key parser 'x509' registered
[ 2.371307] bounce: pool size: 64 pages
[ 2.371403] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 2.375756] io scheduler mq-deadline registered
[ 2.375776] io scheduler kyber registered
[ 2.376110] io scheduler bfq registered
[ 2.386609] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 2.409754] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[ 2.413160] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 2.413301] sun4i-pinctrl 1c20800.pinctrl: Linked as a consumer to regulator.0
[ 2.413888] printk: console [ttyS0] disabled
[ 2.434123] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 49, base_baud = 1500000) is a U6_16550A
[ 3.345836] printk: console [ttyS0] enabled
[ 3.350799] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-ph not found, using dummy regulator
[ 3.383117] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 50, base_baud = 1500000) is a U6_16550A
[ 3.392921] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pi not found, using dummy regulator
[ 3.425206] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 51, base_baud = 1500000) is a U6_16550A
[ 3.435647] Serial: AMBA driver
[ 3.457188] loop: module loaded
[ 3.461786] Loading iSCSI transport class v2.0-870.
[ 3.467462] iscsi: registered transport (tcp)
[ 3.528448] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[ 3.536010] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[ 3.543191] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 3.552168] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
[ 3.562032] scsi host0: ahci-sunxi
[ 3.566043] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 37
[ 3.579011] libphy: Fixed MDIO Bus: probed
[ 3.587165] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.593797] ehci-pci: EHCI PCI platform driver
[ 3.598344] ehci-platform: EHCI generic platform driver
[ 3.604215] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 3.609727] ehci-omap: OMAP-EHCI Host Controller driver
[ 3.615146] ehci-orion: EHCI orion driver
[ 3.619351] ehci-exynos: EHCI EXYNOS driver
[ 3.623702] tegra-ehci: Tegra EHCI driver
[ 3.627891] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.634169] ohci-pci: OHCI PCI platform driver
[ 3.638716] ohci-platform: OHCI generic platform driver
[ 3.644574] ohci-exynos: OHCI EXYNOS driver
[ 3.649483] usbcore: registered new interface driver uas
[ 3.654906] usbcore: registered new interface driver usb-storage
[ 3.660968] usbcore: registered new interface driver ums-cypress
[ 3.667019] usbcore: registered new interface driver ums_eneub6250
[ 3.673246] usbcore: registered new interface driver ums-freecom
[ 3.679302] usbcore: registered new interface driver ums-isd200
[ 3.685293] usbcore: registered new interface driver ums-usbat
[ 3.698196] sunxi-rtc 1c20d00.rtc: registered as rtc0
[ 3.703313] sunxi-rtc 1c20d00.rtc: RTC enabled
[ 3.708429] i2c /dev entries driver
[ 3.714007] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[ 3.727013] axp20x-gpio axp20x-gpio: DMA mask not set
[ 3.734163] axp20x-gpio axp20x-gpio: AXP209 pinctrl and GPIO driver loaded
[ 3.742983] ldo1: supplied by regulator-dummy
[ 3.747842] ldo2: supplied by regulator-dummy
[ 3.753521] ldo3: supplied by regulator-dummy
[ 3.758684] ldo4: supplied by regulator-dummy
[ 3.763348] ldo5: supplied by regulator-dummy
[ 3.768570] dcdc2: supplied by regulator-dummy
[ 3.773806] dcdc3: supplied by regulator-dummy
[ 3.784620] axp20x-i2c 0-0034: AXP20X driver loaded
[ 3.794934] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set
[ 3.806397] cpu cpu0: Linked as a consumer to regulator.9
[ 3.811930] cpu cpu0: Dropping the link to regulator.9
[ 3.817483] cpu cpu0: Linked as a consumer to regulator.9
[ 3.826604] sdhci: Secure Digital Host Controller Interface driver
[ 3.832909] sdhci: Copyright(c) Pierre Ossman
[ 3.838577] Synopsys Designware Multimedia Card Interface Driver
[ 3.845525] VUB300 Driver rom wait states = 1C irqpoll timeout = 0400
[ 3.846197] usbcore: registered new interface driver vub300
[ 3.858341] usbcore: registered new interface driver ushc
[ 3.864616] sun4i-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 3.874565] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[ 3.881885] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 3.887530] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.912172] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 3.920246] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.929144] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.935908] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.941867] usbcore: registered new interface driver usbhid
[ 3.947542] usbhid: USB HID core driver
[ 3.959225] NET: Registered protocol family 10
[ 3.993613] mmc0: host does not support reading read-only switch, assuming write-enable
[ 4.005454] mmc0: new high speed SDHC card at address aaaa
[ 4.017616] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 4.042411] Segment Routing with IPv6
[ 4.046279] mip6: Mobile IPv6
[ 4.049345] NET: Registered protocol family 17
[ 4.054192] Key type dns_resolver registered
[ 4.058696] ThumbEE CPU extension supported.
[ 4.063047] Registering SWP/SWPB emulation handler
[ 4.068921] registered taskstats version 1
[ 4.073064] Loading compiled-in X.509 certificates
[ 4.078008] zswap: loaded using pool lzo/zbud
[ 4.085000] Btrfs loaded, crc32c=crc32c-generic
[ 4.134096] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-01T00:10:17 UTC (617)
[ 4.143052] vcc3v0: disabling
[ 4.146084] vcc5v0: disabling
[ 4.149094] usb0-vbus: disabling
[ 4.152325] gmac-3v3: disabling
[ 4.155483] ALSA device list:
[ 4.158463] No soundcards found.
[ 4.164664] Freeing unused kernel memory: 2048K
[ 4.176700] Run /init as init process
:: running early hook [udev]
Starting version 241.7-2-arch
:: running hook [udev]
:: Triggering uevents...
[ 5.782357] random: fast init done
Waiting 10 seconds for device /dev/disk/by-partuuid/a972bdac-01 ...
ERROR: device 'PARTUUID=a972bdac-01' not found. Skipping fsck.
:: mounting 'PARTUUID=a972bdac-01' on real root
mount: /new_root: can't find PARTUUID=a972bdac-01.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]# ')
Is it possible what it wants, or the system is a pendrive?
alienos
 
Posts: 1
Joined: Mon Mar 18, 2019 1:05 pm

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 5 guests