Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to make dtb file? #1

Closed
jamesarch opened this issue Jan 22, 2021 · 6 comments
Closed

how to make dtb file? #1

jamesarch opened this issue Jan 22, 2021 · 6 comments

Comments

@jamesarch
Copy link

my laptop is MacBook Air (M1, 2020) Code name is j313 ,and i have use linux.macho to boot linux image have issue stock message
Loader complete, relocating kernel...

so i think maybe wrong model? so i try build latest linux.macho but i can't make like this apple-m1-j274.dts

now i have found DeviceTree.j313ap.im4p in
/System/Volumes/Preboot/6E86E53B-47E3-4E34-A38D-E78C4BC62F6D/restore/Firmware/all_flash
how to convert to dts?

Thank you for your hard work

@jamesarch jamesarch changed the title how to make dtd file? how to make dtb file? Jan 22, 2021
@leeehui
Copy link

leeehui commented Jan 22, 2021

it seems currently Air is not supported ?

@leeehui
Copy link

leeehui commented Jan 22, 2021

@jamesarch
maybe try this
https://github.com/Shizmob/img4.git

@jamesarch
Copy link
Author

@jamesarch
maybe try this
https://github.com/Shizmob/img4.git
😂 ok i just watch this video found this tools thanks

PS:how to compile linux-m1 kernel? just run make??

@leeehui
Copy link

leeehui commented Jan 22, 2021

I haven't tried it yet, try the following cmds:
ARCH=arm64
CROSS_COMPILE=your cross compiler path/aarch64-linux-gnu-
make defconfig
make menuconfig --> find platform configuration and enable Apple platform
make -j your core numbers

@jamesarch
Copy link
Author

I haven't tried it yet, try the following cmds:
ARCH=arm64
CROSS_COMPILE=your cross compiler path/aarch64-linux-gnu-
make defconfig
make menuconfig --> find platform configuration and enable Apple platform
make -j your core numbers

ok thanks

@leeehui
Copy link

leeehui commented Jan 23, 2021

@jamesarch
How you boot linux.macho?
more specifically, where did you execute the following command? 1TR or MacOS ? I got parameter error on MacOS
kmutil configure-boot -c test.macho -v /Volumes/Macintosh HD/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants