Jump to content

Kernel 6.2 (HDMI USB LAN etc) for OPI5


balbes150

Recommended Posts

On 3/28/2023 at 8:39 PM, balbes150 said:

Enabled by default in u-boot NVMe. For SATA,  need to build the u-boot separately. I don't have any testing equipment. If there is someone willing to take a risk and check how the option for SATA in MTD will work, I can try to build it, but there will be no guarantees.

Hi @balbes150 I have SSD SATA im willing to test this if you can build it

Link to comment
Share on other sites

Ver 20230713-edge kernel 6.4.3

 

Ver 20230714-edge kernel 6.5-rc1

 

user@192.168.1.17's password: 
  ___  ____  _   ____  
 / _ \|  _ \(_) | ___| 
| | | | |_) | | |___ \ 
| |_| |  __/| |  ___) |
 \___/|_|   |_| |____/ 
                       
Welcome to Armbian 23.06 Lunar with bleeding edge Linux 6.5.0-rc1-media

No end-user support: built from trunk

System load:   4%           	Up time:       4 min	
Memory usage:  2% of 7.76G  	IP:	       192.168.1.17
CPU temp:      36°C           	Usage of /:    25% of 7.2G   	
RX today:      16.9 KiB  	

[ 0 security updates available, 1 updates total: apt upgrade ]
Last check: 2023-07-13 13:26

[ General system configuration (beta): armbian-config ]

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

user@orangepi5:~$ neofetch 
                                 user@orangepi5 
                                 -------------- 
      █ █ █ █ █ █ █ █ █ █ █      OS: Armbian (23.06) aarch64 
     ███████████████████████     Host: Orange Pi 5 
   ▄▄██                   ██▄▄   Kernel: 6.5.0-rc1-media 
   ▄▄██    ███████████    ██▄▄   Uptime: 4 mins 
   ▄▄██   ██         ██   ██▄▄   Packages: 549 (dpkg) 
   ▄▄██   ██         ██   ██▄▄   Shell: bash 5.2.15 
   ▄▄██   ██         ██   ██▄▄   Terminal: /dev/pts/0 
   ▄▄██   █████████████   ██▄▄   CPU: (8) 
   ▄▄██   ██         ██   ██▄▄   Memory: 195MiB / 7943MiB 
   ▄▄██   ██         ██   ██▄▄
   ▄▄██   ██         ██   ██▄▄                           
   ▄▄██                   ██▄▄                           
     ███████████████████████
      █ █ █ █ █ █ █ █ █ █ █

user@orangepi5:~$ su -
Password: 
root@orangepi5:~# fdisk -l
Disk /dev/ram0: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram0: 3.88 GiB, 4164464640 bytes, 1016715 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mtdblock0: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 209E9F6E-F3DE-4E2D-9674-F497A9BE8D63

Device           Start   End Sectors  Size Type
/dev/mtdblock0p1    64  7167    7104  3.5M Linux filesystem
/dev/mtdblock0p2  7168  7679     512  256K Linux filesystem
/dev/mtdblock0p3  7680  8063     384  192K Linux filesystem
/dev/mtdblock0p4  8064  8127      64   32K Linux filesystem
/dev/mtdblock0p5  8128  8191      64   32K Linux filesystem
/dev/mtdblock0p6  8192 16383    8192    4M Linux filesystem
/dev/mtdblock0p7 16384 32734   16351    8M Linux filesystem


Disk /dev/nvme0n1: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk model: WDC PC SN520 SDAPMUW-128G-1101          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x027e8210

Device         Boot     Start       End   Sectors  Size Id Type
/dev/nvme0n1p1 *         2048 208058367 208056320 99.2G 83 Linux
/dev/nvme0n1p2      208058368 250068991  42010624   20G 82 Linux swap / Solaris


Disk /dev/mmcblk1: 7.5 GiB, 8053063680 bytes, 15728640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C60DA732-D085-8243-B363-128205738837

Device         Start      End  Sectors  Size Type
/dev/mmcblk1p1 32768 15400960 15368193  7.3G Linux filesystem


Disk /dev/zram1: 50 MiB, 52428800 bytes, 12800 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

Link to comment
Share on other sites

As someone who loves being always on bleeding edge updates, I can't express enough the gratitude for your always up-to-date builds. Thank you so much!

 

            -/oyddmdhs+:.                                                       *******@******

     -odNMMMMMMMMNNmhy+-`                                  ---------------

   -yNMMMMMMMMMMMNNNmmdhy+-                     OS: Gentoo Linux aarch64

`omMMMMMMMMMMMMNmdmmmmddhhy/`        Host: Orange Pi 5

omMMMMMMMMMMMNhhyyyohmdddhhhdo`        Kernel: 6.4.2-media

.ydMMMMMMMMMMdhs++so/smdddhhhhdm+`      Uptime: 19 hours, 21 mins

oyhdmNMMMMMMMNdyooydmddddhhhhyhNd.     Packages: 310 (emerge)

  :oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh  Shell: bash 5.1.16

    .:+sydNMMMMMNNNmmmdddhhhhhhmMmy      Terminal: /dev/pts/0

       /mMMMMMMNNNmmmdddhhhhhmMNhs:        CPU: ARM Cortex-A55 (8)

    `oNMMMMMMMNNNmmmddddhhdmMNhs+`      Memory: 113MiB / 15722MiB

  `sNMMMMMMMMNNNmmmdddddmNMmhs/.

