[Freedombox-discuss] Patch: Freedom-Maker support for Lamobo R1

Florian Boor florian.boor at kernelconcepts.de
Fri May 17 12:12:51 BST 2019


Hi all,

hee is a little patch against Git master to add support for the Lamobo R1
(BananaPi R1).

It is tested and produces pretty well working SD card images with unstable.

I have noticed a few issues but these are not necessarily related to the device
 - realtek-firmware for wifi is missing (available but from non-free only)
 - USB storage devices get mounted automatically but do not show up in the
storage UI
 - Same for SATA devices. They show up after creating a fstab entry manually and
reboot of the box.


With buster I did not have much of luck so far:
Some systemd service fails after a while and we end up in an unusable emergency
state. See attached log.
maybe its related to Ethernet. The kernel support for the switch connected to
the A20 on that device used to be not that good. Systemd claims to have network
up but the DHCP server does not show activity.

Greetings

Florian


-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49(0) 271-338857-15
and the reality of tomorrow.		Fax: +49(0) 271-338857-29
[Robert Hutchings Goddard, 1904]        florian.boor at kernelconcepts.de
                                        http://www.kernelconcepts.de/en

kernel concepts GmbH
Hauptstraße 16
D-57074 Siegen
Geschäftsführer: Ole Reinhardt
HR Siegen, HR B 9613
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-building-Lamobo-R1-SD-card-images.patch
Type: text/x-patch
Size: 2718 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/freedombox-discuss/attachments/20190517/6af4510d/attachment.bin>
-------------- next part --------------
U-Boot 2019.01+dfsg-5 (Apr 19 2019 - 23:43:08 +0000) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Lamobo R1
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial
Out:   serial
Err:   serial
SCSI:  SATA link 0 timeout.
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:   eth0: ethernet at 1c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 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.scr
2909 bytes read in 8 ms (354.5 KiB/s)
## Executing script at 43100000
4370944 bytes read in 251 ms (16.6 MiB/s)
27905 bytes read in 13 ms (2 MiB/s)
20715922 bytes read in 1166 ms (16.9 MiB/s)
Booting Debian 4.19.0-4-armmp-lpae from mmc 0:1...
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Loading Ramdisk to 48c3e000, end 49fff992 ... OK
   Loading Device Tree to 48c34000, end 48c3dd00 ... OK

Starting kernel ...

[    0.005893] /cpus/cpu at 0 missing clock-frequency property
[    0.005924] /cpus/cpu at 1 missing clock-frequency property
[   17.060999] usb 4-1: firmware: failed to load rtlwifi/rtl8192cufw_TMSC.bin (-2)
[   17.068356] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   17.079477] usb 4-1: firmware: failed to load rtlwifi/rtl8192cufw.bin (-2)
[ TIME ] Timed out waiting for device ��c-0c8e-4d4a-9200-c495823dc416.
[DEPEND] Dependency failed for File…c-0c8e-4d4a-9200-c495823dc416.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Unattended Upgrades Shutdown.
[DEPEND] Dependency failed for Local File Systems.
[  OK  ] Closed Syslog Socket.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Network (Pre).
         Starting Raise network interfaces...
[  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
[  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
[  OK  ] Reached target Sockets.
[  OK  ] Started Emergency Shell.
[  OK  ] Reached target Emergency Mode.
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Timers.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.

Reloading system manager configuration
Starting default target
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.


More information about the Freedombox-discuss mailing list