View: 4062|Reply: 1

Will vanilla Linux kernel work on Orange Pi Zero?

[Copy link]

1

threads

1

posts

11

credits

Novice

Rank: 1

credits
11
Published in 2018-11-1 23:41:24 | Show all floors |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 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?



9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2018-11-3 04:41:04 | Show all floors
Peek here: https://github.com/armbian/build Vanilla + lots of patches.

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

Points Rule

Quick reply Top Return list