[Arm-dev] Cubieboard5 performance

Fri Aug 10 12:51:00 UTC 2018
Andreas Reschke <arm_ml at rirasoft.de>


Am 10.08.2018 um 14:36 schrieb Robert Moskowitz:
>
>
> On 08/10/2018 08:17 AM, arm_ml at rirasoft.de wrote:
>> Am 2018-08-09 17:31, schrieb Robert Moskowitz:
>>> On 08/09/2018 11:21 AM, arm_ml at rirasoft.de wrote:
>>>> Am 2018-08-09 16:57, schrieb Robert Moskowitz:
>>>>> On 08/09/2018 10:31 AM, arm_ml at rirasoft.de wrote:
>>>>>> Am 2018-08-09 13:58, schrieb Robert Moskowitz:
>>>>>>> On 08/09/2018 07:34 AM, arm_ml at rirasoft.de wrote:
>>>>>>>> Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
>>>>>>>>> <snip>
>>>> snip
>>
>> Wow, I can boot it, but I can't login and can't install the kernel
>> from Pablo. Whats next?
>>
>>
>> U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000)
>
> Good you got the current uboot.
>
>> DRAM: 2048 MiB
>> Trying to boot from MMC1
>>
>>
>> U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
>>
>> CPU:   Allwinner A83T (SUN8I 1673)
>> Model: Cubietech Cubietruck Plus
>
> Do you have any other arm soc?  If you put that cards uboot on, boot
> up on that card, install the new kernel, then go back to the
> Cubietruck+ uboot, that would work.
>
> Pablo may know of a simpler method, as I don't do kernel work.  I did
> work a lot with uboot a couple years ago.

Sorry: this didn't work, because this Image didn't boot on my Cubietruck
3. Maybe Pablo has an Idea?

>
>
>> I2C: ready
>> DRAM:  2 GiB
>> MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
>> Loading Environment from FAT... *** Warning - bad CRC, using default
>> environment
>>
>> Failed (-5)
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   No ethernet found.
>> starting USB...
>> USB0:   failed to get usb PHY
>> Port not available.
>> USB1:   failed to get usb at 01c1a000 usb PHY
>> Port not available.
>> USB2:   failed to get usb at 01c1b000 usb PHY
>> Port not available.
>> Hit any key to stop autoboot:  0
>> switch to partitions #0, OK
>> mmc0 is current device
>> Scanning mmc 0:2...
>> Found /extlinux/extlinux.conf
>> Retrieving file: /extlinux/extlinux.conf
>> 857 bytes read in 16 ms (51.8 KiB/s)
>> Ignoring unknown command: ui
>> Ignoring malformed menu command:  autoboot
>> Ignoring malformed menu command:  hidden
>> Ignoring unknown command: totaltimeout
>> CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options.
>> 1:      CentOS-Userland-7-armv7hl-generic-Minimal-1804
>> (4.14.28-201.el7.centos.armv7hl)
>> 2:      single
>> Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804
>> (4.14.28-201.el7.centos.armv7hl)
>> Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img
>> 42665567 bytes read in 11495 ms (3.5 MiB/s)
>> Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl
>> 6627840 bytes read in 682 ms (9.3 MiB/s)
>> append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off
>> Retrieving file:
>> /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb
>> 6627840 bytes read in 682 ms (9.3 MiB/s)
>> append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off
>> Retrieving file:
>> /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb
>> 10902 bytes read in 586 ms (17.6 KiB/s)
>> ## Flattened Device Tree blob at 43000000
>>    Booting using the fdt blob at 0x43000000
>>    Loading Ramdisk to 4774f000, end 49fff65f ... OK
>>    Loading Device Tree to 47749000, end 4774ea95 ... OK
>>
>> Starting kernel ...
>>
>> [    0.000000] Booting Linux on physical CPU 0x0
>> [    0.000000] Linux version 4.14.28-201.el7.centos.armv7hl
>> (mockbuild at armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623
>> (Red Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018
>> [    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] OF: fdt: Machine model: Cubietech Cubietruck Plus
>> [    0.000000] Memory policy: Data cache writealloc
>> [    0.000000] efi: Getting EFI parameters from FDT:
>> [    0.000000] efi: UEFI not found.
>> snip
>> Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
>>
>> [    5.950324] systemd[1]: No hostname configured.
>> [    5.954983] systemd[1]: Set hostname to <localhost>.
>> [    5.960338] systemd[1]: Initializing machine ID from random
>> generator.
>> [  OK  ] Reached target Swap.
>> [    6.310341] systemd[1]: Reached target Swap.
>> [    6.314834] systemd[1]: Starting Swap.
>> [  OK  ] Created slice Root Slice.
>> [    6.326288] systemd[1]: Created slice Root Slice.
>> [    6.331225] systemd[1]: Starting Root Slice.
>> [  OK  ] Listening on Journal Socket.
>> [  OK  ] Listening on udev Kernel Socket.
>> [  OK  ] Reached target Timers.
>> [  OK  ] Created slice System Slice.
>>          Starting Create list of required st... nodes for the current
>> kernel...
>>          Starting Journal Service...
>>          Starting Apply Kernel Variables...
>> [  OK  ] Listening on udev Control Socket.
>> [  OK  ] Reached target Slices.
>> [  OK  ] Reached target Sockets.
>>          Starting Setup Virtual Console...
>> [  OK  ] Reached target Local File Systems.
>>          Starting dracut cmdline hook...
>> [  OK  ] Started Create list of required sta...ce nodes for the
>> current kernel.
>> [  OK  ] Started Apply Kernel Variables.
>> [  OK  ] Started Setup Virtual Console.
>>          Starting Create Static Device Nodes in /dev...
>> [  OK  ] Started Journal Service.
>> [  OK  ] Started Create Static Device Nodes in /dev.
>> [  OK  ] Started dracut cmdline hook.
>>          Starting dracut pre-udev hook...
>> [  OK  ] Started dracut pre-udev hook.
>>          Starting udev Kernel Device Manager...
>> [  OK  ] Started udev Kernel Device Manager.
>>          Starting udev Coldplug all Devices...
>> [  OK  ] Started udev Coldplug all Devices.
>>          Starting Show Plymouth Boot Screen...
>> [  OK  ] Reached target System Initialization.
>>          Starting dracut initqueue hook...
>> [  OK  ] Started Show Plymouth Boot Screen.
>> [  OK  ] Reached target Paths.
>> [  OK  ] Reached target Basic System.
>>          Mounting Configuration File System...
>> [  OK  ] Mounted Configuration File System.
>> [    9.258492] ehci-platform: EHCI generic platform driver
>> [    9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO
>> [    9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24
>> [    9.401563] mmc0: host does not support reading read-only switch,
>> assuming write-enable
>> [    9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25
>> [    9.418906] mmc0: new high speed SDHC card at address 0007
>> [    9.488974] mmc1: new DDR MMC card at address 0001
>> [    9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB
>> [    9.720620]  mmcblk0: p1 p2 p3 p4
>> [    9.731581] mmcblk1: mmc1:0001 NCard  7.30 GiB
>> [    9.736734] mmcblk1boot0: mmc1:0001 NCard  partition 1 4.00 MiB
>> [    9.744053] mmcblk1boot1: mmc1:0001 NCard  partition 2 4.00 MiB
>> [    9.754396]  mmcblk1: p1 p2
>> [  OK  ] Found device
>> /dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1.
>> [  OK  ] Started dracut initqueue hook.
>> [  OK  ] Reached target Remote File Systems (Pre).
>> [  OK  ] Reached target Remote File Systems.
>>          Starting File System Check on
>> /dev/...3-4823-4fb7-ab52-46f2e9fcaae1...
>> [  OK  ] Started File System Check on
>> /dev/d...603-4823-4fb7-ab52-46f2e9fcaae1.
>>          Mounting /sysroot...
>> [   10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered
>> data mode. Opts: (null)
>> [  OK  ] Mounted /sysroot.
>> [  OK  ] Reached target Initrd Root File System.
>>          Starting Reload Configuration from the Real Root...
>> [  OK  ] Started Reload Configuration from the Real Root.
>> [  OK  ] Reached target Initrd File Systems.
>> [  OK  ] Reached target Initrd Default Target.
>>          Starting dracut pre-pivot and cleanup hook...
>> [  OK  ] Started dracut pre-pivot and cleanup hook.
>>          Starting Cleaning Up and Shutting Down Daemons...
>> [  OK  ] Stopped Cleaning Up and Shutting Down Daemons.
>> [  OK  ] Stopped dracut pre-pivot and cleanup hook.
>>          Stopping dracut pre-pivot and cleanup hook...
>> [  OK  ] Stopped target Initrd Default Target.
>> [  OK  ] Stopped target Basic System.
>> [  OK  ] Stopped target Paths.
>> [  OK  ] Stopped target System Initialization.
>>          Stopping udev Kernel Device Manager...
>> [  OK  ] Stopped target Swap.
>> [  OK  ] Stopped target Slices.
>> [  OK  ] Stopped target Sockets.
>> [  OK  ] Stopped Apply Kernel Variables.
>>          Stopping Apply Kernel Variables...
>> [  OK  ] Stopped target Timers.
>> [  OK  ] Stopped target Local File Systems.
>>          Starting Plymouth switch root service...
>> [  OK  ] Stopped target Remote File Systems.
>> [  OK  ] Stopped target Remote File Systems (Pre).
>> [  OK  ] Stopped dracut initqueue hook.
>>          Stopping dracut initqueue hook...
>> [  OK  ] Stopped udev Coldplug all Devices.
>>          Stopping udev Coldplug all Devices...
>> [  OK  ] Stopped udev Kernel Device Manager.
>> snip
>> Welcome to CentOS Linux 7 (Core)!
>>
>> [  OK  ] Stopped Switch Root.
>> [  OK  ] Stopped Journal Service.
>>          Starting Journal Service...
>> [  OK  ] Reached target Local Encrypted Volumes.
>> [  OK  ] Created slice
>> system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice.
>> [  OK  ] Set up automount Arbitrary Executab...ats File System
>> Automount Point.
>>          Mounting Debug File System...
>> [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
>> [  OK  ] Stopped target Switch Root.
>> [  OK  ] Stopped target Initrd File Systems.
>> [  OK  ] Stopped target Initrd Root File System.
>> [  OK  ] Stopped File System Check on Root Device.
>>          Stopping File System Check on Root Device...
>> [  OK  ] Listening on udev Kernel Socket.
>> [  OK  ] Created slice system-getty.slice.
>>          Starting Read and set NIS domainname from
>> /etc/sysconfig/network...
>>          Starting Collect Read-Ahead Data...
>> [  OK  ] Listening on Delayed Shutdown Socket.
>>          Mounting POSIX Message Queue File System...
>> [  OK  ] Created slice User and Session Slice.
>> [  OK  ] Reached target Slices.
>> [  OK  ] Reached target Remote File Systems.
>> [  OK  ] Created slice system-serial\x2dgetty.slice.
>> [  OK  ] Listening on udev Control Socket.
>>          Starting Create list of required st... nodes for the current
>> kernel...
>> [  OK  ] Reached target Paths.
>>          Starting Replay Read-Ahead Data...
>> [  OK  ] Mounted POSIX Message Queue File System.
>> [  OK  ] Mounted Debug File System.
>> [  OK  ] Started Journal Service.
>> [  OK  ] Started Collect Read-Ahead Data.
>> [  OK  ] Started Replay Read-Ahead Data.
>> [  OK  ] Started Read and set NIS domainname from
>> /etc/sysconfig/network.
>> [  OK  ] Started Create list of required sta...ce nodes for the
>> current kernel.
>>          Starting Remount Root and Kernel File Systems...
>>          Starting Create Static Device Nodes in /dev...
>>          Starting Apply Kernel Variables...
>> [   17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null)
>> [  OK  ] Started Apply Kernel Variables.
>> [  OK  ] Started Remount Root and Kernel File Systems.
>>          Starting udev Coldplug all Devices...
>>          Starting Load/Save Random Seed...
>>          Starting Configure read-only root support...
>>          Starting Flush Journal to Persistent Storage...
>> [  OK  ] Started Create Static Device Nodes in /dev.
>> [  OK  ] Started Load/Save Random Seed.
>> [   17.818547] systemd-journald[427]: Received request to flush
>> runtime journal from PID 1
>> [  OK  ] Reached target Local File Systems (Pre).
>>          Starting udev Kernel Device Manager...
>> [  OK  ] Started Flush Journal to Persistent Storage.
>> [  OK  ] Started Configure read-only root support.
>> [  OK  ] Started udev Kernel Device Manager.
>> [  OK  ] Started udev Coldplug all Devices.
>> [   19.146181] cpu cpu0: failed to get clock: -2
>> [   19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2
>> [   19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller
>> [   19.721852] ehci-platform 1c1a000.usb: new USB bus registered,
>> assigned bus number 1
>> [   19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
>> [   19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
>> [   19.775259] usb usb1: New USB device found, idVendor=1d6b,
>> idProduct=0002
>> [   19.782236] usb usb1: New USB device strings: Mfr=3, Product=2,
>> SerialNumber=1
>> [   19.789508] usb usb1: Product: EHCI Host Controller
>> [   19.794416] usb usb1: Manufacturer: Linux
>> 4.14.28-201.el7.centos.armv7hl ehci_hcd
>> [   19.801926] usb usb1: SerialNumber: 1c1a000.usb
>> [   19.844670] hub 1-0:1.0: USB hub found
>> [   19.854212] hub 1-0:1.0: 1 port detected
>> [   19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller
>> [   19.882930] ehci-platform 1c1b000.usb: new USB bus registered,
>> assigned bus number 2
>> [   19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000
>> [   19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
>> [   19.936351] usb usb2: New USB device found, idVendor=1d6b,
>> idProduct=0002
>> [   19.943225] usb usb2: New USB device strings: Mfr=3, Product=2,
>> SerialNumber=1
>> [   19.950493] usb usb2: Product: EHCI Host Controller
>> [   19.955399] usb usb2: Manufacturer: Linux
>> 4.14.28-201.el7.centos.armv7hl ehci_hcd
>> [   19.962907] usb usb2: SerialNumber: 1c1b000.usb
>> [   20.008450] hub 2-0:1.0: USB hub found
>> [   20.019233] hub 2-0:1.0: 1 port detected
>> [  OK  ] Found device /dev/ttyS0.
>> [   20.253371] usb 1-1: new high-speed USB device number 2 using
>> ehci-platform
>> [   20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled
>> (timeout=16 sec, nowayout=0)
>> [   20.350267] usb 2-1: new high-speed USB device number 2 using
>> ehci-platform
>> [   20.397887] usb 1-1: New USB device found, idVendor=05e3,
>> idProduct=0718
>> [   20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1,
>> SerialNumber=2
>> [   20.412007] usb 1-1: Product: USB Storage
>> [   20.416058] usb 1-1: SerialNumber: 000000000033
>> [   20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz
>> [   20.492897] usb 2-1: New USB device found, idVendor=0424,
>> idProduct=3503
>> [   20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0,
>> SerialNumber=0
>> [   20.523676] hub 2-1:1.0: USB hub found
>> [   20.535200] hub 2-1:1.0: 2 ports detected
>> [   20.626373] usb3503 usb-hub: Ports disabled with no control interface
>> [  OK  ] Found device /dev/disk/by-uuid/2CA3-F2A2.
>> [   20.760223] usb3503 usb-hub: switched to HUB mode
>> [   20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode
>> [  OK  ] Found device
>> /dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df.
>>          Mounting /boot...
>> [   20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to
>> feature incompatibilities
>> [FAILED] Failed to mount /boot.
>> See 'systemctl status boot.mount' for details.
>> [DEPEND] Dependency failed for Local File Systems.
>> [DEPEND] Dependency failed for Relabel all filesystems, if necessary.
>> [DEPEND] Dependency failed for Migrate local... structure to the new
>> structure.
>> [DEPEND] Dependency failed for /boot/fw.
>> [  OK  ] Reached target Timers.
>> [  OK  ] Reached target Network (Pre).
>> [  OK  ] Reached target Network.
>> [  OK  ] Reached target Network is Online.
>> [  OK  ] Reached target Login Prompts.
>>          Starting Crash recovery kernel arming...
>> [  OK  ] Reached target Sockets.
>>          Starting Import network configuration from initramfs...
>>          Starting Tell Plymouth To Write Out Runtime Data...
>> [  OK  ] Started Tell Plymouth To Write Out Runtime Data.
>> [  OK  ] Found device
>> /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618.
>>          Activating swap
>> /dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618...
>> [   21.646852] Adding 249852k swap on /dev/mmcblk0p3.  Priority:-2
>> extents:1 across:249852k SSFS
>> [  OK  ] Activated swap
>> /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618.
>> [  OK  ] Reached target Swap.
>> [FAILED] Failed to start Crash recovery kernel arming.
>> See 'systemctl status kdump.service' for details.
>> [  OK  ] Started Import network configuration from initramfs.
>> [  OK  ] Started Emergency Shell.
>>          Starting Emergency Shell...
>> [  OK  ] Reached target Emergency Mode.
>>          Starting Create Volatile Files and Directories...
>> [   23.733719] random: crng init done
>> [   25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found
>> [  OK  ] Started Create Volatile Files and Directories.
>>          Starting Security Auditing Service...
>> [   25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
>> [  OK  ] Started Security Auditing Service.
>>          Starting Update UTMP about System Boot/Shutdown...
>> [  OK  ] Started Update UTMP about System Boot/Shutdown.
>>          Starting Update UTMP about System Runlevel Changes...
>> [  OK  ] Started Update UTMP about System Runlevel Changes.
>> Welcome to emergency mode! After logging in, type "journalctl -xPress
>> enter for maintenance(or type Control-D to continue): [ 26.911598]
>> input: axp20x-pek as
>> /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
>> [   27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as
>> rtc0
>> [   27.163368] ac100-rtc ac100-rtc: RTC enabled
>> [   27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected
>> [   27.317836] scsi host0: usb-storage 1-1:1.0
>> [   27.372202] usbcore: registered new interface driver usb-storage
>> [   27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif
>> mapping ok
>> [   27.516919] asoc-simple-card sound: ASoC: no DMI vendor name!
>> [   27.540329] usbcore: registered new interface driver uas
>>
>> sulogin: failed to execute /bin/bash: Permission denied
>> sulogin: failed to execute /bin/sh: Permission denied
>> Can not execute su shell
>>
>> Error getting authority: Error initializing authority: Could not
>> connect: No such file or directory (g-io-error-quark, 1)
>> [   31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to
>> feature incompatibilities
>> Welcome to emergency mode! After logging in, type "journalctl -xPress
>> enter for maintenance(or type Control-D to continue):
>> sulogin: failed to execute /bin/bash: Permission denied
>> sulogin: failed to execute /bin/sh: Permission denied
>> Can not execute su shell
>>
>