LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   Orange Pi H3 support now available in -current (https://www.linuxquestions.org/questions/slackware-arm-108/orange-pi-h3-support-now-available-in-current-4175600523/)

drmozes 02-24-2017 12:50 PM

Orange Pi H3 support now available in -current
 
Hello!

ftp://ftp.arm.slackware.com/slackwar.../ChangeLog.txt

Penthux 02-24-2017 03:26 PM

Good news. Thanks Mozes.

ricky_cardo 02-24-2017 11:29 PM

Good job Mozes, I installed to the internal emmc on an Orange Pi Plus2. (planning to add a sata later once I splice in power to a 3.5 inch HD. using an old PC power supply)
>installed from USB connected media (after TFTP)
- just like you stated, on the first live system boot-up ,after install with the usb removed, I had to edit /etc/fstab and change root partition.
to mmcblk1p2 I think the installer wanted it to be mmcblk2p2.


had to use a remount command on the next boot then change up the /etc/fstab (changed all mmcblk2 to 1 example:"mmcblk2p1" to "mmcblk1p1"
Code:

mount -o rw,remount /
vim /etc/fstab
init 6



BEFORE:
Code:

rich@orange ~ $ cat /etc/fstab
/dev/mmcblk2p1  swap            swap        defaults        0  0
/dev/mmcblk2p2  /                ext4        defaults        1  1
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro,comment=x-gvfs-show 0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      defaults        0  0


AFTER:
Code:

rich@orange ~ $ cat /etc/fstab
/dev/mmcblk1p1  swap            swap        defaults        0  0
/dev/mmcblk1p2  /                ext4        defaults        1  1
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro,comment=x-gvfs-show 0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      defaults        0  0


Really nice work on the ethernet !!!

drmozes 02-25-2017 02:02 PM

Quote:

Originally Posted by ricky_cardo (Post 5675715)
Good job Mozes, I installed to the internal emmc on an Orange Pi Plus2. (planning to add a sata later once I splice in power to a 3.5 inch HD. using an old PC power supply)
[..]
had to use a remount command on the next boot then change up the /etc/fstab (changed all mmcblk2 to 1 example:"mmcblk2p1" to "mmcblk1p1"
Code:

mount -o rw,remount /
vim /etc/fstab
init 6


I don't see why that would happen. If you put the u-boot on to the SD card as described, then the order should be the same in the installer as it is when the newly installed OS boots.

ricky_cardo 02-26-2017 07:50 AM

I think this was the culprit:
I had a USBstick with the package tree connected all during setup then removed for 1st boot up. (to grab the package tree from usb rather than NFS) ((this was my plan from before the Ethernet was working)) (((now a non-issue, since Ethernet works)))

This was a good note too:
I see it is suggested to connect USB after the OS boots.

(the USB installer will not include # the package tree, just the installer image)) then you'd need to add the USB
# stick _after_ the OS has booted.


So just a user issue, good learning experience. - I didn't panic and had my towel near by ;)

drmozes 02-26-2017 09:14 AM

Quote:

Originally Posted by ricky_cardo (Post 5676215)
I think this was the culprit:
I had a USBstick with the package tree connected all during setup then removed for 1st boot up.

But USB is not mmc, it shows as a SCSI device (/dev/sdXX). Indeed I had the same problem as I had a USB stick left plugged in from developing the USB installer image, and had to edit the fstab from the rescue shell since the system would not boot (hence the note in the INSTALL file). If you had to change the mmc device then something unexpected has happened.

SCerovec 02-27-2017 12:43 PM

Good news (just looked up) :hattip:

SCerovec 04-13-2017 02:12 AM

I just found in a recent update:
Code:

# modinfo mali-dp
filename:      /lib/modules/4.10.0next20170224-armv7/kernel/drivers/gpu/drm/arm/mali-dp.ko.gz
license:        GPL v2
description:    ARM Mali DP DRM driver
author:        Liviu Dudau <Liviu.Dudau@arm.com>
alias:          of:N*T*Carm,mali-dp650C*
alias:          of:N*T*Carm,mali-dp650
alias:          of:N*T*Carm,mali-dp550C*
alias:          of:N*T*Carm,mali-dp550
alias:          of:N*T*Carm,mali-dp500C*
alias:          of:N*T*Carm,mali-dp500
depends:        drm,drm_kms_helper
intree:        Y
vermagic:      4.10.0next20170224-armv7 SMP mod_unload modversions ARMv7 p2v8

I wonder just how does that fit in the greater picture?
(It did load, but didn't spew anything in dmesg :( ?)

drmozes 04-16-2017 08:36 AM

Quote:

Originally Posted by SCerovec (Post 5696322)
I wonder just how does that fit in the greater picture?

It was presented during make oldconfig, so I included it. Nothing broke (that I'm aware of) and the story continues.

SCerovec 04-19-2017 04:56 AM

I hope soon we get the working /dev/fb0 too...

Currently it is present in the device tree, but it has the status of disabled?

drmozes 04-20-2017 03:34 AM

Quote:

Originally Posted by SCerovec (Post 5699057)
I hope soon we get the working /dev/fb0 too...

Currently it is present in the device tree, but it has the status of disabled?

I do not think that video works at all on the Orange Pi yet, at least in the kernel.org kernel. I have not checked for a while though.

SCerovec 04-21-2017 01:56 PM

Rest assured, where there a slightest doubt of it working in any "vanilla+single_patch" I would go all bells and whistles mode here as soon as possible (+/- a day or two) :^]

But, alas, there is only hope and patience on the horizon right now?
8:-J

Broder Tuck 05-12-2018 04:08 AM

I see from the ARM changelogs that the kernel in -current has been updated to 4.16.

Ethernet on H3-based Allwinner devices should then work out of the box.
Official HDMI support for H3 and related SoCs will not land until 4.17, but backports to 4.16 aren't too hard.

SCerovec 05-13-2018 06:08 AM

That is good news,

See you there when /dev/fb0 arrives in mainline (hopefully).

'Till then I'll wait HDMI-blind...


All times are GMT -5. The time now is 03:03 AM.