Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Pinetab2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
ianthebadguy
n00b
n00b


Joined: 02 Feb 2025
Posts: 1

PostPosted: Sun Feb 02, 2025 5:03 am    Post subject: Gentoo on Pinetab2 Reply with quote

Hello all,

I've had a Pine64 Pinetab2 for a couple weeks, and I've been looking to get Gentoo running off an SD card, with primarily official binhost packages from the default/linux/arm64/23.0/desktop/plasma/systemd profile. My daily driver desktop is Gentoo on amd64, but this is my first experience trying to run arm64. I first posted at the official Pine64 forums, but I haven't gotten any response there in over a week. Here's my original post from over there:
Quote:
Hello,

I've been trying to set up Gentoo on an SD card in my Pinetab2 since I received it a few weeks ago. I am generally more comfortable with Portage than pacman, and I would also like to test and possibly provide support for Gentoo's arm64 binary packages. This means that I have built a partition table up from scratch on the SD card, rather than duplicating an existing installation image. It's a very simple partition table:

mmcblk1p1: EFI boot partition mounted at /efi, FAT32
mmcblk1p2: swap
mmcblk1p3: root partition, ext4

The Pine64 RockPro64 entry on the Gentoo wiki: https://wiki.gentoo.org/wiki/PINE64_ROCKPro64/Installing_Gentoo#Configuring_the_bootloader indicates that whoever wrote it had success using a standalone build of Grub on an EFI system partition to get the RockPro to boot, but I am not having the same success on the Pinetab. Should I instead be installing U-Boot to the boot partition? Or flashing it to the first sectors of the SD card? I am still unsure about the normal procedure for using U-Boot or where it should be installed.

At what point might I also want to consider the rk2aw bootloader? This person had success using it with Fedora: https://www.jistr.com/blog/2023-11-27-fedora-on-pinetab2/

It also seems like the tablet is now not booting at all with the SD card inserted, which was not the case before I formatted the SD card with the boot partition. But it could be possible that it is actually attempting to boot but I just have no video output/keyboard backlight, since the stock Gentoo binary kernel probably doesn't have drivers for these. I can attempt to use the Danctnix kernel patches and build my own kernel, but I am curious, exactly what devices does it patch in support for?

The bes2600 wifi driver is not important to start with, as I have a USB-Ethernet adapter that has Linux kernel support. I plan to install the wifi driver after I have a properly booting system, and also write a Gentoo ebuild for it.


Basically, the first step I'm trying to take is figure out if I can use Das U-Boot on the FAT32 UEFI partition. rk2aw seems like it may be more useful as a replacement bootloader on the internal SPI flash. Neither arm64 specific bootloader, U-Boot or rk2aw, seems to be in the main gentoo package tree, so I will likely end up writing custom ebuilds for those as well as the bes2600 wifi driver. Hoping somebody with more arm64 experience can point me in the right direction.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum