Repository navigation
Replies: 1 comment
|
Follow-up, after testing both paths on the J713: the bundled DTB works, so the per-kernel import is optional, not required. I built Stage 2 the way Omarchy's packages compose it, with
I then booted the kernel without a One fix was needed for that: aurora-silicon/m1n1#48.
Two notes for whoever packages the J713:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
U-Boot's J713 support (
arch/arm/mach-apple/j713_fdt.c, documented indoc/board/apple/m1.rstunder "Per-kernel J713 device trees") lets a kernel boot its own DTB (a systemd-bootdevicetreeline, or a UKI's.dtb). U-Boot copies this boot's runtime data into it:The OS tree has to opt in with
/chosen/u-boot,j713-dtb-source = "<40-hex source commit>". Nothing inintegration/auroraproduces that: no DTS sets it, and no DTB build step stamps it. As far as I can find, no aurora packaging does either.What happens without it: U-Boot treats the tree as legacy and boots it as built. It has no framebuffer, no ANS handoff, no firmware reservations and no CPU release slots. On our J713 that was a watchdog reset with no logs.
How we work around it: our test kernels on a J713 (#429/#432/#434/#437/#439) all boot their own DTB. A staging script decompiles each one, inserts the marker with the kernel's commit hash, and recompiles it. That's how the AOP work was tested.
The alternative is the default path: no
devicetreeline. EFI then hands the kernel the control DTB bundled with m1n1 inboot.bin, with U-Boot's fixups. That needs no marker, but every kernel then runs on whatever DTB was bundled intoboot.bin. New hardware descriptions (the AOP and audio nodes in #434–#439, for example) only reach a kernel once someone rebuildsboot.binwith an updated control DTB. m1n1'sdocs/j713.mdalready lists what that control DTB must contain; aurora-silicon/m1n1#47 adds the AOP node.Question: which is the intended J713 flow?
u-boot,j713-dtb-sourcefrom the source commit, as U-Boot's docs describe. I can send a patch for whichever place you prefer.boot.binDTB. Then the control DTB should be regenerated from the current J713 DTS whenever the platform descriptions change, and the per-kernel path is just for development.For reference: m1n1 aurora-wip
cda8314d+ #47, U-Boot6c1d2d14+ u-boot#13, kernelintegration/aurora420a1c8f+ the J713 series.All reactions