Comments (4)
The important message is buried in that text:
erlinit: The shell will be launched on tty 'ttyS0'
erlinit: If you would like the shell to be on this tty,
erlinit: configure erlinit with '-c tty1'
Your RPi4 isn't hung. It's just waiting for input on the Raspberry Pi 4's UART pins. This and connecting via ssh are the more convenient setups for development, but it shouldn't be the default for new projects. Do you have a rootfs_overlay/etc/erlinit.conf
file that overrides the default tty?
from nerves_system_rpi4.
Thanks @fhunleth. No, I did not override anything.
I'm sorry, I expected iex console because of the documentation:
Now that you have your SD card burned, you can insert it into your device and boot it up. For Raspberry Pi, be sure to connect it to an HDMI display and USB keyboard so you can see it boot to the IEx console.
from nerves_system_rpi4.
You're right. The tty is set to the UART in this system. https://github.com/nerves-project/nerves_system_rpi4/blob/master/rootfs_overlay/etc/erlinit.config#L8. That's inconsistent with our other Raspberry Pi systems. I'll make a PR to fix that.
To get you working more quickly, create a rootfs_overlay/etc
directory in your project and add it to your configuration. See https://hexdocs.pm/nerves/advanced-configuration.html#root-filesystem-overlays.
Then copy https://github.com/nerves-project/nerves_system_rpi4/blob/master/rootfs_overlay/etc/erlinit.config to rootfs_overlay/etc/erlinit.config
and comment out -c ttyS0
and comment in -c tty1
.
from nerves_system_rpi4.
Works fine, thanks.
from nerves_system_rpi4.
Related Issues (14)
- Archive size quadrupled from 1.15 to 1.16 release HOT 8
- Support VL805 firmware updates HOT 2
- USB Serial Device not being recognised/loaded HOT 1
- Nerves Hub connection fails after upgrading to 1.19.0 HOT 14
- USB-C Gadget mode HOT 7
- [bug / v1.11.0] Erlang VM not started HOT 1
- Camera Support HOT 6
- Increasing uboot size HOT 4
- v1.12.2 still looks for fixup4.dat HOT 3
- rpi3 to rpi4 project upgrade failure HOT 4
- Enable Additional UART of Raspberry Pi 4B HOT 5
- Switch to 64-bit HOT 3
- Can't connect 5GHz WiFi when using 1.13.1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerves_system_rpi4.