WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Unable to boot on Pi Zero W  (Read 1054 times)

Offline br0kenpixel

  • Newbie
  • *
  • Posts: 1
Unable to boot on Pi Zero W
« on: December 29, 2021, 08:10:38 AM »
Hi. I'm trying out TinyCoreLinux on my Raspberry Pi Zero W but I can't make it boot up.
I downloaded the latest version of TCL (piCore 13.1.0) and flashed it to my SD card using the Raspberry Pi Imager.
Then, I enabled the serial console by editing the cmdline.txt and config.txt files. I don't want to use WiFi or Ethernet so I did not install any drivers.
I just plugged in the SD card to my Pi and powered it on. Then I opened the serial port and got this:
Code: [Select]
Booting Core 13.1.0
Running Linux Kernel 5.10.77-piCore.
Checking boot options... Done.
Starting udev daemon for hotplug support... Done.
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Skipping rtc as requested from the boot command line.
Possible swap partition(s) enabled.
Loading extensions... Done.
Setting keymap to us Done.
Restoring backup files from /mnt/mmcblk0p2/tce/mydata.tgz /
Done.
Setting hostname to box Done.
login[489]: root login on 'tty1'

Here, the Pi is stuck for about 5 minutes and then this shows up:
Code: [Select]
Generating public/private rsa key pair.
Your identification has been saved in /usr/local/etc/ssh/ssh_host_rsa_key
Your public key has been saved in /usr/local/etc/ssh/ssh_host_rsa_key.pub
The key fingerprint is:
SHA256:tkKrP7pw3fybNT1xJz/I6kJxBC/YysAs5p+Lnn2xYuo root@box
The key's randomart image is:
(randomart here)
Generating public/private dsa key pair.
Your identification has been saved in /usr/local/etc/ssh/ssh_host_dsa_key
Your public key has been saved in /usr/local/etc/ssh/ssh_host_dsa_key.pub
The key fingerprint is:
SHA256:xqHfchI5xywqzw04NDXZ0UNw6aKzppYQqEEL+pPE/Ow root@box
The key's randomart image is:
(randomart here)
Generating public/private ecdsa key pair.
Your identification has been saved in /usr/local/etc/ssh/ssh_host_ecdsa_key
Your public key has been saved in /usr/local/etc/ssh/ssh_host_ecdsa_key.pub
The key fingerprint is:
SHA256:tnT8PKKGXuCMJKdwBtaLQDMhOLsEtUTTgqfQjK3e1u8 root@box
The key's randomart image is:
(randomart here)
Generating public/private ed25519 key pair.
Your identification has been saved in /usr/local/etc/ssh/ssh_host_ed25519_key
Your public key has been saved in /usr/local/etc/ssh/ssh_host_ed25519_key.pub
The key fingerprint is:
SHA256:YsR9T8GpiHoPOtk1hrA4j0VIM0dJiDekr7W6ncd/mnA root@box
The key's randomart image is:
(randomart here)

After this, there's nothing, and the Pi is stuck here completely. Nothing else happens.
Also, is there any way to skip the SSH key generation? I'm not planning on using SSH at all.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 673
Re: Unable to boot on Pi Zero W
« Reply #1 on: December 29, 2021, 01:02:24 PM »
You have to edit the inittab file inside the rootfs-picore file to run the getty for your console.
You can read some of this thing in this old thread.

http://forum.tinycorelinux.net/index.php/topic,21129.15.html



And there lots of UART info on raspberry pi forum.

https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts
« Last Edit: December 29, 2021, 01:25:25 PM by patrikg »