Re: [gentoo-user] cross-compiling environment for Rapberry

2024-05-01 Thread Alexandru N. Barloiu
On 4/30/2024 12:26 AM, ralfconn wrote: The crossdev environment on the desktop knows nothing about the packages installed on the Pi, so I copied /var/db/pkg from Pi to /usr/aarch64-unknown-linux-gnu/var/db/pkg on the desktop. I ran emerge --sync on the Pi and on the desktop approximatively at

Re: [gentoo-user] Re: Grub, gpt partitions and BIOS, not uefi thing.

2024-05-01 Thread Dale
Grant Edwards wrote: > On 2024-05-01, Dale wrote: >> Grant Edwards wrote: >> >>> The partition type code for 'swap' is wrong -- it should be >>> 8200. According to the gdisk help info Linux /home is supposed to be >>> 8302, but I've always used the same generic "Linux filesystem" type >>> for

Re: [gentoo-user] cross-compiling environment for Rapberry

2024-05-01 Thread ralfconn
Il 01/05/24 19:54, ralfconn ha scritto: Il 01/05/24 19:05, Michael ha scritto: I've built the cross toolchain with 'crossdev --taget aarch64-unknown-linux-gnu' per wiki [2]. I've selected a 23.0-split-usr profile on the Pi since this is the one supported by the crossdev (or so I understood

[gentoo-user] Re: Grub, gpt partitions and BIOS, not uefi thing.

2024-05-01 Thread Grant Edwards
On 2024-05-01, Dale wrote: > Grant Edwards wrote: > >> The partition type code for 'swap' is wrong -- it should be >> 8200. According to the gdisk help info Linux /home is supposed to be >> 8302, but I've always used the same generic "Linux filesystem" type >> for both /home and root. >> >> Is

Re: [gentoo-user] Re: Grub, gpt partitions and BIOS, not uefi thing.

2024-05-01 Thread Dale
Grant Edwards wrote: > On 2024-05-01, Dale wrote: > >> OK.  One last update in case someone googles and runs up on this >> thread.  I'm using gdisk to display this, because I think it will do >> better in email.  If I use cgdisk, it is wider and will wrap more.  >> This is what the partition

[gentoo-user] Re: Grub, gpt partitions and BIOS, not uefi thing.

2024-05-01 Thread Grant Edwards
On 2024-05-01, Dale wrote: > OK.  One last update in case someone googles and runs up on this > thread.  I'm using gdisk to display this, because I think it will do > better in email.  If I use cgdisk, it is wider and will wrap more.  > This is what the partition table looks like for GPT, old

Re: [gentoo-user] Re: Grub, gpt partitions and BIOS, not uefi thing.

2024-05-01 Thread Dale
Dale wrote: > One last update.  I found a video.  They were using gdisk but the > crucial part, he got it to display the partition layout.  It was like I > described as for as the alignment thing, tiny partition with ef02 and > then carry on as usual from there.  > > I need to do this on a disk

Re: [gentoo-user] cross-compiling environment for Rapberry

2024-05-01 Thread ralfconn
Il 01/05/24 19:05, Michael ha scritto: I've built the cross toolchain with 'crossdev --taget aarch64-unknown-linux-gnu' per wiki [2]. I've selected a 23.0-split-usr profile on the Pi since this is the one supported by the crossdev (or so I understood from the error message when I tried with the

Re: [gentoo-user] cross-compiling environment for Rapberry

2024-05-01 Thread Michael
On Monday, 29 April 2024 22:26:49 BST ralfconn wrote: > Hello, > > I recently got me a Raspberry Pi4b to use as a PiHole [1]. As a first > step I put user-space Gentoo (i.e. aarch64 stage3) on it and now I am > trying to set up my desktop to cross-compile binary packages for the PI, > to keep the

Re: [gentoo-user] cross-compiling environment for Rapberry

2024-05-01 Thread Frank Steinmetzger
Am Mon, Apr 29, 2024 at 11:26:49PM +0200 schrieb ralfconn: > Hello, > > I recently got me a Raspberry Pi4b to use as a PiHole [1]. As a first step I > put user-space Gentoo (i.e. aarch64 stage3) on it and now I am trying to set > up my desktop to cross-compile binary packages for the PI, to keep