Yeah it must be patches in 9legacy.... because pulling the bcm from contrib and using that does not alone fix the kernel. 

Interestingly, I can get a kernel to boot in a raspi1ap emulated image, but it faults on what I presume is the jump to userland, resets, and auto-boots the kernel again in an infinite loop. I cannot get raspi2b to boot at all (same deadlock as before). 

The thing about 9legacy is I'm not sure what patches to pull and what is or isn't stable.... do you have any recommendations?

Thanks again,
D


On Fri, Sep 1, 2023 at 3:38 PM Richard Miller <9fans@hamnavoe.com> wrote:
> Based on the diffs you supplied, it looks like my bcm
> sources (from the latest r4 ISO) are not the same as yours. I don't use
> 9front. What is the best way to make sure my bcm (and 9) kernel trees are
> the same as your current tree?

A lot has changed in the bcm kernel since the 4th edition ISO, because
of the release of newer Raspberry Pi models.  Current source is in
contrib/miller/9/bcm - just copy those files into /sys/src/9/bcm (or use
the 9legacy ISO instead, which is kept up to date and has other useful
patches too).


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T5da5467097e4eab2-Me83a2442fc4a034b67c85cec
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription