Hi,
I have an Orange Pi Zero (256MB) board. I downloaded the prebuilt image named as "Armbian_5.25_Orangepizero_Ubuntu_xenial_default_3.4.113.img" and used it without a problem.
Then I cloned the project from github and cross compiled on an Ubuntu 16.04 computer (4.4.0-31-generic kernel) by using the "compile.sh" script. It created an image named as "Armbian_5.27_Orangepizero_Ubuntu_xenial_default_3.4.113.img". But this image halts after printing "ion_reserve_common: ion reserve: [0x47e00000, 0x50000000]!". You may find the log at the end of this post.
I compiled the same project (5.27) with development kernel. It created the image named as "Armbian_5.27_Orangepizero_Ubuntu_xenial_dev_4.11.0.img". This one boots up ok but doesn't have wlan0 interface. Besides it's a development version and I'm not sure whether it is stable enough. By the way, it didn't have eth0 last week as well. I think someone has fixed it.
I downloaded and compiled 5.20 release version of the project but it ended up with the same 5.27 version image. I think script always updates to the latest version of the project.
I have some questions in my mind:
1. Is there a way to compile older releases with the "compile.sh" script. v5.25 seems ok but I couldn't compile other than 5.27?
2. What is the solution for halting after "ion_reserve..." line?
3. Is there a way to restore wlan0 on development kernel?
Kind Regards,
Selcuk
>>>>>>>
Log captured while running "Armbian_5.27_Orangepizero_Ubuntu_xenial_default_3.4.113.img" image on Orange Pi Zero:
U-Boot SPL 2017.03-armbian (May 07 2017 - 19:31:16)
DRAM: 256 MiB
Trying to boot from MMC1
U-Boot 2017.03-armbian (May 07 2017 - 19:31:16 +0300) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
DRAM: 256 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
Setting up a 720x576i composite-pal console (overscan 32x20)
Error: no valid bmp image at 66000000
In: serial
Out: vga
Err: vga
Net: phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot: 0
38518 bytes read in 149 ms (252 KiB/s)
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3550 bytes read in 200 ms (16.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
115 bytes read in 160 ms (0 Bytes/s)
5158440 bytes read in 667 ms (7.4 MiB/s)
4756408 bytes read in 656 ms (6.9 MiB/s)
Found legacy kernel configuration
35384 bytes read in 531 ms (64.5 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5158376 Bytes = 4.9 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 49a48000, end 49f335e8 ... OK
Starting kernel ...
[sun8i_fixup]: From boot, get meminfo:
Start: 0x40000000
Size: 256MB
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
ion_reserve_select: ion chipid [0x2c00042!
ion_reserve_common: ion reserve: [0x47e00000, 0x50000000]!