Manjaro Arm on the pineH64
#1
I got manjaro arm booting to a full DE (mate).  For the moment no sound and no wifi but everything else seems to work.  Didn't test if the usb3 port is working as usb2 or usb3.
  Reply
#2
Cool stuff, have you made any progress?
Are the folks at manjaro-arm going to add the H64 to their manjaro-arm-installer script?
  Reply
#3
I didn't have time yet to do further research. Especially because it was just during the change over from linux 5.3 to 5.4.
I had the necessary patches for linux5.3 to get wifi and hdmi-sound working so it shouldn't be a big deal.

I can provide you the packagebuild for U-boot for the h64. In fact it's just building the image for the A64 an remove u-boot from the project file and inject the u-boot for the H64 in the image. To get wifi and hdmi-sound working it's editing the dtb for the h64 and build a new dtb. You should then replace the old dtb with the new one.

I don't think they have the intention to make it official as nobody is interested in this.
  Reply
#4
Cheers, I was hoping that Manjaro would pick up on this as they do an excellent job with the image for the PinebookPro. But I think I rather wait for Armbian to get the eMMC support sorted, which is a bit flaky at the moment, and use their image.
  Reply
#5
Hi @roel, have you used Manjaro on the Pine H64 recently by any chance? How would I go about installing? Thanks for any help Smile
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server
  Reply
#6
@p1x3l3d

I didn't upgrade my kernel yet. Normally I should have some time next week to test a new kernel. Normally usb3 should work out of the box on the latest kernel. I don't know if the wifi bug is still there, the hdmi-sound is only enabling it in the dtb.
  Reply
#7
Okay, thanks! I'll see if can find some time to tinker about myself Smile
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server
  Reply
#8
I made a sourceforge page with my builds and modified files for manjaro-arm-tools:

https://sourceforge.net/projects/manjaro-arm-pineh64/

I made a post of it on the Manjaro-arm forum:

https://forum.manjaro.org/t/pineh64-mate-image/134606

It works from a micro-sd card, but I couldn't boot it from my odroid emmc. Maybe it works from the official pine64 emmc, but I don't have such a emmc module to test.

It runs from the 5.6 kernel, but I didn't implement the usb3 port and the wifi yet in the dtb. From the moment I have a dtb that does the job, I will add it to the sourceforge page.
  Reply
#9
Official manjaro-arm support fort the pineH64 is added to manjaro-arm-tools. So the only thing you have to do to build your PineH64 image is installing manjaro-arm-tools and the profiles and then running this command (build is approx 10 minutes):

sudo buildarmimg -d pine-h64 -e "your-favourite-de"

but change"your favorite DE" by one from the list with supported DE's:

─ cubocore
─ gnome
─ i3
─ kde-plasma
─ lxqt
─ mate
─ mate-fta
─ minimal
─ plasma-mobile
─ server
─ wayfire
─ xfce
  Reply
#10
First, many thanks for your effort in getting Manjaro up on the H64 and being added to the manjaro-arm-tools.

I was able to build an image and flashed it onto an eMMC Module, but the board won't boot from eMMC.
Attached is a copy of the serial output on UART.
Any advice on how to fix this issue?
Code:
U-Boot SPL 2020.04-1 (May 21 2020 - 19:41:22 +0000)
DRAM: 2048 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.3():6315154-dirty
NOTICE:  BL31: Built : 19:41:22, May 21 2020
NOTICE:  BL31: Detected Allwinner H6 SoC (1728)
NOTICE:  BL31: Found U-Boot DTB at 0xc07fe88, model: Pine H64
INFO:    ARM GICv2 driver initialized
INFO:    PMIC: Probing AXP805 on I2C
INFO:    PMIC: aldo1 voltage: 3.300V
INFO:    PMIC: aldo2 voltage: 3.300V
INFO:    PMIC: aldo3 voltage: 3.300V
INFO:    PMIC: bldo1 voltage: 1.800V
INFO:    PMIC: bldo2 voltage: 1.800V
INFO:    PMIC: bldo3 voltage: 1.800V
INFO:    PMIC: cldo1 voltage: 3.300V
INFO:    PMIC: dcdcd voltage: 0.960V
INFO:    PMIC: dcdce voltage: 1.200V
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
NOTICE:  PSCI: System suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9


U-Boot 2020.04-1 (May 21 2020 - 19:41:22 +0000) Manjaro ARM

CPU:   Allwinner H6 (SUN50I)
Model: Pine H64
DRAM:  2 GiB
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
Bus usb@5101000: USB EHCI 1.00
Bus usb@5101400: USB OHCI 1.0
Bus usb@5311000: USB EHCI 1.00
Bus usb@5311400: USB OHCI 1.0
scanning bus usb@5101000 for devices... 1 USB Device(s) found
scanning bus usb@5101400 for devices... 1 USB Device(s) found
scanning bus usb@5311000 for devices... 1 USB Device(s) found
scanning bus usb@5311400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
243 bytes read in 3 ms (79.1 KiB/s)
1:      Manjaro ARM
Retrieving file: /initramfs-linux.img
7886699 bytes read in 793 ms (9.5 MiB/s)
Retrieving file: /Image
27433472 bytes read in 2751 ms (9.5 MiB/s)
append: initrd=/initramfs-linux.img console=tty1 console=ttyS0,115200 root=LABEL=ROOT_MNJRO rw rootwait bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash
Retrieving file: /dtbs/allwinner/sun50i-h6-pine-h64-model-b.dtb
27071 bytes read in 7 ms (3.7 MiB/s)
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
   Loading Ramdisk to 4987a000, end 49fff76b ... OK
   Loading Device Tree to 0000000049870000, end 00000000498799be ... OK

Starting kernel ...

:: running early hook [udev]
Starting version 245.6-8-arch
:: running hook [udev]
:: Triggering uevents...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Manjaro update to Kernel 5.18 breaks install as365n4 5 5,667 07-03-2022, 04:02 AM
Last Post: as365n4

Forum Jump:


Users browsing this thread: 2 Guest(s)