Cubietruck Mainline Kernel installation

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

Re: Cubietruck Mainline Kernel installation

Postby h4xx » Wed Jun 17, 2015 9:29 am

Hi ElwoodG

does your problem have anything to do with the standard installation of the mainline kernel?

Please do not hijack this thread for your problems (Wifi Bluetooth).

Iam on vacation currently. But also orderd some UART adapter for debugging.

Will report next week about the progress.

Also the standard installation guide has changed. Seems that the old sun7i kernel is obsolete and the mainline kernel
is now the standard.

Regards h4xx
h4xx
 
Posts: 19
Joined: Wed Dec 25, 2013 12:34 pm

Re: Cubietruck Mainline Kernel installation

Postby Isgar » Sat Jun 20, 2015 2:18 pm

Here is the output of serial:

$this->bbcode_second_pass_code('', '
U-Boot SPL 2015.04-1 (Jun 12 2015 - 19:36:41)
DRAM: 2048 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2


U-Boot 2015.04-1 (Jun 12 2015 - 19:36:41) Arch Linux ARM

CPU: Allwinner A20 (SUN7I)
I2C: ready
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 1024x768 vga console
In: serial
Out: vga
Err: vga
SCSI: SUNXI SCSI INIT
Target spinup took 0 ms.
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: dwmac.1c50000
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1: USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
805 bytes read in 141 ms (4.9 KiB/s)
## Executing script at 43100000
4864080 bytes read in 411 ms (11.3 MiB/s)
26288 bytes read in 2728 ms (8.8 KiB/s)
** File not found /boot/initramfs-linux.img **
Kernel image @ 0x42000000 [ 0x000000 - 0x4a3850 ]
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Device Tree to 4eff6000, end 4efff6af ... OK

Starting 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 4.0.5-2-ARCH (builduser@leming) (gcc version 4.9.2 20150304 (prerelease) (GCC) ) #1 SMP Fri Jun 12 20:03:44 MDT 2015
[ 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] 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 @ee5c2000 s17024 r8192 d23936 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 521810
[ 0.000000] Kernel command line: console=ttyS0,115200 root=PARTUUID=561ddb4b-01 rw rootwait
[ 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: 2041088K/2094080K available (10079K kernel code, 957K rwdata, 4116K rodata, 1044K init, 908K bss, 36608K reserved, 16384K cma)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0de4fc0 (14196 kB)
[ 0.000000] .init : 0xc0de5000 - 0xc0eea000 (1044 kB)
[ 0.000000] .data : 0xc0eea000 - 0xc0fd9430 ( 958 kB)
[ 0.000000] .bss : 0xc0fd9430 - 0xc10bc510 ( 909 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] GIC physical location is 0x1c81000
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[ 0.000023] Switching to timer-based delay loop, resolution 41ns
[ 0.001991] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[ 0.003216] Console: colour dummy device 80x30
[ 0.003255] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[ 0.003272] pid_max: default: 32768 minimum: 301
[ 0.003407] Security Framework initialized
[ 0.003613] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003629] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004535] Initializing cgroup subsys blkio
[ 0.004567] Initializing cgroup subsys memory
[ 0.004610] Initializing cgroup subsys devices
[ 0.004627] Initializing cgroup subsys freezer
[ 0.004644] Initializing cgroup subsys net_cls
[ 0.004658] Initializing cgroup subsys perf_event
[ 0.004673] Initializing cgroup subsys net_prio
[ 0.004754] CPU: Testing write buffer coherency: ok
[ 0.004887] ftrace: allocating 36930 entries in 109 pages
[ 0.066662] /cpus/cpu@0 missing clock-frequency property
[ 0.066698] /cpus/cpu@1 missing clock-frequency property
[ 0.066713] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.066813] Setting up static identity map for 0x4090bac8 - 0x4090bb60
[ 0.070309] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.070432] Brought up 2 CPUs
[ 0.070454] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.070462] CPU: All CPU(s) started in HYP mode.
[ 0.070468] CPU: Virtualization extensions available.
[ 0.071433] devtmpfs: initialized
[ 0.072750] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[ 0.074480] xor: measuring software checksum speed
[ 0.121291] arm4regs : 1153.600 MB/sec
[ 0.171361] 8regs : 684.000 MB/sec
[ 0.221427] 32regs : 844.800 MB/sec
[ 0.271498] neon : 669.600 MB/sec
[ 0.271509] xor: using function: arm4regs (1153.600 MB/sec)
[ 0.271674] pinctrl core: initialized pinctrl subsystem
[ 0.280961] NET: Registered protocol family 16
[ 0.283032] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.294593] No ATAGs?
[ 0.294650] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.294663] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.296648] Serial: AMBA PL011 UART driver
[ 0.407260] raid6: int32x1 107 MB/s
[ 0.492615] raid6: int32x2 145 MB/s
[ 0.577784] raid6: int32x4 127 MB/s
[ 0.662988] raid6: int32x8 115 MB/s
[ 0.747696] raid6: neonx1 427 MB/s
[ 0.832755] raid6: neonx2 579 MB/s
[ 0.918028] raid6: neonx4 588 MB/s
[ 1.003225] raid6: neonx8 428 MB/s
[ 1.003234] raid6: using algorithm neonx4 (588 MB/s)
[ 1.003241] raid6: using intx1 recovery algorithm
[ 1.005894] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@1, deferring probe
[ 1.005925] platform ahci-5v: Driver reg-fixed-voltage requests probe deferral
[ 1.005963] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[ 1.005979] platform usb0-vbus: Driver reg-fixed-voltage requests probe deferral
[ 1.006007] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 1.006022] platform usb1-vbus: Driver reg-fixed-voltage requests probe deferral
[ 1.006052] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 1.006067] platform usb2-vbus: Driver reg-fixed-voltage requests probe deferral
[ 1.006988] reg-fixed-voltage vmmc3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/vmmc3_pin@0, deferring probe
[ 1.007008] platform vmmc3: Driver reg-fixed-voltage requests probe deferral
[ 1.010924] vgaarb: loaded
[ 1.012266] SCSI subsystem initialized
[ 1.013026] usbcore: registered new interface driver usbfs
[ 1.013118] usbcore: registered new interface driver hub
[ 1.013206] usbcore: registered new device driver usb
[ 1.014750] media: Linux media interface: v0.10
[ 1.014824] Linux video capture interface: v2.00
[ 1.014940] pps_core: LinuxPPS API ver. 1 registered
[ 1.014950] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.014981] PTP clock support registered
[ 1.015070] EDAC MC: Ver: 3.0.0
[ 1.016532] Advanced Linux Sound Architecture Driver Initialized.
[ 1.017354] NetLabel: Initializing
[ 1.017367] NetLabel: domain hash size = 128
[ 1.017374] NetLabel: protocols = UNLABELED CIPSOv4
[ 1.017440] NetLabel: unlabeled traffic allowed by default
[ 1.017769] Switched to clocksource arch_sys_counter
[ 1.074335] simple-framebuffer bfd00000.framebuffer: framebuffer at 0xbfd00000, 0x300000 bytes, mapped to 0xf0400000
[ 1.074358] simple-framebuffer bfd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096
[ 1.089301] Console: switching to colour frame buffer device 128x48
[ 1.102293] simple-framebuffer bfd00000.framebuffer: fb0: simplefb registered!
[ 1.114548] NET: Registered protocol family 2
[ 1.115708] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.115804] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.115933] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.116029] TCP: reno registered
[ 1.116046] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.116109] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.116414] NET: Registered protocol family 1
[ 1.116870] RPC: Registered named UNIX socket transport module.
[ 1.116886] RPC: Registered udp transport module.
[ 1.116893] RPC: Registered tcp transport module.
[ 1.116900] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.118134] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 1.120736] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 1.130010] zpool: loaded
[ 1.130034] zbud: loaded
[ 1.130729] VFS: Disk quotas dquot_6.5.2
[ 1.130980] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.133186] NFS: Registering the id_resolver key type
[ 1.133267] Key type id_resolver registered
[ 1.133275] Key type id_legacy registered
[ 1.133304] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.136269] bounce: pool size: 64 pages
[ 1.136540] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.136746] io scheduler noop registered
[ 1.136764] io scheduler deadline registered
[ 1.136967] io scheduler cfq registered (default)
[ 1.138616] platform 1c13400.phy: Driver sun4i-usb-phy requests probe deferral
[ 1.144415] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 1.225830] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.229582] console [ttyS0] disabled
[ 1.249971] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 41, base_baud = 1500000) is a U6_16550A
[ 2.130121] console [ttyS0] enabled
[ 2.134205] Serial: AMBA driver
[ 2.139188] [drm] Initialized drm 1.1.0 20060810
[ 2.152286] loop: module loaded
[ 2.157277] Loading iSCSI transport class v2.0-870.
[ 2.162931] iscsi: registered transport (tcp)
[ 2.168464] platform 1c18000.sata: Driver ahci-sunxi requests probe deferral
[ 2.182183] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.188792] ehci-pci: EHCI PCI platform driver
[ 2.193345] ehci-platform: EHCI generic platform driver
[ 2.198875] platform 1c14000.usb: Driver ehci-platform requests probe deferral
[ 2.206251] platform 1c1c000.usb: Driver ehci-platform requests probe deferral
[ 2.213636] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 2.219074] ehci-omap: OMAP-EHCI Host Controller driver
[ 2.224441] ehci-orion: EHCI orion driver
[ 2.228587] ehci-exynos: EHCI EXYNOS driver
[ 2.232943] tegra-ehci: Tegra EHCI driver
[ 2.237093] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.243329] ohci-pci: OHCI PCI platform driver
[ 2.247872] ohci-platform: OHCI generic platform driver
[ 2.253313] platform 1c14400.usb: Driver ohci-platform requests probe deferral
[ 2.260656] platform 1c1c400.usb: Driver ohci-platform requests probe deferral
[ 2.267997] ohci-exynos: OHCI EXYNOS driver
[ 2.272336] ohci-omap3: OHCI OMAP3 driver
[ 2.276702] usbcore: registered new interface driver uas
[ 2.282140] usbcore: registered new interface driver usb-storage
[ 2.288216] usbcore: registered new interface driver ums-cypress
[ 2.294287] usbcore: registered new interface driver ums_eneub6250
[ 2.300529] usbcore: registered new interface driver ums-freecom
[ 2.306617] usbcore: registered new interface driver ums-isd200
[ 2.312603] usbcore: registered new interface driver ums-usbat
[ 2.324148] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[ 2.331012] sunxi-rtc 1c20d00.rtc: RTC enabled
[ 2.335938] i2c /dev entries driver
[ 2.341125] axp20x 0-0034: AXP20x variant AXP209 found
[ 2.354542] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[ 2.368617] axp20x 0-0034: AXP20X driver loaded
[ 2.380031] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=1)
[ 2.389281] Driver 'mmcblk' needs updating - please use bus_type methods
[ 2.396086] sdhci: Secure Digital Host Controller Interface driver
[ 2.402277] sdhci: Copyright(c) Pierre Ossman
[ 2.407276] Synopsys Designware Multimedia Card Interface Driver
[ 2.414500] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 2.420836] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 2.453063] sunxi-mmc 1c0f000.mmc: base:0xf00ae000 irq:26
[ 2.459089] platform 1c12000.mmc: Driver sunxi-mmc requests probe deferral
[ 2.466235] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.473943] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.481098] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.487207] usbcore: registered new interface driver usbhid
[ 2.492847] usbhid: USB HID core driver
[ 2.497297] ashmem: initialized
[ 2.508234] oprofile: using timer interrupt.
[ 2.512871] TCP: cubic registered
[ 2.516989] NET: Registered protocol family 10
[ 2.523112] mip6: Mobile IPv6
[ 2.526108] NET: Registered protocol family 17
[ 2.528953] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.531424] mmc0: new high speed SDHC card at address 1234
[ 2.544287] mmcblk0: mmc0:1234 SA16G 14.6 GiB
[ 2.544434] Key type dns_resolver registered
[ 2.556045] ThumbEE CPU extension supported.
[ 2.557397] mmcblk0: p1
[ 2.563095] Registering SWP/SWPB emulation handler
[ 2.568942] registered taskstats version 1
[ 2.576298] Btrfs loaded
[ 2.622845] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[ 2.630409] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[ 2.637586] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 2.646558] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
[ 2.656311] scsi host0: ahci-sunxi
[ 2.660150] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 30
[ 2.669250] ehci-platform 1c14000.usb: EHCI Host Controller
[ 2.675316] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 2.683358] ehci-platform 1c14000.usb: irq 28, io mem 0x01c14000
[ 2.697807] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 2.704168] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.710975] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.718205] usb usb1: Product: EHCI Host Controller
[ 2.723093] usb usb1: Manufacturer: Linux 4.0.5-2-ARCH ehci_hcd
[ 2.729019] usb usb1: SerialNumber: 1c14000.usb
[ 2.734437] hub 1-0:1.0: USB hub found
[ 2.738281] hub 1-0:1.0: 1 port detected
[ 2.743774] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 2.749818] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 2.757910] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[ 2.772797] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 2.779148] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.785952] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.793183] usb usb2: Product: EHCI Host Controller
[ 2.798072] usb usb2: Manufacturer: Linux 4.0.5-2-ARCH ehci_hcd
[ 2.803997] usb usb2: SerialNumber: 1c1c000.usb
[ 2.809354] hub 2-0:1.0: USB hub found
[ 2.813228] hub 2-0:1.0: 1 port detected
[ 2.818748] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 2.825816] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 2.833820] ohci-platform 1c14400.usb: irq 29, io mem 0x01c14400
[ 2.897010] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.903826] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.911057] usb usb3: Product: Generic Platform OHCI controller
[ 2.916992] usb usb3: Manufacturer: Linux 4.0.5-2-ARCH ohci_hcd
[ 2.922924] usb usb3: SerialNumber: 1c14400.usb
[ 2.928641] hub 3-0:1.0: USB hub found
[ 2.932445] hub 3-0:1.0: 1 port detected
[ 2.938021] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 2.945031] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 2.953041] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[ 2.992804] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.999642] ata1.00: ATA-9: WDC WD10JPVX-00JC3T0, 01.01A01, max UDMA/133
[ 3.006371] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 3.017451] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.024268] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.031531] usb usb4: Product: Generic Platform OHCI controller
[ 3.037491] usb usb4: Manufacturer: Linux 4.0.5-2-ARCH ohci_hcd
[ 3.037507] ata1.00: configured for UDMA/133
[ 3.038152] scsi 0:0:0:0: Direct-Access ATA WDC WD10JPVX-00J 1A01 PQ: 0 ANSI: 5
[ 3.039680] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 3.039689] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.040005] sd 0:0:0:0: [sda] Write Protect is off
[ 3.040146] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.078033] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.087890] usb usb4: SerialNumber: 1c1c400.usb
[ 3.093635] hub 4-0:1.0: USB hub found
[ 3.097447] hub 4-0:1.0: 1 port detected
[ 3.103545] sunxi-mmc 1c12000.mmc: No vqmmc regulator found
[ 3.137815] sunxi-mmc 1c12000.mmc: base:0xf0128000 irq:27
[ 3.144453] sunxi-rtc 1c20d00.rtc: setting system clock to 2085-06-20 09:28:13 UTC (3643867693)
[ 3.154308] sr_init: No PMIC hook to init smartreflex
[ 3.161620] sr_init: platform driver register failed for SR
[ 3.162303] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !!
[ 3.180486] Unable to find PPMU node
[ 3.184238] exynos5-bus-int: probe of exynos5-bus-int failed with error -2
[ 3.191267] usb0-vbus: disabling
[ 3.193361] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 3.194877] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.196384] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.199095] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 3.214937] mmc1: new high speed SDIO card at address 0001
[ 3.222258] ldo4: disabling
[ 3.225285] ldo3: disabling
[ 3.228275] vcc5v0: disabling
[ 3.231244] vcc3v0: disabling
[ 3.234381] ALSA device list:
[ 3.237348] No soundcards found.
[ 3.518987] sda: sda1
[ 3.523096] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.528998] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
[ 3.538290] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities
[ 3.657056] random: nonblocking pool is initialized
[ 3.664076] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 3.672258] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ 3.681873] devtmpfs: mounted
[ 3.686861] Freeing unused kernel memory: 1044K (c0de5000 - c0eea000)
[ 4.046027] systemd[1]: systemd 219 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +G)
[ 4.064667] systemd[1]: Detected architecture 'arm'.

Welcome to Arch Linux ARM!

[ 4.089648] systemd[1]: Set hostname to <cubietruck>.
[ 4.395420] systemd[1]: Unit type .busname is not supported on this system.
[ 4.813726] systemd[1]: Cannot add dependency job for unit ufw.service, ignoring: Unit ufw.service failed to load: No such file or directory.
[ 4.827105] systemd[1]: Cannot add dependency job for unit org.freedesktop.resolve1.busname, ignoring: Unit org.freedesktop.resolve1.busname fail.
[ 4.843941] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No suc.
[ 4.866802] systemd[1]: Time has been changed
[ 4.871616] systemd[1]: Time has been changed
[ 4.876316] systemd[1]: Time has been changed
[ 4.881049] systemd[1]: Time has been changed
[ 4.885699] systemd[1]: Time has been changed
[ 4.890335] systemd[1]: Time has been changed
[ 4.894973] systemd[1]: Time has been changed
[ 4.899605] systemd[1]: Time has been changed
[ 4.904218] systemd[1]: Time has been changed
[ 4.908840] systemd[1]: Time has been changed
[ 4.913444] systemd[1]: Time has been changed
[ 4.918054] systemd[1]: Time has been changed
[ 4.922636] systemd[1]: Time has been changed
[ 4.927246] systemd[1]: Time has been changed
[ 4.931853] systemd[1]: Time has been changed
[ 4.936458] systemd[1]: Time has been changed
[ 4.941066] systemd[1]: Time has been changed
[ 4.945668] systemd[1]: Time has been changed
[ 4.950278] systemd[1]: Time has been changed
[ 4.954882] systemd[1]: Time has been changed
[ 4.959492] systemd[1]: Time has been changed
[ 4.964094] systemd[1]: Time has been changed
[ 4.968699] systemd[1]: Time has been changed
[ 4.973300] systemd[1]: Time has been changed
[ 4.977903] systemd[1]: Time has been changed
[ 4.982496] systemd[1]: Time has been changed
[ 4.987109] systemd[1]: Time has been changed
^^^ REPEAT ENDLESSLY
')
Isgar
 
