Re: making debs for u-boot kernels
On Friday 26 July 2019 17:35:01 Reco wrote:
> Hi.
>
> On Thu, Jul 25, 2019 at 12:49:32PM -0400, Gene Heskett wrote:
> > I am furious (fat lot of good that does me) with the lack of tools,
> > and information on how to use them to build an installable
> > kernel.deb for a rpi-3b. I know it can be done, I have witnessed
> > apt do it several times, on at least two of the arm platforms, once
> > on an arm64 running stretch and several times on armhf for releases
> > from jessie to buster.
>
> Raspberry Pi does not use u-boot. Raspbian does not use u-boot. Their
> proprietary bootloader can be forced to run u-boot, but its not worth
> it - by using u-boot you're limiting yourself to armhf, and Raspberry
> Pi3 is an aarch64 board.
>
> > I want to take a linux-rt tar.xz direct from kernel.org, and its
> > patches to bring it up to realtime, build it and install it all on
> > the pi-3b, to which I have added a 120GB SSD for workspace, and a
> > 10GB swap so it can now build linuxcnc.
>
> Consider installing a proper Debian first the way it's outlined at
> [1]. Booting a custom kernel will be as easy as adding an another
> entry to grub.cfg.
>
> Reco
>
> [1]
> https://pete.akeo.ie/2019/07/installing-debian-arm64-on-raspberry-pi.h
>tml
Now its stuck, claiming the partitioing has not been done and it cannot
install grub to a hard disk.
Going back to to the partitioning menu I see:
#1 primary 314.6MB B K ESP
#6 logical 1 GB f swap swap
#5 logical 58 GB f ext4 /
This was letting the installer do the default partitioning.
So I launched a shell, but there is not a /boot partition showing for an
ls.
The initial /boot partition of 300MiB was created with gparted because
fdisk might be too old, this is a stretch install.
Do I now do the steps outlined under linux on page 6 of this printout,
with the card mounted at /media/sdf on this machine?
I think I will as so far I'm only out about 3 hours time and a 64GB u-sd.
Thanks.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: