Test kernel for USB (Raspberry Pi 4)
Hi everyone,
I finally managed to get USB working on the Raspberry Pi 4 in bare metal! My driver currently supports keyboards and mice only.
However, the code is still quite hardcoded, and I would really appreciate your help testing it.
If you have a Raspberry Pi 4 available, could you please try running the kernel and see how it behaves on your board? I only have one unit, so I’m curious how it performs on other devices.
There is one known bug: if you unplug the keyboard, an exception occurs. So plug-and-play isn’t fully reliable yet.
Thanks in advance!
The kernel can be downloaded here: https://www.satyria.de/arm/sources/RPI4 ... ernel8.img
I've attached a ZIP file here that contains the complete contents of the SD card. Simply format an SD card to FAT32 and copy the contents into the root directory. Then start up your Raspberry Pi 4 with a keyboard connected.
The ZIP can be downloaded here: https://www.satyria.de/arm/sources/RPI4 ... Kernel.zip
Best regards,
Satyria
I finally managed to get USB working on the Raspberry Pi 4 in bare metal! My driver currently supports keyboards and mice only.
However, the code is still quite hardcoded, and I would really appreciate your help testing it.
If you have a Raspberry Pi 4 available, could you please try running the kernel and see how it behaves on your board? I only have one unit, so I’m curious how it performs on other devices.
There is one known bug: if you unplug the keyboard, an exception occurs. So plug-and-play isn’t fully reliable yet.
Thanks in advance!
The kernel can be downloaded here: https://www.satyria.de/arm/sources/RPI4 ... ernel8.img
I've attached a ZIP file here that contains the complete contents of the SD card. Simply format an SD card to FAT32 and copy the contents into the root directory. Then start up your Raspberry Pi 4 with a keyboard connected.
The ZIP can be downloaded here: https://www.satyria.de/arm/sources/RPI4 ... Kernel.zip
Best regards,
Satyria
Return to "Bare metal, Assembly language"
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Media centres
- Gaming
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion