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

uboot: add support for the Raspberry Pi Zero W #41091

Closed
wants to merge 1 commit into from

Conversation

lopsided98
Copy link
Contributor

Motivation for this change

Even thought the hardware is very similar to the Raspberry Pi 1, U-Boot has a separate config for the Raspberry Pi Zero W. The main difference seems to be a different pin for the LED.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@dezgeg
Copy link
Contributor

dezgeg commented May 26, 2018

I have this branch of various Rasberry Pi / U-Boot changes which adds the rpi0 U-Boot as well, can you try this: https://github.com/dezgeg/nixpkgs/commits/plat-fix-with-rpi0. Hopefully I get to do final testing + merging next week.

@lopsided98
Copy link
Contributor Author

Thanks, those commits look great. I agree that we should probably switch to using a mainline kernel whenever we can. I am running mainline on my Raspberry Pi 1B and Zero W, and it is working well. The only issue I ran into was that the wifi didn't work out of the box on the Zero W, but I have a fix for that (I think it will also fix the Raspberry Pi 3's wifi).

I tried updating linux_rpi to the latest version a few days ago, but I wasn't able to get it to boot. I didn't update raspberrypifw, so maybe that was the problem.

@lopsided98 lopsided98 closed this May 27, 2018
@lopsided98 lopsided98 deleted the uboot-raspberry-pi-zero branch May 27, 2018 00:34
@dezgeg
Copy link
Contributor

dezgeg commented May 27, 2018

Newer linux_rpi not booting is fixed by the patch included in the U-Boot upgrade (and a few days ago got upstream to be included in the next release)

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

Successfully merging this pull request may close these issues.

None yet

3 participants