How to mainline kernel on daniel thompson's debian installer?
#1
Hi, i installed debian with daniel thompson's debian installer.

I noticed that the kernel is from a repository, and it's 5.8. 
I want to install the lastest(5.10 in bullseye), mainline kernel.

Installing `linux-image-5.10-x-arm64` or something like that, and rebooting my system showed black screen.

How can i properly switch kernel on it?
  Reply
#2
I would bet there is a (good) reason he is using that particular kernel.

I personally don't like to keep up with LKML, so I use Armbian instead and let them worry about all the low level details. There are a lot of differences between ARM and x86 that you might not be aware of, even if you are an experienced GNU/Linux user.
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!
  Reply
#3
The bottom line is to find the proper initramfs configuration matching the actual hardware.
Try configuring the initramfs to be build with "most" modules.
While this creates a huge initramfs file, chances are it contains all needed to boot normally.

Once booted, create a listing of all loaded modules with the lsmod command and use that to tune the actual initramfs build.

That's the way i managed to create a suitable initram configuration.
See https://forum.pine64.org/showthread.php?tid=15031 for the result.
Devices: Pinebook Pro & Pinephone (Braveheart)
  Reply
#4
I've tried this repeatedly on and off for most of eight months now, and I've had no luck so far.

I'd just be happy to get the repeated graphics crashes that plague my Debian install fixed.

(11-08-2021, 05:48 PM)TRS-80 Wrote: I would bet there is a (good) reason he is using that particular kernel.

I personally don't like to keep up with LKML, so I use Armbian instead and let them worry about all the low level details.  There are a lot of differences between ARM and x86 that you might not be aware of, even if you are an experienced GNU/Linux user.
I was under the impression that Armbian didn't even officially support their Pinebook Pro Ubuntu images; they don't even seem to build Debian images any more for the Pinebook Pro. I can't speak of the current stability of Armbian but I'm skeptical that they're pouring much attention on ensuring their distribution works well with the PBP.
  Reply
#5
(11-08-2021, 11:05 PM)KiteX3 Wrote: I was under the impression that Armbian didn't even officially support their Pinebook Pro Ubuntu images; they don't even seem to build Debian images any more for the Pinebook Pro. I can't speak of the current stability of Armbian but I'm skeptical that they're pouring much attention on ensuring their distribution works well with the PBP.

The main reason I started looking at PINE64 products in the first place was because one of the main Armbian devs was raving about how well his PBP was working on the (at that time new) desktop images. And that was probably a year or more ago by now.

Armbian are very conservative with what they declare as "Supported" and that term also has some particular meaning (as well as requirements) within the Armbian project. But as I said, I have heard from very reliable sources that it works well. And I have read a number of similar comments on these very forums in addition. To the point that I am getting ready to purchase one myself.

If you have a spare sd card laying around, how about just give it a try? What have you got to lose other than a few minutes of your time?
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!
  Reply
#6
I really should give Armbian a proper try on an SD card some time. It just hasn't appealed too much to me since it currently only offers Ubuntu, not Debian, images, and those are only offered with desktops I don't much care for; since I started using my Debian PBP as a side-daily-driver to complement my desktop, I've slowed down on experimenting with other operating systems for the most part.
  Reply
#7
FWIW, I am a Debian (not Ubuntu) user as well.  Even though Debian desktop images may not be published, I am pretty sure it should still be possible to build them.  In fact that is what Armbian project actually is, a build tool.  But since they publish images, they are often mistaken as "a distribution."  In fairness, even I was operating under this misunderstanding for years.

Choice of DE is more related to how much development resources the Armbian project have (only few volunteers in reality) as well as limitations of the hardware.  Personally I am OK with XFCE but of course DE choice is highly subjective and personal.

At any rate, if end up buying a PBP (probably will), I suppose I will need to learn more about that.  And if I do, maybe I become maintainer, and if so maybe I can get it to Supported status and start publishing images again.  No promises though.
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  install debian on pbp jsch 5 1,772 01-01-2023, 03:39 PM
Last Post: cz89
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 518 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 1,408 12-09-2022, 05:04 AM
Last Post: ndp
  How can I install Debian? ImmyChan 1 897 10-19-2022, 03:09 AM
Last Post: alpopa
  kernel module that supports usb-c hdmi alexandre 15 10,035 10-13-2022, 10:51 PM
Last Post: rfm83
  newer ""emmc-installer" images (manjaro xfce) magistral 1 500 10-10-2022, 06:22 AM
Last Post: maxjrh
  when i close my laptop lid the screen doesn't turn on? (debian bullseye based) computerc 3 822 09-23-2022, 08:37 PM
Last Post: computerc
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 3 1,675 09-10-2022, 02:07 PM
Last Post: cypresstwist
  Debian emmc installer db579 6 1,298 08-23-2022, 06:13 AM
Last Post: db579
  PBP won’t boot from eMMC after Debian update / Tow-Boot installer won’t boot from SD Pino64 21 5,673 05-12-2022, 05:00 AM
Last Post: Pino64

Forum Jump:


Users browsing this thread: 1 Guest(s)