3 3
hin246ho

Odroid C0/C1/C1+ - please update the mainline kernel version

Recommended Posts

2 hours ago, kaiomatico said:

I will compile a build today using the mainline kernel from kernel.org to see if it makes any difference compared to using this branch: https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git/log/?h=v5.0%2Ffixes

So I tried building the mainline kernel by doing the following:

1. Clone the current armbian git

2.editing the config/boards/odroidc1.eos to add dev as kernel target (KERNEL_TARGET="next,dev").

3. I copied the config/kernel/linux-odroidc1-next.config to linux-odroidc1-dev.config

4. I ran this command: ./compile.sh BOARD=odroidc1 BRANCH=dev KERNEL_ONLY=yes RELEASE=stretch

 

This started compiling the mainline kernel 5.0.0-rc5. I noticed that the patch/kernel/odroidc1-next/general-packaging-4.17-next.patch has thrown an error, but the script continued with the compilation and all looked pretty good until the following error appeared:

  LD [M]  sound/soc/meson/snd-soc-meson-axg-tdmout.ko
  LD [M]  sound/soc/meson/snd-soc-meson-axg-toddr.ko
  LD [M]  sound/soc/snd-soc-core.ko
  LD [M]  sound/soundcore.ko
  LD [M]  sound/usb/snd-usb-audio.ko
  LD [M]  sound/usb/snd-usbmidi-lib.ko
[ error ] ERROR in function compile_kernel [ compilation.sh:359 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 

I was not able to find a compilation.sh or a line 359, so I was not able to properly look up what is actually causing this error

Share this post


Link to post
Share on other sites
12 hours ago, TonyMac32 said:

http://linux-meson.com/doku.php

 

DVFS should be available, look for dmesg errors concerning that.

Yes... it should but it is not :)

Here is my dmesg from 5.0-rc5

