Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 741|Reply: 1

Will vanilla Linux kernel work on Orange Pi Zero?

[Copy link]

1

Threads

1

Posts

11

Credits

Novice

Rank: 1

Credits
11
Post time 2018-11-1 23:41:24 | Show all posts |Read mode
Hi everybody!
I'm trying to build my own Linux for my Orange Pi Zero (Allwinner H2+).
So far I've found out that vanilla U-boot doesn't have a config for Pi zero, but one found on Xunlong's github does.

So I'm building Xunlong's U-boot for orange pi zero and install it on flash. Next, I build uImage from vanilla Linux source with load address 0x48000000 under sunxi_defconfig.
Then I uImage and compiled dtb for orange PI zero in the first partition, and create uEnv.txt with the following contents:
  1. bootargs=console=ttyS0,115200 disp.screen0_output_mode=EDID:1024x768p50 hdmi
  2. aload_script=fatload mmc 0 0x43000000 ${ftdfile};
  3. aload_kernel=fatload mmc 0 0x48000000 uImage;bootm 0x48000000 - 0x43000000;
  4. uenvcmd=run aload_script aload_kernel
Copy the Code



U-Boot starts normally, picks up uEnv, writes "Starting kernel ..." and then silence.

What is wrong? Does vanilla Linux support OrangePi Zero as of now? Is respective dts in linux sources correct and working?



8

Threads

613

Posts

4114

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4114
Post time 2018-11-3 04:41:04 | Show all posts
Peek here: https://github.com/armbian/build Vanilla + lots of patches.

Pure vanilla u-boot/kernel will lack functionalities but it should boot.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-9-17 14:20 GMT+8 , Processed in 0.032023 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list