Armbian Buster 10.2 for Lamobo R1 (+ docker version) - 2019-12-23

Updates installed on: 2019-12-23

I provide a new, clean image of Armbian Buster.

Features:

  • eth0 is set to DHCP in /etc/network/interfaces.
  • wlan0 isn’t configured.
  • Cleaned up /etc/network directory
  • Cleaned up old configs, such as /etc/dnsmasq.conf.orig etc.

Removed:

  • Network Manager
  • DNSmasq
  • HostAPD
  • unattended-upgrades

Kepted back:

  • Armbian-firmware
  • Some next-packages, otherwise it breaks installation

Download link: http://www.mediafire.com/file/4sau5p7tckrmmao/2019-12-23-Armbian-Buster-10.2-lamobo-r1.img.zip/file

Download link (Docker version): http://www.mediafire.com/file/827idy1u8b03wez/2019-12-23-Armbian-Buster-10.2-lamobo-r1_docker.img.zip/file

Thank you… I will test it this week :wink:
f.

Hello,
I have started test this image … update :
kernel 4.19 in next-sunxi ended with a terrible kernel crash around 30min uptime
-> this is not a way :wink:
kernel 5.3 in testing … it is current-sunxi.

I will provide you update in next 2 days … I need to test stability of kernel 5.3.
journalctl --priority 3 is almost clean …

f.

How I clean this image :

Removed unconfigured packages :

dpkg -l | grep -v ^ii
apt --purge remove $(dpkg -l | awk '/^rc/{print $2}' | tr '\n' ' ')

Removed obsolete packages :

aptitude search '~o'
apt --purge remove $(aptitude search '~o' | grep -v 'linux-' | sed 's/...//' | awk '{print $1}' | tr '\n' ' ')

apt autoremove

Install SSH taskel

tasksel install ssh-server

Repeating for obsolete pakcages/autoremoves

dpkg -l | grep -v ^ii
apt --purge remove $(dpkg -l | awk '/^rc/{print $2}' | tr '\n' ' ')

Hold package again

apt-mark hold armbian-firmware linux-dtb-next-sunxi linux-headers-next-sunxi linux-image-next-sunxi

remove jessie scripts etc …

apt --purge remove linux-jessie-root-next-lamobo-r1

I will provide info how to update kernel/fw/uboot later

f.

That’s the same problem I had with updating the kernel.

Thanks for providing info, but I have one question to you: Why do you install SSH server with tasksel? It’s built into the Armbian image, so I think no need to do that. The second thing about removing jessie scripts: I need to find out (maybe with you) which packages are needed and not needed. Maybe there’s in the future a new really clean image with an updated kernel.

Thank you!

mhog

Hi mhog,
I have only bananapi-R1 … no other HW from this AllWiner family… then I am able to test only R1.

Tasksel :

I want to be sure the openssh server is installed with all dependencies. Debian is little bit new for me, I used Debian before 10+ years :smiley: It is possible this step is useless, but for sure :wink: If you want to move next :
apt install armbian-firmware linux-dtb-current-sunxi linux-headers-current-sunxi linux-image-current-sunxi

Without uboot created to current is still old “next” kernel used. And there is a armbian problem, linux-u-boot-current-bananapi_19.11.3_armhf.deb has a bad singature/size as is reported in repo. You need it download it manually with wget, or curl :

wget https://apt.armbian.com/pool/main/l/linux-u-boot-bananapi-current/linux-u-boot-current-bananapi_19.11.3_armhf.deb

apt install /pathtopackage/linux-u-boot-current-bananapi_19.11.3_armhf.deb
Then u-boot for NEXT kernel is removed…
After reboot you are able to remove :
apt --purge remove linux-dtb-next-sunxi linux-headers-next-sunxi linux-image-next-sunxi

Please install hostapd-realtek instead of hostapd

Last note … your image missing configuration for ondemand cpu governor. Please add
nano /etc/default/cpufrequtils

    with :   
    ENABLE="true"
    GOVERNOR="ondemand"
    MAX_SPEED="0"
    MIN_SPEED="0"

Thanks I will make a new image in the next few days!

Do you want to test my image with kernel 4.19.62? It’s working now… Armbian-config included and cleaned up packages as you stated in other comments.

Edit: For one reason Armbian has changed the swappiness to 100. I set it to 0 again. Then it only swaps when needed. Link to (new) image:

http://www.mediafire.com/file/dhrx8tl3a19rvaw/Armbian-Buster-lamobo-r1-latest.zip/file

I’ve had a kernel crash too with this one too. But that was not after half an hour but after a few hours. Maybe we should make some other image than Armbian?

Armbian is not a problem. Your approach is.

  • clean Debian kernel is few years behind Armbian. Not using Armbian kernel is shooting into the foot. If there would be fixes it would be implemented into the Armbian kernel years ago.
  • if you would read what people before you discovered you would not waste time with irrelevant things in user space. Change Armbian for Debian or Ubuntu or OpenWRT or Arch or whatever will lead into the same problem which is somewhere in the area where kernel talks with hardware. In most cases this is the one and only implementation of those two critical components:
  • switch chip
  • wireless

Both are at most cheap and are not well supported in Linux kernel. Armbian only apply fixes to that implementation, but if the core is totally fucked up, its hard to fix or represent serious investment which is out of the question to cover.

Since I don’t pay attention anymore, things could be better, but certainly not in kernel 4.19.y or around. And certainly not in a kernel that comes with a generic distribution such as Debian. Stop wasting time and start reading where people left and understand the reason why Armbian community (!!!) which is nothing else but Debian for ARM, same folks, just dealing with ARM boards and contribute to the same code … does not waste time for this hardware anymore

… if you want to do some progress. Sorry for being harsh.

I think you’re right. I will stop imaging. I hope we have some better Linux images in the future… It’s a shame. It’s difficult to program because of the ethernet switch. It’s not physicially seperated, that’s a huge problem. The swconfig disappeared in new distributions, that’s a problem too. Maybe I can find another way and image that. Thank you for your command!

By the way: Is there any good documentation for developing your own image for BPi-R1? I couldn’t find it, except how to write an image and about hardware. This is the link I found: http://wiki.banana-pi.org/Getting_Started_with_R1

Have a nice day!

mhog

Maybe not for developing, this you find on https://docs.armbian.com/Developer-Guide_Build-Preparation/

Specific to R1, go for this link: Configuration with DSA for b53125, in the Doc

And here, my journey to this document: https://forum.armbian.com/topic/3476-bpi-r1-with-new-b53-switch-driver-dsa/

Thank you! I will take a look at the links you send!

Hi Tido,
this was first what I read :wink: Your document and armbian forum about R1 was a first place what I studied for a long time before I started try to use debian like OS on my BPI-R1. This documents, kernel documentation for dsa switch with this chipset and networking/dsa/dsa.txt from kernel, etc …
Igor is right with this HW, by his unpolite way :wink: But my expectation about OS installed on R1 seems to be different as for others. I don’t want to use wifi/AP, or switch extended function. I wan’t to keep switch as a ‘non managed in one vlan’ with port8/eth0 enabled. What I want is stable kernel running on HDD with some IOT and ansible scripts with a lot of logs :wink: Then there can be way to use old kernel with disabled features. Or not. This and short support cycle of Fedora are a main reasons why I am trying to use Debina/Armbian.
f.