Go to advanced search

by pihacker
Sat Jun 06, 2020 5:34 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@PhilE https://www.raspberrypi.org/documentation/configuration/config-txt/overclocking.md Changing core_freq in config.txt is not supported on the Pi 4, any change from the default will almost certainly cause a failure to boot. But I'm still able to boot... Also table in the doc gives me 250/275 (wh...
by pihacker
Sat Jun 06, 2020 4:52 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@swahren my current config.txt contains following lines: # gpu_mem=64 kernel=Image core_freq=250 enable_uart=1 arm_64bit=1 So I think core freq should be fixed, but I still get garbage from serial console :( Also, as I understand, bluetooth disabling allows to use Full UART instead of miniUART. It's...
by pihacker
Sat Jun 06, 2020 1:27 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@swahren, yeah, that was CONFIG_FB_SIMPLE, HDMI works now!
garbage in a serial console is the problem now.
by pihacker
Sat Jun 06, 2020 10:32 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@swahren thank you, any help is very appreciated.
by pihacker
Fri Jun 05, 2020 10:58 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@swahren yet HDMI works being compiled with arch's config. What am I missing?
by pihacker
Fri Jun 05, 2020 10:23 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

Neither ttyS0 nor ttyS1 works for me, no matter do I use enable_uart or don't.
I also found out that defconfig rathrer produce kernel without proper HDMI support than just unbootable kernel, that's why I got black screen, instead of rainbow. What config property defconfig misses to enable HDMI?
by pihacker
Fri Jun 05, 2020 7:18 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@swahren What should I use instead of initramfs? I'm a total newbie and I thought initramfs is essential to the boot process. I tried your suggestion from previous post, but I didn't understand you correctly. I tried console=ttyS0 and that gave me nothing, but console=ttyS0,115200 gave me something ...
by pihacker
Fri Jun 05, 2020 5:45 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@swahren I'm sorry that thread quickly became so broad and hard to follow. Let me explain my goals. The main goal is to get mainline kernel as much working and usable as possible. As 32-bit seems to be more "old" and "deprecated", I would prefer to stick with 64-bit kernel. I onl...
by pihacker
Fri Jun 05, 2020 4:06 pm
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

I've managed to boot with 64-bit kernel, builded with arch-aarm64 config (https://archlinuxarm.org/packages/aarch64/linux-aarch64-rc/files/config) It's inetesting that it took much time to build kernel with that config, but this works! I don't know why defconfig is not sufficient to make working ker...
by pihacker
Fri Jun 05, 2020 10:01 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@PhilE thanks. What could two short blinks mean? According to this article - https://elinux.org/R-Pi_Troubleshooting ... ic_pattern that means SD card cannot be read, but I'm sure this is not the problem, because when I place old kernel back, RPi boots well again.
by pihacker
Fri Jun 05, 2020 9:04 am
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 15341

Re: Status of Raspberry Pi 4 in Mainline

@swahren moved discussion to a new thread -- viewtopic.php?f=71&t=276236
by pihacker
Fri Jun 05, 2020 9:03 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Re: Mainline Kernel building -- problems and issues

@pihacker You never mentioned the kernel version or the base of your kernel config you are using. Did you overwrite the bcm2711-rpi-4-b.dtb on your sd card with the mainline version? For ethernet you should use multi_v7_defconfig and make sure CONFIG_BROADCOM_PHY=y For USB you also need to enable C...
by pihacker
Fri Jun 05, 2020 9:00 am
Forum: Linux Kernel
Topic: Mainline Kernel building -- problems and issues
Replies: 42
Views: 5287

Mainline Kernel building -- problems and issues

Hello. I try to get the mainline linux kernel working on my RPi4. The main guide I use is this tutorial -- https://gist.github.com/lategoodbye/c7317a42bf7f9c07f5a91baed8c68f75 I tried to compile both 32-bit version (with multi_v7_defconfig) and 64-bit (with defconfig). I managed to boot with 32-bit ...
by pihacker
Thu Jun 04, 2020 4:24 pm
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 15341

Re: Status of Raspberry Pi 4 in Mainline

@PhilE thanks. It's even more strange because wifi works! But still missing ethernet :) UPD: One more thing to notice is that I use almost empty config.txt. Maybe I should add some options to make eth working with mainline kernel? UPD2: It seems that GPIO doesn't work too, because serial console doe...
by pihacker
Thu Jun 04, 2020 4:15 pm
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 15341

Re: Status of Raspberry Pi 4 in Mainline

PhilE wrote:
Thu Jun 04, 2020 3:47 pm
What is the value of the phy-mode property in your bcm2711-rpi-4-b.dts? If it's "rgmii-rxid" then try changing it to "rgmii", and vice versa.
I tried both with no success. I think I'm missing some .config parameters before compilation.
by pihacker
Thu Jun 04, 2020 3:26 pm
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 15341

Re: Status of Raspberry Pi 4 in Mainline

It's not clear what would be expecting there to be a Bluetooth device on one of the MMC/SDIO interfaces. The upstream .dts file declares a Bluetooth interface ("brcm,bcm43438", interestingly) on UART0. I'm sorry for a wrong error message, I've fixed my previous post. It actually was two u...
by pihacker
Thu Jun 04, 2020 2:59 pm
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 15341

Re: Status of Raspberry Pi 4 in Mainline

I hope this Gist may help you a little bit: https://gist.github.com/lategoodbye/c7317a42bf7f9c07f5a91baed8c68f75 Thank you a lot! I finally managed to compile and boot from mainline kernel! I also faced a couple of issues: RPI4 cannot startup from mmcblk0p2 since name of a block device is changed s...
by pihacker
Sat May 30, 2020 8:49 pm
Forum: Linux Kernel
Topic: Status of Raspberry Pi 4 in Mainline
Replies: 28
Views: 15341

Re: Status of Raspberry Pi 4 in Mainline

How can I try mainline linux kernel for rapsberry pi 4? Is there any instructions to compile mainline kernel? I've tried to compile it using this instructions - https://www.raspberrypi.org/documentation/linux/kernel/building.md, but my raspberry struck at loading with rainbow screen and noting on se...

Go to advanced search