/NMMMMMMMMNNNNmmmdddmNMNdso:`                                

+MMMMMMMNNNNNmmmmdmNMNdso/-                                   

yMMNNNNNNNmmmmmNNMmhs+/-`

/hMMNNNNNNNNMNdhs++/-`

`/ohdmmddhys+++/:.`

  `-//////:--.

 

Thanks to you I was able to install Gentoo with a 6.y kernel.

Link to comment
Share on other sites

I can't get an USB3 hub working properly, with either 6.2 or latest 6.5-rc kernel.

 

Plugging a single device works fine, but plugging a hub won't work. I get "Cannot enable. Maybe the USB cable is bad?" errors.

 

With 5.10 kernel everything works fine. Hub also works fine on another machine.

 

Anyone knows about this?

Link to comment
Share on other sites

Ver 20230911-EDK2-EFI kernel legacy\current\edge 

 

On the edge version, HDMI does not work in the kernel itself, but HDMI is supported at the level of the selection menu in GRUB, this allows you to have several different versions of the kernel\system (for example, add a self-assembled EDGE kernel with its own configuration) and choose on the monitor screen which kernel\system to run not using the UART console.

Link to comment
Share on other sites

Hello @balbes150,

 

I still can't get neither USB3 nor USB-C working with edge kernel (log shows usb usb2-port1: Cannot enable. Maybe the USB cable is bad? for USB3 and nothing for USB-C). Is this expected?

 

Also, could you add wireguard module for current kernel?

 

Best regards,

 

Jean-Philippe

Link to comment
Share on other sites

Has anyone spotted a change in very recent kernel driver of pancfs turning into 'panthor'?

It's mentioned here  https://lwn.net/Articles/940957/  and is about Mali Mesa continous work.

I guess I'll try to take a look at kernel repo's myself but I'm not used to doing that so thought I'd drop the info here as well.

Cheers 

 

Update:  Nope if I'm looking in the right place I can't see it in linux kernel 6.6-rc4 even. I think it should be living here  'drivers/gpu/drm/panthor' as per 

https://lore.kernel.org/linux-arm-kernel/20230809171017.64409d60@collabora.com/T/ for example.   

I guess its still way too early.

 

Edited by fredrum
Link to comment
Share on other sites

01.10.2023 в 22:27, Jean-Philippe сказал:

I still can't get neither USB3 nor USB-C working with edge kernel (log shows usb usb2-port1: Cannot enable. Maybe the USB cable is bad? for USB3 and nothing for USB-C). Is this expected?

This is an experimental core, no guarantees of the operation of the equipment.

 

01.10.2023 в 22:27, Jean-Philippe сказал:

Also, could you add wireguard module for current kernel?

I'll check if it's possible or not.

 

 

Link to comment
Share on other sites

Thank you for your reply. I understand there is no guarantee, and that mainline kernel is still a work in progress. I don’t have a problem with that, I was just wondering it usb-c and usb3 are supposed to be working (hence I should try to find why this isn’t working for me), or this known not to work (and I should stick with current kernel).

Link to comment
Share on other sites

50 минут назад, Jean-Philippe сказал:

I don’t have a problem with that, I was just wondering it usb-c and usb3 are supposed to be working (hence I should try to find why this isn’t working for me), or this known not to work (and I should stick with current kernel).

 

 

Link to comment
Share on other sites

Hi,

 

I tried this dtb and the kernel does not boot. Tried with loglevel 7 and there aren't any error messages, the boot just hangs at some point.

 

If you could add wireguard module to 6.2 current build, I would be more than happy to use this until mainline support is fixed.

 

Many thanks

Link to comment
Share on other sites

Thank you very much for the hard work!

 

I've spent the whole evening trying various combinations of kernels and dtbs. Unfortunately, I was not able to have that USB3 hub working (except for legacy 5.10). With 6.2 kernel and usb-c dtb, it shows as USB2 only.

 

What is strange is that I'm sure I had it working in the past, with a 6.2 kernel.

 

Plugging a single device in the USB3 port works. Plugging the hub on another machine works. Using 5.10 kernel works. Plugging the hub with 6.2 or 6.6 kernel on either USB3 or USB-C does not work.

 

If anyone is willing to help me debug this, it would be very welcomed. I'm not sure what I should try to go further.

Link to comment
Share on other sites

7 часов назад, Jean-Philippe сказал:

What is strange is that I'm sure I had it working in the past, with a 6.2 kernel.

 

decompile DTB with the DTC utility and compare the parameters, enter the ones it works with. Make changes and put it back together.

 

https://manpages.ubuntu.com/manpages/trusty/man1/dtc.1.html

Link to comment
Share on other sites

06.12.2023 в 14:13, Shivan SpS сказал:

Any new image with 6.7 incluiding the partial hdmi patch and the last version of panthor?

 

Due to the termination of the support agreement between Orangepi and Armbian, support for this model has been discontinued and updates for this model are no longer being released.

For other models with support, I plan to publish new versions with the 6.7 kernel in the near future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines