OrangePi Lite 2

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

OrangePi Lite 2

Postby mikdmst » Fri Jul 19, 2019 7:48 pm

Hi! I have OrangePi Lite 2 with Allwinner H6 CPU
I used this manual from ArchWiki
https://wiki.archlinux.org/index.php/Orange_Pi
but have no monitor signal at boot..

I do this:

sudo dd if=/dev/zero of=/dev/sde bs=1M count=8
sudo fdisk /dev/sde # create new gpt linux partition /dev/sde1
mkfs.ext4 -O ^metadata_csum,^64bit /dev/sde1
sudo mount /dev/sde1 /mnt
wget http://archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
sudo bsdtar -xpf ArchLinuxARM-aarch64-latest.tar.gz -C /mnt/
# change the /mnt/boot/boot.cmd to
$this->bbcode_second_pass_code('', 'part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
setenv fdtfile allwinner/sun50i-h6-orangepi-lite2.dtb

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/Image; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi')
sudo mkimage -C none -A arm64 -T script -d /mnt/boot/boot.cmd /mnt/boot/boot.scr
sudo umount /mnt

git clone https://github.com/ARM-software/arm-trusted-firmware.git
git clone git://git.denx.de/u-boot.git
cd arm-trusted-firmware
make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sun50i_h6 DEBUG=1 -j4 bl31
cp build/sun50i_h6/debug/bl31.bin ../u-boot/
cd ../u-boot
git checkout tags/v2019.04
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j4 orangepi_lite2_defconfig
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j4
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sde bs=8k seek=1

...and monitor no signal
red led working
armbian-debian working

please help install archlinux on my orange pi lite2! :)
mikdmst
 
Posts: 1
Joined: Fri Jul 19, 2019 7:30 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 3 guests