Code: Select all
console=serial0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=btrfs elevator=deadline fsck.repair=yes rootwaitIt is not clear from your post which device you expect to boot from? USB or SD card?JumboAg wrote:I've done this install a dozen times before without issue, so I'm sure I'm just forgetting something but for the life of me I cannot figure out what.
Trying to setup a raspberry pi 4 using gentoo. I first boot it off a USB stick running stock raspian then do the modified handbook install method
I install the following 3 packages:
raspberrypi-firmware
raspberrypi-image
raspberrypi-sources
compile, install, etc... install dracut, create an initramfs.
After I'm done and reboot - no video at all. I can't tell if its booting or not. I'm not getting any networking so I assume no but cannot confirm 100%.
I've tried bypassing the raspberrypi-sources kernel by removing the kernel and initramfs lines from the config.txt to see if it'll just boot off the stock kernelX.img file in /boot.... same result.
I can provide additional info, setup etc if needed but hopefully from the above and the symptom (no video at all) someone can quickly tell me what I forgot to do.
pingtoo wrote:It is not clear from your post which device you expect to boot from? USB or SD card?JumboAg wrote:I've done this install a dozen times before without issue, so I'm sure I'm just forgetting something but for the life of me I cannot figure out what.
Trying to setup a raspberry pi 4 using gentoo. I first boot it off a USB stick running stock raspian then do the modified handbook install method
I install the following 3 packages:
raspberrypi-firmware
raspberrypi-image
raspberrypi-sources
compile, install, etc... install dracut, create an initramfs.
After I'm done and reboot - no video at all. I can't tell if its booting or not. I'm not getting any networking so I assume no but cannot confirm 100%.
I've tried bypassing the raspberrypi-sources kernel by removing the kernel and initramfs lines from the config.txt to see if it'll just boot off the stock kernelX.img file in /boot.... same result.
I can provide additional info, setup etc if needed but hopefully from the above and the symptom (no video at all) someone can quickly tell me what I forgot to do.
isn't the raspberrypi-image will install stuff in to /boot? so your kernel build/installation was after raspberrypi-image?
Code: Select all
ls -l /bootpingtoo wrote:JumboAg,
Please share /boot content listing (from the SD card)Please share /boot/config.txt (from the SD card)Code: Select all
ls -l /boot
Have you try to turn on your pi without SD card (or any other bootable device)? if you try do you get some information about your PI on the HDMI output?
Code: Select all
raspberrypi /usr/src/linux # ls -la /boot
total 119864
drwxr-xr-x 3 root root 8192 Dec 31 1969 .
drwxr-xr-x 1 root root 224 Aug 26 20:42 ..
-rwxr-xr-x 1 root root 28503 Aug 26 20:48 bcm2708-rpi-b.dtb
-rwxr-xr-x 1 root root 28822 Aug 26 20:48 bcm2708-rpi-b-plus.dtb
-rwxr-xr-x 1 root root 28182 Aug 26 20:48 bcm2708-rpi-b-rev1.dtb
-rwxr-xr-x 1 root root 28246 Aug 26 20:48 bcm2708-rpi-cm.dtb
-rwxr-xr-x 1 root root 28128 Aug 26 20:48 bcm2708-rpi-zero.dtb
-rwxr-xr-x 1 root root 29539 Aug 26 20:48 bcm2708-rpi-zero-w.dtb
-rwxr-xr-x 1 root root 30241 Aug 26 20:48 bcm2709-rpi-2-b.dtb
-rwxr-xr-x 1 root root 30148 Aug 26 20:48 bcm2709-rpi-cm2.dtb
-rwxr-xr-x 1 root root 30390 Aug 26 20:48 bcm2710-rpi-2-b.dtb
-rwxr-xr-x 1 root root 32142 Aug 26 20:48 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root 32753 Aug 26 20:48 bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root root 30285 Aug 26 20:48 bcm2710-rpi-cm3.dtb
-rwxr-xr-x 1 root root 31318 Aug 26 20:48 bcm2710-rpi-zero-2.dtb
-rwxr-xr-x 1 root root 31318 Aug 26 20:48 bcm2710-rpi-zero-2-w.dtb
-rwxr-xr-x 1 root root 52682 Aug 26 20:48 bcm2711-rpi-400.dtb
-rwxr-xr-x 1 root root 52593 Aug 26 20:48 bcm2711-rpi-4-b.dtb
-rwxr-xr-x 1 root root 53202 Aug 26 20:48 bcm2711-rpi-cm4.dtb
-rwxr-xr-x 1 root root 38182 Aug 26 20:48 bcm2711-rpi-cm4-io.dtb
-rwxr-xr-x 1 root root 50504 Aug 26 20:48 bcm2711-rpi-cm4s.dtb
-rwxr-xr-x 1 root root 52476 Aug 26 20:52 bootcode.bin
-rwxr-xr-x 1 root root 116 Aug 26 20:54 cmdline.txt
-rwxr-xr-x 1 root root 228654 Aug 26 20:49 config-6.1.21_p20230405-raspberrypi-v8
-rwxr-xr-x 1 root root 228654 Aug 26 20:45 config-6.1.21_p20230405-raspberrypi-v8.old
-rwxr-xr-x 1 root root 1917 Aug 26 20:56 config.txt
-rwxr-xr-x 1 root root 3170 Aug 26 20:52 fixup4cd.dat
-rwxr-xr-x 1 root root 5398 Aug 26 20:52 fixup4.dat
-rwxr-xr-x 1 root root 8382 Aug 26 20:52 fixup4db.dat
-rwxr-xr-x 1 root root 8386 Aug 26 20:52 fixup4x.dat
-rwxr-xr-x 1 root root 3170 Aug 26 20:52 fixup_cd.dat
-rwxr-xr-x 1 root root 7265 Aug 26 20:52 fixup.dat
-rwxr-xr-x 1 root root 10229 Aug 26 20:52 fixup_db.dat
-rwxr-xr-x 1 root root 10229 Aug 26 20:52 fixup_x.dat
-rwxr-xr-x 1 root root 18359324 Aug 26 20:55 initramfs-6.1.21_p20230405-raspberrypi-v8.img
-rwxr-xr-x 1 root root 0 Aug 26 20:47 .keep
-rwxr-xr-x 1 root root 6810592 Aug 26 20:48 kernel7.img
-rwxr-xr-x 1 root root 7225232 Aug 26 20:48 kernel7l.img
-rwxr-xr-x 1 root root 8219600 Aug 26 20:48 kernel8.img
-rwxr-xr-x 1 root root 6466528 Aug 26 20:48 kernel.img
drwxr-xr-x 2 root root 24576 Aug 26 20:48 overlays
-rwxr-xr-x 1 root root 805436 Aug 26 20:52 start4cd.elf
-rwxr-xr-x 1 root root 3747240 Aug 26 20:52 start4db.elf
-rwxr-xr-x 1 root root 2250848 Aug 26 20:52 start4.elf
-rwxr-xr-x 1 root root 2998344 Aug 26 20:52 start4x.elf
-rwxr-xr-x 1 root root 805436 Aug 26 20:52 start_cd.elf
-rwxr-xr-x 1 root root 4819144 Aug 26 20:52 start_db.elf
-rwxr-xr-x 1 root root 2975104 Aug 26 20:52 start.elf
-rwxr-xr-x 1 root root 3721992 Aug 26 20:52 start_x.elf
-rwxr-xr-x 1 root root 3676160 Aug 26 20:49 System.map-6.1.21_p20230405-raspberrypi-v8
-rwxr-xr-x 1 root root 3676160 Aug 26 20:45 System.map-6.1.21_p20230405-raspberrypi-v8.old
-rwxr-xr-x 1 root root 22407680 Aug 26 20:49 vmlinuz-6.1.21_p20230405-raspberrypi-v8
-rwxr-xr-x 1 root root 22407680 Aug 26 20:45 vmlinuz-6.1.21_p20230405-raspberrypi-v8.old
Code: Select all
$ cat config.txt
kernel=vmlinuz-6.1.21_p20230405-raspberrypi-v8
initramfs initramfs-6.1.21_p20230405-raspberrypi-v8.img
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
arm_64bit=1
dtparam=krnbt=on
This is expected. I just want to confirm that hardware is not broken.JumboAg wrote:With NOTHING inserted, I do get the stock splash screen telling me it cant find anything. What's odd is if I put the sd card in, I dont even get that.
Code: Select all
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 2099199 2097152 1G 83 Linux
/dev/mmcblk0p2 2099200 35653631 33554432 16G 82 Linux swap / Solaris
/dev/mmcblk0p3 35653632 499744767 464091136 221.3G 83 Linux