-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm-rpi build don't boot on raspberry pi (bcm2835) #12
Comments
Assuming you have confirmed that the serial cable you are using works. Do have the correct versions of the required files also on the SD card?
|
check my document at https://github.com/hzhou81/xinu-documents |
Hello thank you for your replies. My pi is a PI B (the one with 512M and just 2USB ports). I did the compilation again, using the hzhou81 commands: make -C compile clean Then I copy and rename "xinu.boot" to "kernel.img" to my sdcard root directory. The bootcode.bin and start.elf are already there, because I use the sdcard with a raspian distro (so threre is more files in there). Boot the pi, and get garbled output as bellow: Connecting to /dev/ttyUSB0, speed 115200
|
Setting console input/output.Buy a USB to TTL module,follow method to connect to raspberry pi tty connect diagram https://github.com/hzhou81/xinu-documents/blob/master/images/TTL.png Connect using minicom。First running sudo apt install minicom to install "minicom" software module。Make USB to TTL module connect to your computer,as a /dev/ttyUSB1 device,Open "minicom" setting port to "/dev/ttyUSB1"、rate to "115200" and "Hardware Flow Control" to "No" https://github.com/hzhou81/xinu-documents/blob/master/images/minicom.png Starting debug. You will see through PL011 chip, XINU output TTL signals using GPIO,and finally output message on your computer screen minicom debug picture |
I have USB to TTL module, its configured and working, I also use it to send binary files to run them without saving to sdcard, w/o any problems. I use kermit, not minicom, but configured as you said, and works good. Summary: my Raspberry Pi B its incompatible with xinu. Can you give me some hints on how to change the code to init the uart as early as possible to check what is wrong? |
The build successfuly complete.
The xinu.boot is copied to kernel.img on boot partition on sdcard
There is no output on serial console.
The text was updated successfully, but these errors were encountered: