Git Product home page Git Product logo

Comments (7)

hexdump0815 avatar hexdump0815 commented on June 24, 2024 1

yes - that dd is required as the chromebook bootloader will only boot kernels in that special format from that partition ... there is actually a second kernel partition in the images for testing - i'll write down how to use this soon, as it makes testing much easier

in case your self built kernel is bad, you can always boot the one from an image on usb/sd via ctrl-u ... btw. besides the things in /boot it is also required to put /lib/modules/ in place

regarding the 5.15.22 kernel: looks like i forgot to upload it - i'll try to upload it over the weekend

best wishes - hexdump

from linux-mainline-and-mali-generic-stable-kernel.

hexdump0815 avatar hexdump0815 commented on June 24, 2024 1

some updates:

thanks a lot for your support and best wishes - hexdump

from linux-mainline-and-mali-generic-stable-kernel.

hexdump0815 avatar hexdump0815 commented on June 24, 2024 1

happy to hear that it works now - this config option is new since 5.16 i think and that gave problems for many systems and thus appeared at different places on irc or elsewhere, so i also just found it somewhere :)

from linux-mainline-and-mali-generic-stable-kernel.

Geofferey avatar Geofferey commented on June 24, 2024

@hexdump0815 Okay I got everything to build and copied the files to /boot following the commands in your script. I seem to be missing something tho...

When I run uname -a

Linux debian-trogdor 5.15.2-stb-cbq #1 SMP PREEMPT Sat Nov 20 12:28:33 CET 2021 aarch64 GNU/Linux

I would expect to see my date.

I'm pretty sure I'm missing step to dd if=kernel.img of=/dev/mmcblk1p1 How do I produce the resulting kernel image that needs to be flashed to the first/second partition? Did I make it and not even know?

EDIT:

Derp, my fear kept me back for a moment. I just needed to grow a pair and dd if=vmlinux.kpart of=/dev/mmcblk1p1 🤦 the .kpart meaning kernel partition I suppose.

from linux-mainline-and-mali-generic-stable-kernel.

Geofferey avatar Geofferey commented on June 24, 2024

@hexdump0815 I got 5.15.36 running but can't seem to go past that. Do you have any tips on getting newer ones to work like 5.17.X or 5.16.X? I feel like I may be just missing something little. I did figure out the USB trick so that has been worlds of help today. 👍

Here is a GIST of the script I made from your notes to help make my life easier. It's still a WIP but maybe I can add something to it to help make the newer kernels boot? Maybe it's missing a step... As it stands I just pulled your .config from /boot and the cmdline from your notes in cbq.

Thanks for keeping up with me 😃 I am trying hard here lol.

from linux-mainline-and-mali-generic-stable-kernel.

Geofferey avatar Geofferey commented on June 24, 2024
  1. I'm not sure if you're asking if 5.15.36 works. If so, yes it works just as well as 5.15.22 or better. I have tested up to 5.18-rc4 now and haven't noticed any regressions.

  2. This could prove useful, I'll have to try the boot flags tomorrow and see.

  3. Yes CONFIG_DRM_PANEL_EDP=y got me a booting kernel. Thank you for pointing ☝️ this out to me. I would've stayed lost for a while otherwise.

  4. Suspend and resume is working perfectly now, no issues on 5.17.X and up. Seems we get full deep considering I only lost 1% over a 4r period. I don't sleep much 😂

  5. I actually did try everything in there. Seems to be only the internal mic is detected. When running pactl list sources that's all I see. This is weird because I thought Lazor used the exact same card. It worked on Lazor? I think this might be a kernel side dt issue or lack of firmware (if any exist).

cat /proc/asound/cards reports:

 0 [sc7180adau7002m]: SC7180 - sc7180-adau7002-max98357a
                  sc7180-adau7002-max98357a

Here is message from alsactl init:

 alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
 Found hardware: "SC7180" "" "" "" ""
 Hardware is initialized using a generic method

This is what I could find in dmesg:

 [    5.422974] max98357a audio-codec-0: GPIO lookup for consumer sdmode
 [    5.422989] max98357a audio-codec-0: using device tree for GPIO lookup
 [    5.620411] debugfs: Directory '62d87000.lpass' with parent 'sc7180-adau7002-max98357a' already present!
 [    5.677936] input: sc7180-adau7002-max98357a HDMI Jack as /devices/platform/sound/sound/card0/input6
  1. The gist still needs some more work, if you can think of anything let me know. I kinda want it to end up in repos for other people like me who just want to build and test kernels. My goal with it is to make it adaptable so we can adjust a couple params and have it build for several devices.

No problem, I think if I try hard enough I can get this working nearly %100 it's already %90 lol. Thank you for the support actually.

from linux-mainline-and-mali-generic-stable-kernel.

Geofferey avatar Geofferey commented on June 24, 2024

@hexdump0815 I have tried to address all your points. Check it out 🔢

from linux-mainline-and-mali-generic-stable-kernel.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.