[    0.000000] Booting Linux on physical CPU 0x200
[    0.000000] Linux version 5.0.0-rc5-odroidc1 (root@ubuntu-bionic) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5.74 SMP Thu Feb 7 12:00:17 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Hardkernel ODROID-C1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x3c000000
[    0.000000] On node 0 totalpages: 261632
[    0.000000]   Normal zone: 1724 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196096 pages, LIFO batch:63
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0x7c/0x468 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s40460 r8192 d20980 u69632
[    0.000000] pcpu-alloc: s40460 r8192 d20980 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259908
[    0.000000] Kernel command line: root=UUID=dd21bb52-5ccf-4482-9d23-0b5d2655c174 rootwait rw console=ttyAML0,115200n8 rootfstype=ext4 loglevel=3 no_console_suspend consoleblank=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=1080p m_bpp=32 vout=hdmi disableuhs disablehpd=true monitor_onoff=false max_freq=1536 usbhid.quirks=0x0eef:0x0005:0x0004
[    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: 949052K/1046528K available (11264K kernel code, 1022K rwdata, 2996K rodata, 1024K init, 323K bss, 31940K reserved, 65536K cma-reserved, 196608K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (12256 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   (1023 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 324 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] irq_meson_gpio: 119 to 8 gpio interrupt mux initialized
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x02460000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x4100a0c9, AUX_CTRL 0x36460000
[    0.000014] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000029] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000062] Switching to timer-based delay loop, resolution 1000ns
[    0.000607] Console: colour dummy device 80x30
[    0.000641] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.000651] pid_max: default: 32768 minimum: 301
[    0.000790] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000800] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001519] CPU: Testing write buffer coherency: ok
[    0.001822] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    0.002542] Setting up static identity map for 0x300000 - 0x300060
[    0.002672] rcu: Hierarchical SRCU implementation.
[    0.003565] EFI services will not be available.
[    0.003770] smp: Bringing up secondary CPUs ...
[    0.004353] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    0.005030] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[    0.005674] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[    0.005767] smp: Brought up 1 node, 4 CPUs
[    0.005775] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[    0.005778] CPU: All CPU(s) started in SVC mode.
[    0.006631] devtmpfs: initialized
[    0.011211] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[    0.011404] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011419] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.014525] xor: measuring software checksum speed
[    0.110240]    arm4regs  :  1002.800 MB/sec
[    0.210239]    8regs     :   847.200 MB/sec
[    0.310234]    32regs    :   928.000 MB/sec
[    0.410236]    neon      :   832.800 MB/sec
[    0.410242] xor: using function: arm4regs (1002.800 MB/sec)
[    0.410302] pinctrl core: initialized pinctrl subsystem
[    0.410967] DMI not present or invalid.
[    0.411350] NET: Registered protocol family 16
[    0.415730] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.416941] cpuidle: using governor menu
[    0.417711] No ATAGs?
[    0.417819] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.417824] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.418362] Serial: AMBA PL011 UART driver
[    0.600304] raid6: neonx8   gen()   375 MB/s
[    0.770244] raid6: neonx8   xor()   365 MB/s
[    0.940275] raid6: neonx4   gen()   574 MB/s
[    1.110283] raid6: neonx4   xor()   531 MB/s
[    1.280337] raid6: neonx2   gen()   554 MB/s
[    1.450272] raid6: neonx2   xor()   546 MB/s
[    1.620368] raid6: neonx1   gen()   388 MB/s
[    1.790228] raid6: neonx1   xor()   420 MB/s
[    1.960429] raid6: int32x8  gen()   155 MB/s
[    2.130363] raid6: int32x8  xor()   109 MB/s
[    2.300404] raid6: int32x4  gen()   160 MB/s
[    2.470287] raid6: int32x4  xor()   125 MB/s
[    2.640524] raid6: int32x2  gen()   153 MB/s
[    2.810400] raid6: int32x2  xor()   152 MB/s
[    2.980354] raid6: int32x1  gen()   143 MB/s
[    3.150329] raid6: int32x1  xor()   141 MB/s
[    3.150334] raid6: using algorithm neonx4 gen() 574 MB/s
[    3.150338] raid6: .... xor() 531 MB/s, rmw enabled
[    3.150341] raid6: using neon recovery algorithm
[    3.151850] VCC1V8: supplied by P5V0
[    3.152121] VCC3V3: supplied by P5V0
[    3.152368] DDR_VDDC: supplied by P5V0
[    3.152614] VDD_RTC: supplied by VCC3V3
[    3.154615] vgaarb: loaded
[    3.155294] SCSI subsystem initialized
[    3.155483] libata version 3.00 loaded.
[    3.155694] usbcore: registered new interface driver usbfs
[    3.155734] usbcore: registered new interface driver hub
[    3.155802] usbcore: registered new device driver usb
[    3.156156] pps_core: LinuxPPS API ver. 1 registered
[    3.156161] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.156179] PTP clock support registered
[    3.156302] EDAC MC: Ver: 3.0.0
[    3.158216] clocksource: Switched to clocksource timer
[    3.641608] NET: Registered protocol family 2
[    3.642273] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    3.642300] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.642382] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.642484] TCP: Hash tables configured (established 8192 bind 8192)
[    3.642596] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.642638] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.642819] NET: Registered protocol family 1
[    3.643342] RPC: Registered named UNIX socket transport module.
[    3.643347] RPC: Registered udp transport module.
[    3.643350] RPC: Registered tcp transport module.
[    3.643353] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.643362] PCI: CLS 0 bytes, default 64
[    3.643719] Trying to unpack rootfs image as initramfs...
[    3.846064] Freeing initrd memory: 3836K
[    3.847576] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[    3.848836] Initialise system trusted keyrings
[    3.849040] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    3.856030] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.856639] NFS: Registering the id_resolver key type
[    3.856662] Key type id_resolver registered
[    3.856665] Key type id_legacy registered
[    3.856703] ntfs: driver 2.1.32 [Flags: R/O].
[    3.857138] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    3.958098] Key type asymmetric registered
[    3.958105] Asymmetric key parser 'x509' registered
[    3.958170] bounce: pool size: 64 pages
[    3.958328] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.958523] io scheduler mq-deadline registered
[    3.958528] io scheduler kyber registered
[    3.961584] GPIO line 417 (usb-hub-reset) hogged as output/high
[    3.964017] soc soc0: Amlogic Meson8b (S805) RevA (1b - 0:B72) detected
[    3.964645] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.012372] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    4.014184] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 25, base_baud = 9960937) is a meson_uart
[    4.014243] printk: console [ttyAML0] enabled
[    4.014690] STMicroelectronics ASC driver initialized
[    4.025977] brd: module loaded
[    4.033940] loop: module loaded
[    4.036753] libphy: Fixed MDIO Bus: probed
[    4.037757] CAN device driver interface
[    4.038350] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    4.038354] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    4.038401] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    4.038405] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.039510] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    4.040026] meson8b-dwmac c9410000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    4.040036] meson8b-dwmac c9410000.ethernet:         DWMAC1000
[    4.040044] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    4.040049] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    4.040056] meson8b-dwmac c9410000.ethernet: COE Type 2
[    4.040061] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    4.040066] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    4.040103] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    4.040109] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    4.040115] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.118257] libphy: stmmac: probed
[    4.123586] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.123647] usbcore: registered new interface driver pegasus
[    4.123689] usbcore: registered new interface driver asix
[    4.123718] usbcore: registered new interface driver ax88179_178a
[    4.123747] usbcore: registered new interface driver cdc_ether
[    4.123784] usbcore: registered new interface driver smsc75xx
[    4.123823] usbcore: registered new interface driver smsc95xx
[    4.123858] usbcore: registered new interface driver net1080
[    4.123889] usbcore: registered new interface driver cdc_subset
[    4.123917] usbcore: registered new interface driver zaurus
[    4.123962] usbcore: registered new interface driver cdc_ncm
[    4.125107] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.125112] ehci-pci: EHCI PCI platform driver
[    4.125144] ehci-platform: EHCI generic platform driver
[    4.125277] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.125296] ohci-pci: OHCI PCI platform driver
[    4.125333] ohci-platform: OHCI generic platform driver
[    4.125795] usbcore: registered new interface driver usb-storage
[    4.127650] i2c /dev entries driver
[    4.129521] meson_wdt c1109900.watchdog: Watchdog enabled (timeout=8 sec, nowayout=0)
[    4.130899] sdhci: Secure Digital Host Controller Interface driver
[    4.130902] sdhci: Copyright(c) Pierre Ossman
[    4.132484] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.133046] ledtrig-cpu: registered to indicate activity on CPUs
[    4.133405] usbcore: registered new interface driver usbhid
[    4.133409] usbhid: USB HID core driver
[    4.133993] meson-saradc c1108680.adc: Linked as a consumer to regulator.2
[    4.135469] Initializing XFRM netlink socket
[    4.136063] NET: Registered protocol family 10
[    4.137078] Segment Routing with IPv6
[    4.137148] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.137700] NET: Registered protocol family 17
[    4.137745] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.137749] can: controller area network core (rev 20170425 abi 9)
[    4.137803] NET: Registered protocol family 29
[    4.137808] can: raw protocol (rev 20170425)
[    4.137813] can: broadcast manager protocol (rev 20170425 t)
[    4.137821] can: netlink gateway (rev 20170425) max_hops=1
[    4.138094] Key type dns_resolver registered
[    4.138840] ThumbEE CPU extension supported.
[    4.138851] Registering SWP/SWPB emulation handler
[    4.139407] Loading compiled-in X.509 certificates
[    4.141103] Btrfs loaded, crc32c=crc32c-generic
[    4.149904] TFLASH_VDD: supplied by VCC3V3
[    4.151111] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.151897] dwc2 c90c0000.usb: c90c0000.usb supply vusb_d not found, using dummy regulator
[    4.151957] dwc2 c90c0000.usb: Linked as a consumer to regulator.0
[    4.151970] dwc2 c90c0000.usb: c90c0000.usb supply vusb_a not found, using dummy regulator
[    4.218242] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter lpm=1
[    4.218252] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[    4.218259] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter besl=1
[    4.218265] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[    4.219137] dwc2 c90c0000.usb: DWC OTG Controller
[    4.219164] dwc2 c90c0000.usb: new USB bus registered, assigned bus number 1
[    4.219200] dwc2 c90c0000.usb: irq 26, io mem 0xc90c0000
[    4.219970] hub 1-0:1.0: USB hub found
[    4.220014] hub 1-0:1.0: 1 port detected
[    4.220942] iio_hwmon: probe of iio-hwmon failed with error -22
[    4.222965] platform c1108c20.mmc:slot@1: Linked as a consumer to regulator.6
[    4.223020] platform c1108c20.mmc:slot@1: Linked as a consumer to regulator.7
[    4.223389] platform c1108c20.mmc:slot@1: Got CD GPIO
[    4.250037] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.251015] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.251783] hctosys: unable to open rtc device (rtc0)
[    4.252143] DDR_VDDC: disabling
[    4.252150] VDD_RTC: disabling
[    4.252156] TF_IO: disabling
[    4.254639] Freeing unused kernel memory: 1024K
[    4.298364] Run /init as init process
[    4.349905] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.350506] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.350638] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.388515] mmc0: new SDHC card at address aaaa
[    4.389066] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
[    4.406149]  mmcblk0: p1
[    4.407459] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.658265] usb 1-1: new high-speed USB device number 2 using dwc2
[    4.690779] random: fast init done
[    4.910645] hub 1-1:1.0: USB hub found
[    4.911000] hub 1-1:1.0: 4 ports detected
[    4.914089] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    5.971471] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    7.272782] systemd[1]: System time before build time, advancing clock.
[    7.369496] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    7.369956] systemd[1]: Detected architecture arm.
[    7.399578] systemd[1]: Set hostname to <odroidc1>.
[    8.104481] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.128603] systemd[1]: Listening on udev Control Socket.
[    8.158514] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.188599] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.218386] systemd[1]: Reached target Encrypted Volumes.
[    8.248517] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    8.278533] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.609781] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    9.444376] systemd-journald[232]: Received request to flush runtime journal from PID 1
[   10.915382] zram: Added device: zram0
[   10.917932] zram: Added device: zram1
[   10.926077] zram: Added device: zram2
[   10.927684] zram: Added device: zram3
[   10.934391] zram: Added device: zram4
[   10.940187] zram: Added device: zram5
[   11.117781] zram1: detected capacity change from 0 to 130490368
[   11.548328] Adding 127428k swap on /dev/zram1.  Priority:5 extents:1 across:127428k SS
[   11.551168] zram2: detected capacity change from 0 to 130490368
[   11.587999] Adding 127428k swap on /dev/zram2.  Priority:5 extents:1 across:127428k SS
[   11.591152] zram3: detected capacity change from 0 to 130490368
[   11.625298] Adding 127428k swap on /dev/zram3.  Priority:5 extents:1 across:127428k SS
[   11.627638] zram4: detected capacity change from 0 to 130490368
[   11.660850] Adding 127428k swap on /dev/zram4.  Priority:5 extents:1 across:127428k SS
[   11.864681] zram0: detected capacity change from 0 to 52428800
[   12.148292] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[   13.309435] random: crng init done
[   13.309443] random: 7 urandom warning(s) missed due to ratelimiting
[   18.295575] EXT4-fs (mmcblk0p1): resizing filesystem from 262144 to 915840 blocks
[   30.168316] EXT4-fs (mmcblk0p1): resized to 524288 blocks
[   50.280574] EXT4-fs (mmcblk0p1): resized filesystem to 915840
[   51.816789] systemd[1]: apt-daily-upgrade.timer: Adding 35min 38.019240s random time.
[   59.181309] meson8b-dwmac c9410000.ethernet eth0: device MAC address 66:f6:65:b7:f3:96
[   59.183411] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=40)
[   59.185656] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   59.185671] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   59.187502] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   59.187545] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   86.337718] systemd[1]: apt-daily-upgrade.timer: Adding 42min 38.210741s random time.
[   87.430720] systemd[1]: apt-daily-upgrade.timer: Adding 6min 35.818165s random time.
[   94.593128] systemd[1]: apt-daily-upgrade.timer: Adding 44min 58.400343s random time.

