Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7682

Troubleshooting • Re: Trixie Light on a RPI Zero V1.3

$
0
0
I tried again with a rpi-imager that has a version > 2.0.0

Summary: The RPI Zero V1.3 seems to boot and resize the file system. It however does not come up as USB device on the host.

Next Step: I will try to load the kernal modules dwc2 and g_ether via cmdline.txt with the next attempt

Details:

1) Writing the image onto the sd card
- Host OS: Ubuntu 24.04.4 LTS
- Raspberrypi Imager: V2.0.10 (I am running it as app image)
+ Device: Raspberry PI Zero
+ OS: Raspberry PI OS (other) -> Raspberry PI Os Lite (32-bit) A port of Debian Trixie with no desktop environment (Released 2026-06-18)
+ Storage: Internal SD card reader (card has 29.7 GB)
+ Hostname: raspberry
+ Localisation:
++ TZ: Europe/Berlin
++ Keyboard: De
++ Wifi skipped (as the Zero V1.3. has no wifi)
++ Enable SSH (with password authentication)
++ Raspberry Connect: Disabled

2) Files on freshly installed sd card mounted on the host and not yet run on the RPI Zero
- Observation: There is no directory 'firmware' in /media/pcadmin/bootfs
- /media/pcadmin/bootfs/cmdline.txt:

Code:

 console=serial0,115200 console=tty1 root=PARTUUID=4f2c9ea0-02 rootfstype=ext4 fsck.repair=yes rootwait resize cfg80211.ieee80211_regdom=DE ds=nocloud;i=rpi-imager-1785063606734
- /media/pcadmin/bootfs/config.txt

Code:

grep -v '#'  /media/pcadmin/bootfs/config.txt | sed '/^$/d'dtparam=audio=oncamera_auto_detect=1display_auto_detect=1auto_initramfs=1dtoverlay=vc4-kms-v3dmax_framebuffers=2disable_fw_kms_setup=1disable_overscan=1arm_boost=1[cm4]otg_mode=1[cm5]dtoverlay=dwc2,dr_mode=host[pi5]dtoverlay=nospi10[all]
3) Booting the RPI
I unmounted the sd card and transferred it from the host to the RPI Zero V1.3. Then I connected the RPI to a USB port of the host.
Result:
- When powering up the RPI, the ACT light wildly flashed for a while (This is probably the file system being resized). After a couple of minutes it remains continuously on.
- lsusb never shows a gadget device or any other raspberry related device

Remark:
As I have no mini hdmi Adapter yet, I cannot see what is happening on the tty console of the RPI

4) "Port-mortem" analysis of the sd card
I then to the sd card out of the rpi and mounted it on the host again.
- There is no log file /media/pcadmin/rootfs/var/log/syslog or /media/pcadmin/rootfs/var/log/messages

Code:

ls -la  /media/pcadmin/rootfs/var/log/total 124drwxr-xr-x   6 root root             4096 Jun 18 02:17 .drwxr-xr-x  11 root root             4096 Jun 18 02:17 ..-rw-r--r--   1 root root                0 Jun 18 02:16 alternatives.logdrwxr-xr-x   2 root root             4096 Jun 18 02:09 apt-rw-r--r--   1 root root                0 Jun 18 02:16 bootstrap.log-rw-rw----   1 root utmp                0 Jun 18 02:16 btmp-rw-r-----   1 root adm             90472 Jun 18 02:19 cloud-init.log-rw-r-----   1 root adm              2752 Jun 18 02:19 cloud-init-output.log-rw-r--r--   1 root root                0 Jun 18 02:16 dpkg.logdrwxr-sr-x+  2 root systemd-journal  4096 Jun 18 02:05 journal-rw-rw-r--   1 root utmp                0 Jun 18 02:16 lastlogdrwx------   2 root root             4096 Jun 18 02:05 privatelrwxrwxrwx   1 root root               39 Jun 18 02:05 README -> ../../usr/share/doc/systemd/README.logsdrwxr-xr-x   3 root root             4096 Jun 18 02:08 runit-rw-rw-r--   1 root utmp              768 Jun 18 02:18 wtmp
- Partitions:

Code:

sudo fdisk -l /dev/mmcblk0Disk /dev/mmcblk0: 29.72 GiB, 31914983424 bytes, 62333952 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x0a23d8e5Device         Boot   Start      End  Sectors  Size Id Type/dev/mmcblk0p1        16384  1064959  1048576  512M  c W95 FAT32 (LBA)/dev/mmcblk0p2      1064960 62333951 61268992 29.2G 83 Linux
- /media/pcadmin/bootfs/cmdline.txt : "Resize" is removed

Code:

cat /media/pcadmin/bootfs/cmdline.txt console=serial0,115200 console=tty1 root=PARTUUID=0a23d8e5-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE ds=nocloud;i=rpi-imager-1785063606734
- locations of config.txt and cmdline.txt:

Code:

/media/pcadmin$ sudo find . -name config.txt./rootfs/boot/config.txt./bootfs/config.txt/media/pcadmin$ sudo find . -name cmdline.txt./rootfs/boot/cmdline.txt./bootfs/cmdline.txt/media/pcadmin$ cat rootfs/boot/cmdline.txt DO NOT EDIT THIS FILEThe file you are looking for has moved to /boot/firmware/cmdline.txt/media/pcadmin$ cat rootfs/boot/config.txt DO NOT EDIT THIS FILEThe file you are looking for has moved to /boot/firmware/config.txt

Thanks
Tilman

Statistics: Posted by tilman1 — Sun Jul 26, 2026 11:43 am



Viewing all articles
Browse latest Browse all 7682

Latest Images

Trending Articles



Latest Images