tbcdns Posted March 4, 2017 Posted March 4, 2017 Hi, I have a clearfogbase board. I successfully installed armbian (4.4.45 upgraded to 4.4.51). Most of the components are working fine (SFP, intel 7260 wifi...), however I think I am using the dtb file of the clearfog pro, the second ethernet port is not working: [ 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.4.51-mvebu (root@devel) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #5 SMP Thu Feb 23 21:02:25 CET 2017 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=50c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: SolidRun Clearfog Pro A1 [ 0.000000] Malformed early option 'loglevel' [ 0.000000] cma: Reserved 16 MiB at 0x3f000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] free_area_init_node: node 0, pgdat c0b983c0, node_mem_map ef6f8000 [ 0.000000] Normal zone: 1728 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:31 [ 0.000000] HighMem zone: 65536 pages, LIFO batch:15 [ 0.000000] PERCPU: Embedded 366 pages/cpu @ef3fa000 s1467312 r8192 d23632 u1499136 [ 0.000000] pcpu-alloc: s1467312 r8192 d23632 u1499136 alloc=366*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260416 [ 0.000000] Kernel command line: selinux=0 cgroup_disable=memory scandelay root=/dev/mmcblk0p1 rw rootfstype=ext4 console=ttyS0,115200 loglevel=${verbosity} rootwait ... [ 2.886555] mvneta f1030000.ethernet eth1: [0]: could not detect attached switch [ 2.886560] mvneta f1030000.ethernet eth1: [0]: couldn't create dsa switch instance (error -22) I tried to update /boot/armbianEnv.txt and /boot/boot.cmd to specify the armada-388-clearfog-base dtb file, without success. How could I load the correct dtb, should I re-compile u-boot? Thanks
zador.blood.stained Posted March 4, 2017 Posted March 4, 2017 Can you get u-boot log from microUSB console? Kernel command line looks incomplete for some reason, and "fdtfile" value should come from u-boot compile-time configuration.
zador.blood.stained Posted March 4, 2017 Posted March 4, 2017 Just installed and updated a fresh Xenial/default image. Works fine out of the box root@clearfogbase:~# cat /proc/device-tree/model ; echo SolidRun Clearfog Base A1 root@clearfogbase:~# dpkg -l | grep linux-u-boot ii linux-u-boot-clearfogbase-default 5.25 armhf Uboot loader 2013.01 root@clearfogbase:~#
Recommended Posts