Posts: 15
Joined: Thu Sep 04, 2014 10:45 pm

Re: Cubietruck Mainline Kernel installation

Postby schumbi » Tue Jun 23, 2015 10:20 am

Same here. "Time has been changed".
When I mute these messages in /etc/systemd/system.conf (loglevel=info), systemd complains that systemd-journald could not be started. :evil:

I tried it with a fresh installation, following exactly the instruction for the cubietruck.
schumbi
 
Posts: 1
Joined: Tue Jun 23, 2015 10:11 am

Re: Cubietruck Mainline Kernel installation

Postby Godot » Wed Jun 24, 2015 10:06 pm

Hi,

I've got the same problem and found some more information, but no solution.

I've added debugging to systemd in /etc/systemd/system.conf with
$this->bbcode_second_pass_code('', '
LogLevel=debug
LogTarget=console
')
and disabled the journal storage in /etc/systemd/journald.conf with
$this->bbcode_second_pass_code('', '
Storage=none
')

The output after the kernel init is:
$this->bbcode_second_pass_code('', '
Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices.
Mounting cgroup to /sys/fs/cgroup/perf_event of type cgroup with options perf_event.
Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio.
Mounting cgroup to /sys/fs/cgroup/net_cls,net_prio of type cgroup with options net_cls,net_prio.
Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory.
Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset.
Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer.
systemd 219 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
Detected architecture 'arm'.

Welcome to Arch Linux ARM!

Set hostname to <alarm>.
Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd.
Installed release agent.
Set hostname to <alarm>.
Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd.
Installed release agent.
Set up TFD_TIMER_CANCEL_ON_SET timerfd.
/usr/lib/systemd/system-generators/systemd-cryptsetup-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-cryptsetup-generator as 74.
/usr/lib/systemd/system-generators/systemd-hibernate-resume-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator as 75.
/usr/lib/systemd/system-generators/systemd-getty-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-getty-generator as 76.
/usr/lib/systemd/system-generators/systemd-system-update-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-system-update-generator as 77.
/usr/lib/systemd/system-generators/systemd-fstab-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-fstab-generator as 78.
/usr/lib/systemd/system-generators/systemd-debug-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-debug-generator as 79.
/usr/lib/systemd/system-generators/systemd-efi-boot-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-efi-boot-generator as 80.
/usr/lib/systemd/system-generators/lvm2-activation-generator will be executed.
Spawned /usr/lib/systemd/system-generators/lvm2-activation-generator as 81.
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator will be executed.
Spawned /usr/lib/systemd/system-generators/systemd-gpt-auto-generator as 82.
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator succeeded.
/usr/lib/systemd/system-generators/systemd-hibernate-resume-generator succeeded.
/usr/lib/systemd/system-generators/systemd-fstab-generator succeeded.
/usr/lib/systemd/system-generators/systemd-debug-generator succeeded.
/usr/lib/systemd/system-generators/systemd-getty-generator succeeded.
/usr/lib/systemd/system-generators/systemd-cryptsetup-generator succeeded.
/usr/lib/systemd/system-generators/systemd-efi-boot-generator succeeded.
/usr/lib/systemd/system-generators/lvm2-activation-generator succeeded.
/usr/lib/systemd/system-generators/systemd-system-update-generator succeeded.
system-generators succeeded.
Looking for unit files in (higher priority first):
/etc/systemd/system
/run/systemd/system
/run/systemd/generator
/usr/local/lib/systemd/system
/usr/lib/systemd/system
SysV init scripts and rcN.d links support disabled
Unit type .busname is not supported on this system.
device 0xb7957470 has devpath '/devices/platform/soc@01c00000/1c0f000.mmc/mmc_host/mmc0/mmc0:59b4/block/mmcblk0/mmcblk0p1'
no db file to read /run/udev/data/b179:1: No such file or directory
path: /usr/lib/systemd/systemd-remount-fs
path: /usr/lib/systemd/systemd-journald
path: /usr/bin/journalctl
path: /usr/lib/systemd/systemd-user-sessions
path: /usr/lib/systemd/systemd-user-sessions
path: /usr/bin/systemd-tmpfiles
path: /usr/bin/journalctl
path: /usr/lib/systemd/systemd-random-seed
path: /usr/lib/systemd/systemd-random-seed
path: /usr/lib/systemd/systemd-modules-load
path: /usr/bin/systemd-hwdb
path: /usr/bin/kmod
path: /usr/bin/udevadm
path: /usr/bin/udevadm
path: /usr/bin/systemd-tmpfiles
path: /usr/bin/lvmetad
path: /sbin/ldconfig
path: /usr/lib/systemd/systemd-binfmt
path: /usr/lib/systemd/systemd-machine-id-commit
path: /usr/bin/systemd-sysusers
path: /usr/bin/systemd-tmpfiles
path: /usr/lib/systemd/systemd-sysctl
path: /usr/lib/systemd/systemd-update-done
path: /usr/bin/systemd-tty-ask-password-agent
Failed to load configuration for plymouth-start.service: No such file or directory
path: /usr/bin/systemd-firstboot
path: /usr/lib/systemd/systemd-update-utmp
path: /usr/lib/systemd/systemd-update-utmp
Failed to load configuration for auditd.service: No such file or directory
path: /usr/lib/systemd/systemd-vconsole-setup
path: /usr/lib/systemd/systemd-udevd
Failed to load configuration for systemd-udev-hwdb-update.service: No such file or directory
path: /usr/lib/systemd/systemd-timesyncd
path: /bin/plymouth
path: /bin/echo
path: /bin/sh
path: /bin/plymouth
path: /bin/echo
path: /bin/sh
Failed to load configuration for syslog.service: No such file or directory
path: /usr/bin/dbus-daemon
path: /usr/bin/dbus-send
path: /usr/bin/dmeventd
path: /usr/lib/systemd/systemd-shutdownd
path: /usr/lib/systemd/systemd-initctl
path: /usr/lib/systemd/systemd-networkd
path: /sbin/agetty
Failed to load configuration for plymouth-quit-wait.service: No such file or directory
path: /sbin/agetty
path: /usr/bin/pwck
path: /usr/bin/grpck
path: /usr/lib/systemd/systemd-logind
Failed to load configuration for org.freedesktop.login1.busname: No such file or directory
path: /usr/bin/logrotate
path: /usr/bin/mkdir
path: /usr/bin/mandb
path: /usr/bin/systemctl
path: /usr/bin/systemd-tty-ask-password-agent
path: /usr/lib/systemd/systemd-resolved
Failed to load configuration for org.freedesktop.resolve1.busname: No such file or directory
Failed to load configuration for network.service: No such file or directory
path: /usr/bin/sshd
path: /bin/kill
path: /usr/bin/ssh-keygen
path: /usr/bin/haveged
path: /usr/lib/systemd/systemd-fsck
path: /usr/bin/mkinitcpio
Using notification socket /run/systemd/notify
Successfully created private D-Bus server.
dev-mmcblk0p1.device changed dead -> tentative
-.mount changed dead -> mounted
Activating default unit: default.target
Failed to load configuration for display-manager.service: No such file or directory
Trying to enqueue job graphical.target/start/isolate
Cannot add dependency job for unit org.freedesktop.resolve1.busname, ignoring: Unit org.freedesktop.resolve1.busname failed to load: No such file or directory.
Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
Installed new job systemd-journald.socket/start as 29
Installed new job dev-hugepages.mount/start as 17
Installed new job ldconfig.service/start as 35
Installed new job proc-sys-fs-binfmt_misc.automount/start as 43
Installed new job -.slice/start as 9
Installed new job systemd-timesyncd.service/start as 46
Installed new job systemd-binfmt.service/start as 33
Installed new job graphical.target/start as 1
Installed new job sshdgenkeys.service/start as 79
Installed new job systemd-update-utmp.service/start as 16
Installed new job systemd-networkd.socket/start as 57
Installed new job getty.target/start as 65
Installed new job systemd-machine-id-commit.service/start as 38
Installed new job time-sync.target/start as 47
Installed new job systemd-update-done.service/start as 32
Installed new job systemd-journald.service/start as 28
Installed new job system-getty.slice/start as 67
Installed new job logrotate.timer/start as 71
Installed new job systemd-user-sessions.service/start as 63
Installed new job systemd-tmpfiles-setup-dev.service/start as 44
Installed new job systemd-shutdownd.socket/start as 60
Installed new job dbus.service/start as 81
Installed new job systemd-journald-audit.socket/start as 31
Installed new job local-fs.target/start as 19
Installed new job slices.target/start as 52
Installed new job man-db.timer/start as 64
Installed new job systemd-vconsole-setup.service/start as 25
Installed new job systemd-journal-flush.service/start as 45
Installed new job systemd-initctl.socket/start as 59
Installed new job systemd-journald-dev-log.socket/start as 30
Installed new job remote-fs.target/start as 74
Installed new job systemd-ask-password-wall.path/start as 80
Installed new job systemd-udev-trigger.service/start as 36
Installed new job dm-event.socket/start as 56
Installed new job systemd-journal-catalog-update.service/start as 10
Installed new job sshd.service/start as 78
Installed new job lvm2-lvmetad.socket/start as 41
Installed new job user.slice/start as 73
Installed new job multi-user.target/start as 2
Installed new job dev-mqueue.mount/start as 48
Installed new job systemd-remount-fs.service/start as 20
Installed new job paths.target/start as 61
Installed new job systemd-tmpfiles-clean.timer/start as 54
Installed new job dbus.socket/start as 58
Installed new job system-serial\x2dgetty.slice/start as 70
Installed new job serial-getty@ttyS0.service/start as 68
Installed new job haveged.service/start as 75
Installed new job network.target/start as 77
Installed new job systemd-networkd.service/start as 76
Installed new job systemd-firstboot.service/start as 7
Installed new job systemd-hwdb-update.service/start as 27
Installed new job kmod-static-nodes.service/start as 26
Installed new job system.slice/start as 8
Installed new job systemd-tmpfiles-setup.service/start as 24
Installed new job dev-ttyS0.device/start as 69
Installed new job sys-kernel-debug.mount/start as 18
Installed new job cryptsetup.target/start as 5
Installed new job shadow.timer/start as 62
Installed new job systemd-random-seed.service/start as 37
Installed new job sys-fs-fuse-connections.mount/start as 49
Installed new job systemd-udevd-control.socket/start as 14
Installed new job systemd-logind.service/start as 72
Installed new job systemd-resolved.service/start as 82
Installed new job systemd-sysusers.service/start as 40
Installed new job sockets.target/start as 55
Installed new job basic.target/start as 3
Installed new job systemd-udevd.service/start as 13
Installed new job getty@tty1.service/start as 66
Installed new job systemd-sysctl.service/start as 12
Installed new job tmp.mount/start as 22
Installed new job sys-kernel-config.mount/start as 11
Installed new job local-fs-pre.target/start as 21
Installed new job timers.target/start as 53
Installed new job sysinit.target/start as 4
Installed new job systemd-modules-load.service/start as 34
Installed new job systemd-ask-password-console.path/start as 42
Installed new job systemd-udevd-kernel.socket/start as 15
Installed new job swap.target/start as 39
Enqueued job graphical.target/start as 1
Loaded units and determined initial transaction in 901ms.
Received SIGCHLD from PID 73 (n/a).
Time has been changed
Set up TFD_TIMER_CANCEL_ON_SET timerfd.
Time has been changed
Set up TFD_TIMER_CANCEL_ON_SET timerfd.
< last two lines repeated >
')

Actually the boot procedure continues and fails with
$this->bbcode_second_pass_code('', '
sysinit.target changed dead -> active
Job sysinit.target/start finished, result=done
[ OK ] Reached target System Initialization.
systemd-tmpfiles-clean.timer: Monotonic timer elapses in 14min 27.778111s.
systemd-tmpfiles-clean.timer changed dead -> waiting
Job systemd-tmpfiles-clean.timer/start finished, result=done
dbus.socket changed dead -> listening
Job dbus.socket/start finished, result=done
[ OK ] Listening on D-Bus System Message Bus Socket.
sockets.target changed dead -> active
Job sockets.target/start finished, result=done
[ OK ] Reached target Sockets.
basic.target changed dead -> active
Job basic.target/start finished, result=done
[ OK ] Reached target Basic System.
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_key.pub failed for sshdgenkeys.service.
ConditionPathExists=|!/etc/ssh/ssh_host_key failed for sshdgenkeys.service.
Starting of sshdgenkeys.service requested but condition failed. Not starting unit.
Job sshdgenkeys.service/start finished, result=done
About to execute: /usr/lib/systemd/systemd-logind
Forked /usr/lib/systemd/systemd-logind as 148
systemd-logind.service changed dead -> start
Starting Login Service...
About to execute: /usr/bin/haveged -F -w 1024 -v 1
Forked /usr/bin/haveged as 149
haveged.service changed dead -> running
Job haveged.service/start finished, result=done
[ OK ] Started Entropy Harvesting Daemon.
Starting Entropy Harvesting Daemon...
About to execute: /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
Forked /usr/bin/dbus-daemon as 150
dbus.service changed dead -> running
Job dbus.service/start finished, result=done
[ OK ] Started D-Bus System Message Bus.
dbus.socket changed listening -> running
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 error=n/a
Got message type=method_return sender=org.freedesktop.DBus destination=:1.0 object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 error=n/a
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=2 reply_cookie=0 error=n/a
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=3 reply_cookie=0 error=n/a
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=4 reply_cookie=0 error=n/a
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RequestName cookie=5 reply_cookie=0 error=n/a
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus object=/org/freedesktop/DBus interface=org.freedesktop.DBus member=ListNames cookie=6 reply_cookie=0 error=n/a
Successfully connected to API bus.
Starting D-Bus System Message Bus...
ConditionCapability=CAP_NET_ADMIN succeeded for systemd-networkd.service.
About to execute: /usr/lib/systemd/systemd-networkd
Forked /usr/lib/systemd/systemd-networkd as 151
systemd-networkd.service changed dead -> start
Starting Network Service...
About to execute: /usr/lib/systemd/systemd-user-sessions start
Forked /usr/lib/systemd/systemd-user-sessions as 152
systemd-user-sessions.service changed dead -> start
Starting Permit User Sessions...
time-sync.target changed dead -> active
Job time-sync.target/start finished, result=done
[ OK ] Reached target System Time Synchronized.
man-db.timer: Realtime timer elapses at Mon 1961-02-06 06:36:29 UTC.
man-db.timer changed dead -> waiting
Job man-db.timer/start finished, result=done
shadow.timer: Realtime timer elapses at Mon 1961-02-06 06:36:29 UTC.
shadow.timer changed dead -> waiting
Job shadow.timer/start finished, result=done
logrotate.timer: Realtime timer elapses at Mon 1961-02-06 06:36:29 UTC.
logrotate.timer changed dead -> waiting
Job logrotate.timer/start finished, result=done
timers.target changed dead -> active
Job timers.target/start finished, result=done
[ OK ] Reached target Ti[ 32.964209] RX IPC Checksum Offload disabled
mers.
Failed to run event loop: Invalid argument
32.972711] No MAC Management Counters available
1;31mFailed to run main loop: Invalid argument
Releasing all resources for systemd-journald.service
[!!!!!![ 33.006631] ERROR stmmaceth, debugfs create directory failed
] Failed to run main loop, freezing.
[ 33.013636] stmmac_hw_setup: failed debugFS registration
[ 34.953196] stmmaceth 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
')
I found the message "Failed to run main loop, freezing." in this thread http://archlinuxarm.org/forum/viewtopic.php?f=33&t=8833 as well.

... to be continued at the weekend.
Godot
 
Posts: 3
Joined: Wed Jun 24, 2015 9:10 pm

Re: Cubietruck Mainline Kernel installation

Postby Godot » Sun Jun 28, 2015 10:20 pm

I noticed that the file system image was updated including new versions of systemd and kernel 4.1., so I tried a reinstalling all.

The error persists. However the final error message looks different:
$this->bbcode_second_pass_code('', '
man-db.timer: Realtime timer elapses at Mon 1961-02-06 06:36:29 UTC.
man-db.timer: Changed dead -> waiting
man-db.timer: Job man-db.timer/start finished, result=done
timers.target changed dead -> active
timers.target: Job timers.target/start finished, result=done
[ OK ] Reached target Timers.
Failed to run event loop: Invalid argument
Failed to run main loop: Invalid argument
Assertion 'r >= 0' failed at src/libsystemd/sd-event/sd-event.c:484, function source_io_unregister(). Ignoring.
[!!!!!!] Failed to run main loop, freezing.
[ 28.401637] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 29.351604] cfg80211: Calling CRDA to update world regulatory domain
[ 29.674075] RX IPC Checksum Offload disabled
[ 29.678519] No MAC Management Counters available
[ 31.661772] stmmaceth 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[ 32.511471] cfg80211: Calling CRDA to update world regulatory domain
[ 35.671467] cfg80211: Calling CRDA to update world regulatory domain
[ 38.831465] cfg80211: Calling CRDA to update world regulatory domain
[ 41.991468] cfg80211: Calling CRDA to update world regulatory domain
[ 45.151468] cfg80211: Calling CRDA to update world regulatory domain
[ 48.311470] cfg80211: Calling CRDA to update world regulatory domain
[ 51.471469] cfg80211: Calling CRDA to update world regulatory domain
[ 54.631471] cfg80211: Calling CRDA to update world regulatory domain
[ 57.791476] cfg80211: Calling CRDA to update world regulatory domain
[ 60.951468] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
')

It looks like kernel messages are problems with the wireless which I don't care about for now. The system is responding to pings via LAN, but the ssh daemon is not running.

During the boot there are messages like this one coming up:
$this->bbcode_second_pass_code('', '
[ *** ] A start job is running for dev-ttyS0.device (48s / 1min 30s)
')
so I tried to not use the serial line, but the result was the same.

Regarding the
$this->bbcode_second_pass_code('', '
Assertion 'r >= 0' failed at src/libsystemd/sd-event/sd-event.c:484, function source_io_unregister(). Ignoring.
')
message I found this change on systemd:
https://github.com/systemd/systemd/commit/366e641139130833a7354d9f2f96ce72633b1053
that introduced the failing assertion. I'll open an issue at systemd when I find the time.

Is there any other log I could turn on and post?
Does this have to do something with different revision of the CT, different HW setups?
Is there a way to reproduce the building of the root file system and the kernel?
Godot
 
Posts: 3
Joined: Wed Jun 24, 2015 9:10 pm

Re: Cubietruck Mainline Kernel installation

Postby h4xx » Mon Jun 29, 2015 1:26 pm

Today i unplugged all my peripherals from the Cubietruck an shorten the RTC battery for 10 seconds.

After that the Cubietruck was booting straight with no errors.

Please try these steps too.


Regards h4xx
h4xx
 
Posts: 19
Joined: Wed Dec 25, 2013 12:34 pm

Re: Cubietruck Mainline Kernel installation

Postby Isgar » Mon Jun 29, 2015 5:01 pm

@h4xx

That solved it, awesome find! It is also what they recommend here: http://docs.cubieboard.org/faq/faqs#a20_version_ab
Isgar
 
Posts: 15
Joined: Thu Sep 04, 2014 10:45 pm

Re: Cubietruck Mainline Kernel installation

Postby Godot » Mon Jun 29, 2015 7:01 pm

Thanks H4xx!

I was able to solve it and to break my system again.

Booting form a Lubunto image in NAND with uname:
$this->bbcode_second_pass_code('', '
Linux cubietruck 3.4.79 #4 SMP PREEMPT Wed Sep 17 14:46:01 CST 2014 armv7l armv7l armv7l GNU/Linux
')

and then doing a resync of the hardwarclock
$this->bbcode_second_pass_code('', '
hwclock --systoh
')

Does someone know a way to reset the clock without shorting it?
Is there a way to submit changerequests to the installation site so we can put this into an FAQ?
Godot
 
Posts: 3
Joined: Wed Jun 24, 2015 9:10 pm

Previous

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 3 guests