Sorry for the late answer, but my free time is very limited.
To be honest, I used copy/paste of make script from @150balbes u-boot repo.
There is it:
#!/bin/bash
make distclean
export PATH=$PATH:/opt/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux/bin/
export PATH=$PATH:/opt/CodeSourcery/Sourcery_G++_Lite/bin
ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- make gxm_q201_v1_config
ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- make
And it's compiles without errors, but after uninstall gcc-arm-none-eabi
This is the end result:
Building board/amlogic/gxm_q201_v1/acs.bin
CC acs.c
AS acs_entry.S
PP acs.ld.S
LD /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/acs.elf
OD /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/acs.dump
BIN /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/acs.bin
Built /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/acs.bin successfully
DEPS /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/bl21.ld.d
DEPS /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/bl21_entrypoint.d
DEPS /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/timer.d
DEPS /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/serial.d
DEPS /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/bl21_main.d
Building board/amlogic/gxm_q201_v1/bl21.bin
CC bl21_main.c
CC serial.c
CC timer.c
AS bl21_entrypoint.S
PP bl21.ld.S
LD /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/bl21.elf
OD /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/bl21.dump
BIN /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/bl21.bin
Built /opt/Amlogic_u-boot/build/board/amlogic/gxm_q201_v1/firmware/bl21.bin successfully
CPP user_task.lds
CPP task_entry.s
CC task_entry.o
CC user_task.o
CPP misc.s
CC misc.o
CC uart.o
CC suspend.o
CC dvfs.o
CC lib/string.o
CC lib/delay.o
LD /opt/Amlogic_u-boot/build/scp_task/bl301.out
OBJDUMP /opt/Amlogic_u-boot/build/scp_task/bl301.dis
OBJCOPY /opt/Amlogic_u-boot/build/scp_task/bl301.bin
9848+0 records in
9848+0 records out
9848 bytes (9.8 kB, 9.6 KiB) copied, 0.0149399 s, 659 kB/s
3764+0 records in
3764+0 records out
3764 bytes (3.8 kB, 3.7 KiB) copied, 0.00593117 s, 635 kB/s
Amlogic img found, use new FIP structure!
Creating "../fip/gxl/fip.bin"
Firmware Image Package ToC:
---------------------------
- SCP Firmware BL3-0: offset=0x4000, size=0xD400
- EL3 Runtime Firmware BL3-1: offset=0x14000, size=0x140D0
- Non-Trusted Firmware BL3-3: offset=0x2C000, size=0xA7F38
---------------------------
ACS tool process done.
11840+0 records in
11840+0 records out
11840 bytes (12 kB, 12 KiB) copied, 0.0181297 s, 653 kB/s
5825+0 records in
5825+0 records out
5825 bytes (5.8 kB, 5.7 KiB) copied, 0.00897931 s, 649 kB/s
../fip/gxl/u-boot.bin build done!
Finally have some free time to solder pins to GT1 UART and boot compiled Armbian image.
It boots, but no ethernet connection, The LAN chip is the same as odroid c2 - Realtek RTL8211F Gigabit Ethernet
This is boot log:
http://pastebin.com/XVJFq8Rn
Finally have some free time to solder pins to GT1 UART and boot compiled Armbian image.
It boots, but no ethernet connection, The LAN chip is the same as odroid c2 - Realtek RTL8211F Gigabit Ethernet
This is boot log:
http://pastebin.com/XVJFq8Rn
HI,
This is a img with vanilla kernel: Armbian_5.17_Orangepipc_Debian_jessie_4.7.2
(Link removed. There is a oficial Armbian beta images: http://image.armbian.com/betaimages/ )
After a year collecting dust my Orange Pi PC is finaly in biznes with tvheadend install.
And a can say it is working better then my current RPI2 setup.
OPI PC, Geniatech Mygica T230 DVB-T2, tvheadend 4.0.9-12