9legacy has been updated with pi5 support. Patches are on 9legacy.org, also 
applied
on the 2 May CD image, and there is a new SD card image which will boot on pi5.

The relevant patches are
  arm64-toolchain
  arm64-libs
  replica-proto-arm64
  9-port-64bit
  9-bcm64
  9-bcm64-todget

There are a few more new patches which will be useful on all Raspberry Pi models
  bcm-uartpl011
  9-bcm-20260423-fixes

and some which are applicable to all platforms
  9-concurrency
  9-boot-service
  9-boot-usbdevs
  9-fpnote-update
  9-tcp-recovery

A few words about the 9-port-64bit patch. The portable part of the kernel was
64-bit ready to some extent. I've pushed it sufficiently farther towards 64-bit
so the bcm64 kernel compiles cleanly, but not so far that any of the existing
32-bit kernels require any code to be changed. Two simplifying assumptions make
this possible: that user processes continue to fit in a 4GB address space, and
that the kernel malloc space won't need more than 4GB. (Physical memory can be
as big as you like.) This doesn't seem too great a limitation on a single-user
desktop machine; for "big iron" a further extension would be warranted.

Most of the changes are simple edits of s/ulong/uintptr/ which makes no semantic
difference on a 32-bit platform. More significant changes were made only where
needed to allow 32-bit user processes to run on a 64-bit kernel: adjusting 
argument
sizes in syscall(), and allowing for different argv pointer sizes in sysexec()
when a 32-bit process execs a 64-bit process or vice versa.


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7db02c9c4602d6f1-Ma1eb45e057d46129013c19aa
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to