I'm going to write to amlogic kernel mailing list to get more info on this issue.

 

*Ciao

Piero

Share this post


Link to post
Share on other sites

Hi all,

 

   I wrote to amlogic mailing list and I got the tips to build a kernel with DVFS enabled on OdroidC1.

I redid some tests using sbc-bench:

Original 3.10 kernel has a big big margin on tinymembench (about twice as fast as 5.0.0-rc5 with DVFS); 3.10 is 50% faster in OpenSSL and both kernels are tie on 7-zip (a bit faster 5.0.0-rc5).

Attached the kernel-config I used to build kernel as reference and dmesg.

 

*Ciao

Piero

linux-5.0.0-rc5-dmesg.txt

linux-odroidc1-next.config

Share this post


Link to post
Share on other sites
On 2/12/2019 at 11:19 AM, ottuzzi said:

Hi all,

 

   I wrote to amlogic mailing list and I got the tips to build a kernel with DVFS enabled on OdroidC1.

I redid some tests using sbc-bench:

Original 3.10 kernel has a big big margin on tinymembench (about twice as fast as 5.0.0-rc5 with DVFS); 3.10 is 50% faster in OpenSSL and both kernels are tie on 7-zip (a bit faster 5.0.0-rc5).

Attached the kernel-config I used to build kernel as reference and dmesg.

 

