Jump to content

ottuzzi

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by ottuzzi

  1. Hi there, my odroidc1 somehow died last month after updating to 5.3 test kernel so I decided to build new images from scratch starting from master. I did not touch any configuration and I choose to build the classical server image. Debian Buster boot but I cannot get any network Ubuntu 18.04 does not even boot with a u-boot error (see below) Ubuntu 19.10 does not even boot with a u-boot error (see below) Here it is the u-boot log of Ubuntu images: Does anyone have an idea on what is the problem and how to fix it? Thanks in advance *Ciao Piero
  2. Hi, my rpi 4 with 4GB ram is now on my desk but I cannot find armbian for it: looking at github build repo I do not see any file regarding raspberry pi in general. So... is anyone interested to help me to work on it? Is there an armbian interest in having a Raspberry PI build? Why historically I cannot see any sign of interested in those boards? Please... I know of all of their HW limitations... but they sell millions of boards each year... it is clear that some million people out there find them useful so we (as community) should to deliver an armbian build for this SBC. Any thought? Any starting point? *Ciao Piero
  3. Hi, while toying around build system for Odroid C1 I saw that toolchains for arm-linux-gnueabihf where "old" as we are at "gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf" since the 7.3.1 looks like it is not available for this platform. So I did some changes in lib/general.sh and added the following as a fast hack: "https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/arm-linux-gnueabihf/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf.tar.xz" "https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-2019.01/gcc-arm-8.2-2019.01-x86_64-arm-linux-gnueabihf.tar.xz" Then I modified the configuration files for odroidc1 to test both toolchains (namely config/sources/odroidc1.conf) and I produced working images with both toolchains. Personally (but without any scientific approach) I saw: 7.4.1 it looked like very slow to compile... maybe my system was busy doing other things maybe not 8.2 produced a smaller kernel (with same .config) and its speed was acceptable Is there a reason that arm-linux-gnueabihf is stil at 7.2.1 (2017.11)? Thanks in advance *Bye Piero
  4. 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 Odroid Ubuntu 16.04 with 3.10 kernel (1824MHz): http://ix.io/1zdB Armbian 5.74 with 5.0.0-rc5 kernel (1200MHz NO DVFS): http://ix.io/1ApT Armbian 5.75 with 5.0.0-rc5 kernel (1536MHz DVFS): http://ix.io/1APH 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
  5. 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
  6. Hi again, I run sbc-bench on both 5.0 kernel and original 3.10: results for the new kernel seem very disappointing. Does anyone have a clue? kernel 5.0 kernel 3.10 For sure cpu frequency is fixed in the newer kernel. *Ciao Piero
  7. Hi, for your reference, here you can find the kernel config and source config for Odroid C1 pointing to latest amlogic mainline kernel. I'm testing this kernel as it contains many fixes for the problems listed on Odroid C1 download page: serial console only (don't really know... I'll check tonight this one) no DVFS, fixed CPU frequency (latest fixes should handle this one...going to test it tonight at home) no USB hotplugging, power the board with USB device is needed (latest fixes should handle this one...going to test it tonight at home) eMMC not supported (do not have an eMMC to test) reboot doesn’t bring up the board, you need to power cycle. (with this it can reboot properly) Good luck and let us know :) **Bye Piero linux-odroidc1-dev.config odroidc1.conf
  8. Hi, toying around with Odroid C1 kernel compilation and trying new kernels (both 5.0-rc2 and the mainline amlogic kernel) there are some patches that do no apply correctly. Both general-packaging-4.17-next.patch and general-increasing_DMA_block_memory_allocation_to_2048.patch apply correctly if I remove the part of the patch referring arm64 architecture: is this fine? For sure Odroid C1 is a 32-bit SBC.. does anyone knows why there are references for arm64? If you agree I can create a pull request to remove those lines... Thanks **Bye Piero
  9. Hi, thanks for the offer but I'm not of of those that can take a task for too long before getting bored and get distracted by something else. For sure, now that my odroid C1 is running armbian, you'll probably see me around here for the time being Many thanks for your work!!! Bye Piero
  10. Hi all, I bisected the issue and I finally found the commit breaking odroidc1: 73341048187f4e9698c8f42b7c3ee022e19ef0b0 Do not ask me why (should not have such an impact) but this is the issue. If someone can revert the change for odroidc1-next I would be glad to test it During my test I found odroidc1 working fine with latest 4.19.17 kernel with only the 250hz change reverted. **Bye Piero
  11. Hi all again, after a whole day compiling and running new images I found something strange: Armbian_5.59_Odroidc1_Debian_stretch_next_4.18.1.img boot fine and network is ok Armbian_5.72_Odroidc1_Debian_stretch_next_4.18.1.img boot fine but eth0 is not working So please note that I simply created a new image with current armbian master but with the working 4.18.1 kernel: from my point of view it looks like it is not a kernel problem as I thought until few minutes ago How can we spot the breaking change in armbian master? Does anyone have an idea? Attached you can find boot log of Armbian_5.72_Odroidc1_Debian_stretch_next_4.18.1.img Thanks in advance Bye Piero Armbian_5.72_Odroidc1_Debian_stretch_next_4.18.1.txt
  12. Hi, finally I got serial access console and attached you can find boot logs. A small recap: Armbian_5.59_Odroidc1_Debian_stretch_next_4.18.1.img boot fine and network is ok Armbian_5.72_Odroidc1_Debian_stretch_next_4.19.16.img (compiled in Vagrant environment) boot fine but there is no network I see the culprit is probably this one: [ 14.853086] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 14.853367] meson8b-dwmac c9410000.ethernet eth0: device MAC address b6:e8:26:b6:da:4a [ 14.853378] meson8b-dwmac c9410000.ethernet eth0: Could not attach to PHY [ 14.853386] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) [ 15.064433] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.084471] meson8b-dwmac c9410000.ethernet eth0: Could not attach to PHY [ 15.084486] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) [ 15.193033] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.225926] meson8b-dwmac c9410000.ethernet eth0: Could not attach to PHY [ 15.225958] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) [ 15.239227] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.293190] meson8b-dwmac c9410000.ethernet eth0: Could not attach to PHY [ 15.293213] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) [ 15.306038] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.352091] meson8b-dwmac c9410000.ethernet eth0: Could not attach to PHY [ 15.352111] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) [ 15.370056] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Does anybody have an idea? Thanks in advance Bye Piero Armbian_5.59_Odroidc1_Debian_stretch_next_4.18.1.txt Armbian_5.72_Odroidc1_Debian_stretch_next_4.19.16.txt
  13. Hi all, thanks for all responses You showed me many UART adapter and looking for them in amazon.it I can find them for an affordable price (less than 10€): I'm ordering one of them and I'll come back here with something more useful. Thanks Piero
  14. Hi, I cannot find one for less than 30€ delivered at home (Italy)... with some more money I can buy a NanoPi Neo4 or some other supported board
  15. Hi all, new armbian user and old Odroid C1 user here :) After seeing some mainline development on Odroid C1 I started tinkering with armbian build system. Actually I tried building latest armbian master (Armbian_5.71_Odroidc1_Debian_stretch_next_4.19.15.img) and Odroid C1 is not booting (well... it is probably booting... more details later :)). Same SD with latest release from armbian developers (Armbian_5.59_Odroidc1_Debian_stretch_next_4.18.1.img) is indeed working fine. This is observed behaviour with Armbian_5.71_Odroidc1_Debian_stretch_next_4.19.15.img: all lights on SBC blink as expected network plug light blinks as expected attached USB HD lights blink (so it seems it is read) and I clearly hear HDD heads moving around no network is accessible (my router is not giving a new IP :() So... from what I can see and observe the image built on my system (using provided Vagrant file) is booting but I cannot access it using network. I do not have a UART cable to inspect console :( Can anyone give me some hints? Meson 8b support by mainline is a very welcome news and kernel 4.19 and 4.20 show some big improvements. FYI I tried even to compile 4.20 and 5.0-rc1 (changing conf files and some patches) but result is always the same: booting (probably) but no network via dhcp. I can provide build logs but, from my eyes, nothing wrong is happening (kernel patching is ok, build is ok, no warning and no erroors). Hope you can understand my willing to help and my need for help and hints to fix it :) Thanks fro your work Bye Piero
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines