Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68859

Bug#977126: linux-image-rpi does not boot by qemu-system-arm -machine raspi0

From Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#977126: linux-image-rpi does not boot by qemu-system-arm -machine raspi0
Date 2020-12-14 10:10 +0100
Message-ID <BlS1H-2ez-1@gated-at.bofh.it> (permalink)
References <BlKQy-63S-9@gated-at.bofh.it> <BlLtg-6y3-11@gated-at.bofh.it> <BlLMC-6Ef-3@gated-at.bofh.it> <BkNGN-3td-1@gated-at.bofh.it> <BlLMC-6Ef-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Ben,
I found that "qemu-system-arm -machine raspi0",
u-boot-rpi:armel and linux-image-rpi do not seem bootable.

Specifically, I did the following (qemu-system-arm is from Sid):
qemu-system-arm -machine raspi0,firmware=/usr/lib/u-boot/rpi_0_w/u-boot.bin \
-display gtk -sd disk-image.qcow2

In "disk-image.qcow2", linux-image-rpi and u-boot-menu are installed.
"u-boot-rpi:armel" is installed only on a host.
u-boot-menu is used for only generating /boot/extlinux/extlinux.conf in the guest.
In the guest "u-boot-update" command created the following /boot/extlinux/extlinux.conf:

## The configuration of this file is generated automatically.
## Do not edit this file manually, use: u-boot-update

default l0
menu title U-Boot menu
prompt 0
timeout 5


label l0
	menu label Debian GNU/Linux bullseye/sid 5.9.0-4-rpi
	linux /boot/vmlinuz-5.9.0-4-rpi
	initrd /boot/initrd.img-5.9.0-4-rpi
	fdtdir /usr/lib/linux-image-5.9.0-4-rpi/
	append LABEL=ROOT net.ifnames=0 consoleblank=0 rw

label l0r
	menu label Debian GNU/Linux bullseye/sid 5.9.0-4-rpi (rescue target)
	linux /boot/vmlinuz-5.9.0-4-rpi
	initrd /boot/initrd.img-5.9.0-4-rpi
	fdtdir /usr/lib/linux-image-5.9.0-4-rpi/
	append LABEL=ROOT net.ifnames=0 consoleblank=0 rw single

"disk-image.qcow2" has msdos partition table with a single ext4 partition.
I got the attached kernel panic (screenshot attached).

I put disk-image.qcow2 at
http://153.240.174.134:64193/disk-image.qcow2  (336 MB).

I am unsure if I should file a bug report to some Debian package
regarding on this...

Best regards, Ryutaroh

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#977126: linux: No armel kernel can be booted by grub-efi-arm:armel Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-11 11:20 +0100
  Processed: Re: Bug#977126: linux: No armel kernel can be booted  by grub-efi-arm:armel "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-12-13 18:00 +0100
  Bug#977126: linux: No armel kernel can be booted by grub-efi-arm:armel Ben Hutchings <ben@decadent.org.uk> - 2020-12-13 18:00 +0100
    Bug#977126: linux: No armel kernel can be booted by grub-efi-arm:armel Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-13 21:40 +0100
      Bug#977126: linux: No armel kernel can be booted by grub-efi-arm:armel Ben Hutchings <ben@decadent.org.uk> - 2020-12-13 21:50 +0100
        Bug#977126: linux: No armel kernel can be booted by grub-efi-arm:armel Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-14 02:30 +0100
          Bug#977126: linux: No armel kernel can be booted by grub-efi-arm:armel Ben Hutchings <ben@decadent.org.uk> - 2020-12-14 03:10 +0100
            Bug#977126: linux: No armel kernel can be booted by grub-efi-arm:armel Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-14 03:30 +0100
              Bug#977126: linux-image-rpi does not boot by qemu-system-arm -machine raspi0 Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-14 10:10 +0100
                Bug#977126: panic log attached Re: linux-image-rpi does not boot by qemu-system-arm -machine raspi0 Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-14 22:30 +0100
                Bug#977126: panic log attached Re: linux-image-rpi does not boot by qemu-system-arm -machine raspi0 Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-15 08:50 +0100
  Processed: Re: panic log attached Re: linux-image-rpi does not  boot by qemu-system-arm -machine raspi0 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-12-15 08:50 +0100

csiph-web