*Ciao

Piero

linux-5.0.0-rc5-dmesg.txt

linux-odroidc1-next.config

 

Wow really nice results! I wonder if the kernel supports the Armbian desktop variant or not.  Because http://linux-meson.com/doku.php states that there is no HDMI support, but there is 3d acceleration. Thank you for posting the kernel config, I will try to build the desktop variant in 1 or 2 days.

Share this post


Link to post
Share on other sites

Mh, I really don't know which of my parameters for the compile.sh are wrong, but no matter what I try the script always tells me that it tries to compile kernel 4.19.y

I downloaded the linux-odroidc1-next.config in the correct folder and ran ./compile.sh BOARD=odroidc1 BRANCH=next and also tried the parameter DESKTOP_BETA_TARGET="stretch:next" , but as you can see in the attached screenshot it tries to compile 4.19.y

Bildschirmfoto_2019-02-20_13-12-53.png

Share this post


Link to post
Share on other sites
(edited)

 Thanks for the latest mainline commits for the odroidc1 from Armbian and everyone in the amlogic Kernel Team, I'm delighted to update my odroidc1 to mainline.

I've taken the existing default 3.10 odroidc1 kernel config as a base and completed a kernel menuconfig with the same settings, using 5.0.y. I've then removed out anything I don't need. The network settings are carried over from the 3.10 settings, I don't know if this is correct but it works :) and gives similar sbc-bench results http://ix.io/1Id9 to Ottuzzi (change line 181 in the script). I can post the linux-odroidc1-next.config when I work that out?

Usb storage with uas, usb bluetooth csr8510 and docker are working, I've not tested usb wifi.

Edited by davidb

Share this post


Link to post
Share on other sites

I have the board working with usb bluetooth csr8510 etc, but only with no dvfs enabled. I guess my usb or dvfs settings are incorrect. I've tried various kernel settings and after a week of compiling I have to admit I'm stumped. Please find attached my working kernel config, with usb bluetooth but without dvfs.

With dvfs enabled as per Ottuzzi's config the bluetooth adapter gives tx time-out or connection errors that show up in dmesg.

I'm using the default bionic bluez v5.48 in both the working and non-working kernels, that leads me to think it's the usb or dvfs settings.

I compiled bluez v5.50 from source with no difference. If anyone has any ideas please share?

 

linux-odroidc1-next.config

Share this post


Link to post
Share on other sites
(edited)

Does DVFS works on the Armbian Bionic image available on the site?

I know it says "no DVFS, fixed CPU frequency", but maybe it's outdated as you guys were able to make it work and you were using kernel 5.0 and on the site it's 5.1 now.
I think I don't have enough knowledge to build it myself (without an updated step by step), that's why I'm asking.

Thanks.

 

Edit: Yes, it does.

Edited by alpe

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
3 3