Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Does anyone achieved 32 bit userspace image for 64 bit board(and kernel)

Featured Replies

Hi, I am trying to get an armhf mainline image for rk3399 and another one for other amlogic socs (s9xx) to test panfrost and lima properly. Many propietary binaries/libs are armhf, also many dynarec are armhf only alongside box86 emulator. Ive tried several attempts with no success to boot. Chroots have been useful for now.. but aren't that friendly, also, multiarch its not that great on arm, mesa 32 and 64 goes in conflict all the time.

 

 

ive read an old post about this topic. Essentially it said you need to create an image for a 32 bit board and replace the uboot and kernel, also, set the proper dtb.. ive tried several times, also edited other stuff on /etc to set the arm64 kernel.. but it doesnt boot.

On 3/3/2020 at 1:23 AM, lanefu said:

Ive had decent luck with armhf docker containers on 64bit in the past. Might want to look into that

 

Do you mean

apt install docker-ce:armhf

 

or something else?

 

Related, but most wanted question - Can we start two docker servers with two archs? for example:
unix:///var/run/docker-armv7l.sock - socket for dockerd instance with arm arch

unix:///var/run/docker-arm64.sock - socket for another dockerd instance with arm64 arch

 

It is possible but ARMBIAN doesn't support this :-( (status of 2020-09)

Ubuntu on Odroid C2 or ARM instances runing Ubuntu in Amazon AWS cloud support that. This is the trick:

sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install libc6:armhf libstdc++6:armhf

Problem is that Armbian doesn't support armhf architecture (no packages in the repository).

 

Well that is just one part of the problem. Other part is that ARM CPU has to support "armhf" instructions. Most of these low end CPUs used on SBCs support "armhf" but there are ARM chips for datacentres those support only "aach64".

 

I am not sure but I think that kernel should should have support for "armhf" too.

 

This topic is often discussed in Boinc community because most Boinc projects supports only "armhf" and have no tasks  for "aarch64". It is interesting, it is 2020 and there are many arm64 computers in the world, arm64 code delivers better performance than "armhf" but Boinc projects ignore "arm64". Maybe it is because Raspbian for RPI was 32-bit OS and most SBCs in the World are RPI computers. On the other side, most devices running Android are 32-bit too.

 

From my point of view, it is an issue that Armbian doesn't support "armhf" architecture.

 

Edited by PSL

8 hours ago, PSL said:

From my point of view, it is an issue that Armbian doesn't support "armhf" architecture.


Its about having 32bit user land on 64bit board. Which is useful in some corner cases. We didn't get there to cover that even there were some initiatives years ago: https://github.com/armbian/build/issues/645

 

RPi is different in this since its by design a proprietary video player where its possible to run Linux. Which is why there were many complications how to boot its proprietary OS in 32bit while ARM cores in 64bit ...


Armbian provides 64bit Linux since first 64bit board support. I think that was in 2016 with Odroid C2 followed by Allwinner A64 boards.

 

8 hours ago, PSL said:

Problem is that Armbian doesn't support armhf architecture (no packages in the repository).


Please check your claims next time.
https://docs.armbian.com/#what-is-armbian

 

8 hours ago, PSL said:

arm64 code delivers better performance


That is also just a myth.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.