-
Notifications
You must be signed in to change notification settings - Fork 133
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
Raspberry Pi Zero 2 #729
Comments
If it is a new hardware, likely it needs a new kernel plus updated/new device tree. It just needs a updated build with the current upstream (further upstream, from the pi people) kernel + devicetree. |
The pi zero 2 w has only been available for a few weeks. Anyway, since it is new hardware, likely need the latest upstream kernel plus devicetree; it is not a surprise that current /last build of berryboot does not work. |
Still waiting no wonder why i ask you to update berryboot hintak,anyway your last version berryboot-20210805-pi0123 its not working at all you can delete it. |
Already explained - Pi Zero 2 is no Pi Zero, and you should not expect an earlier kernel to support later hardware. It just does not work. However, that does not devalue the support for Pi Zero (original, no 2). The old kernel supports older hardwares. That's all, nothing more, nothing less.
|
I mean the berryboot-20210805-pi0123 its not working with any pi tested so you can remove it. |
HinTak can you do me a favor and release an updated version for the 32bit Rpi4 version since it works way better than the native 64bit version and also include the latest usb boot fixes in the first three commits under: Thanks |
Zero support anyway |
Hintak can you give me please the Instructions you use to make/build berryboot eg: depends,, commands,i tried the official way didint make it |
My notes of how it was built is the file "Customizing-Berryboot.md" at
https://github.com/HinTak/RaspberryPi-Dev
|
I cannot do it there arent exact instructions how to build and compile and the depends needed, there is only customizing info that i dont understand at all. |
The actual build instruction is half way down, starting with "Capture logs while building Berryboot". The two commands simultaneously capture the log as "berryboot-build-log" and also display it:
# 32-bit build:
./build-berryboot.sh device_pi0123 2>&1 | tee berryboot-build-log
# 64-bit build:
./build-berryboot.sh device_pi64 2>&1 | tee berryboot-build-log
So it is perhaps best if you try the command and post the "berryboot-build-log" file generated. The content of it would be exactly what errors/problems you see from building, saved to a file.
The two builds require two different cross compilers. one is gcc-arm-linux-gnu and the other is gcc-aarch64-linux-gnu , and you need your usual native compiler too.
Remember Berryboot is a fairly complete (in the sense of "self-contained") linux system, so it requires a fair complete set of dev tools, enough to build a linux system from scratch, plus cross-compiling such a system.
|
Sorry but i dont undetstand many things i just know how to clone a repo and after compile/ build from it But it was always stopping coz depends were missing and was doing this for hours and hours until i cancel it I dont understand why they dont release an update here for them must be a piece of cake to do it i just dont know it. |
As I wrote in Customizing-Berryboot.md, even if you have everything needed (e.g. you have done it successfully before), the build process is not fast - on my hardware, typically takes about 4 - 7 hours; and it would trty to download stuff from the internet too, so it depends on your network connectivity speed to some extent, too.
Berryboot is essentially a mini- but full self-contained linux system, so it requires quite a large set of dev tools to build - typical of building every part of a small linux system, I suppose. There is no getting around it.
|
It will be good all this tools/dev things to be included in the script so everything will be done/installed automatic, I can't make it like this,thanks anyway. |
Hintak you can remove the: berryboot-20210805-pi0123 from your github its not working with any raspberry pi i tried it. |
Hintak will you release if you want and can an updated berryboot version with bullseye kernel for Rpi4 please?? |
My pi is not operational at the moment - the last SD card died suddenly a while ago and I haven't figured out what's wrong with it and/or decide trying to savage data from it yet, so I am not doing much with / on my Pi lately or in the near future. Sorry. Until I get a new SD card and/or try to savage the old, not much I am doing at all with Pi dev in general. That said, my notes is out there for people to try. |
I boot from mechanical hdd ,i have many spare sd cards thought if you want i can send you one,clean the contacts of the card with isopropyl alcohol |
Im trying to build berryboot |
"which" and "bazaar" are their own packages. "which" is quite common. Are you sure you need bazaar? That's for checking out sources directly from a bazaar repo. "sftp" is part of "openssh-clients"
|
No i dont need baazar i thought it was necessary, |
On the pi, you can do 'sudo apt-get install which', etc. Ubuntu has a slightly more up to date software stack. The pi4 isn't much slower than my laptop, so maybe 5-10 hours? And quite a lot of disk space, and a network connection. |
Is it possible to create a sh script that installs the depends first and then ask you for example for what raspberry pi board to create the berryboot installer, And compiles/builds after?? In other words an automated berryboot installer script?? |
Short answer, no. Mostly you just keep on installing missing things until it works, and don't remove them. So it is a lot of one-off operations. |
I
I tried to build berryboot the pi64 version, in raspberry pi4 with raspbian bullseye 32bit and got this error Should i do it in 64 bit OS?? Or should i do it in raspbian buster? Or its just not possible in arm??? |
You need to install the Cross compiler. It should say Aarch64-...-gcc instead of gcc. |
I think i have install it,but will it install it in 32bit os? |
Hmm, forget my last comment - you haven't got to that stage yet. this is in the host part - it is complaining the machine/cpu you use to compile is too low spec, or the compiler too old. |
So what now? I contacted the berryboot creator but i think he does not bother to make an updated version he did not even answer, looks like berryboot is abandoned. Anyway thanks |
Try upgrading the gcc compiler - pick the highest you can. Raspberrypi supports multiple simultaneous ones, the default might be a bit low. |
Ok What is the apt name aarch64-gcc ?? |
Try |
I installed every aarch64 compiller there is still the same error |
Forgot, that's the later part. You probably need a more recent gcc / binutils . What does "gcc -v" say? |
There is not gcc-v in apt search |
I mean just running "gcc -v". It should show the gcc version. |
Gcc version 10.2.1 |
Argh, identical problem, the answer is in crosstool-ng/crosstool-ng#1248 |
Thanks This is the answer?? Setting CT_EXTRA_CFLAGS_FOR_HOST="-march=armv7-a -mfloat-abi=hard -mtune=cortex-a5" on top of the xtensa-fsf-elf sample has got me past the GMP build error (the full build is still going). If yes what i do ??? |
Find where CFLAGS is set wrongly when gmp is built, and correct it. |
And how i do that? |
Anyway i dont think i can do it im not so experienced with that things,if you can sometime in the future to release an updated version in your git page for pi64 will be great thank you |
Hi
The newly released Raspberry Pi Zero 2
Is not working with berryboot
I tried the 32bit version and the 64bit version
Its stuck on the rainbow screen
Any fix or an update to make it work ??
The text was updated successfully, but these errors were encountered: