Skip to content
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

Boot on USB DRIVE #2

Open
Alexandre-Rib opened this issue Jan 15, 2025 · 2 comments
Open

Boot on USB DRIVE #2

Alexandre-Rib opened this issue Jan 15, 2025 · 2 comments

Comments

@Alexandre-Rib
Copy link

Hi,

I followed your instructions up to chapter 7. Booting the kernel.

I plugged my bootable usb drive on RPI3, configured with cfdisk, and powered the RPI3.
I have nothing on my display (plugged on rpi3), nether on putty ( configured to Serial with baudrate to 115200. it works on a classical Linux installation on RPI0).

How should RPI3 boot on usb drive, on u-boot ? I see nothing in your instructions.

I hope you still give support on your instructions.

By advance, thank you for your answer

@mhomran
Copy link
Owner

mhomran commented Jan 15, 2025

Hi, the usb booting has nothing to do with what you want to boot e.g. uboot. It has to do with your Raspberry pi. For raspberry pi 3, you'll need the USB boot bit to be set in the OTP (one-time programmable memory) which "I don't recommend" because it will set your rpi to permanently boot from USB only. I have raspberry pi 3 b+ which has the option to boot from USB without having to enable this bit in the OTP memory.
I actually used USB because it was handy and easy, also I have it enabled by default in RPI 3 b+. It's not actually necessary for this tutorial, you can use an sd-card, and it will work fine.

Thank you and happy developing.

@Alexandre-Rib
Copy link
Author

Alexandre-Rib commented Jan 15, 2025

Hi,

thank you for your last answer.
Sadly, even with a sd card (16go => 977 Mo for FAT first partition, almost 15 GO for the linux partition), it doesn't work :
image

I put all this files to the root :
image

I think there is no error on the config.txt file :
config.txt

About the compiled/generated files, as Image, u-boot and bcm**.dtb , I just followed your instructions, and obviouly I used the cross toolchain the recommended.

I see a nice rainbow on my screen. But absolutelly nothing on Putty :
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants