ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.84k stars 1.88k forks source link

Full Firmware Package not installing / Rebuild process #338

Closed DiogoSilva48 closed 2 years ago

DiogoSilva48 commented 2 years ago

Hi. I was using a very old version and formatted the SD Card today with the latest Jammy build 5.15 on my S905X and I was trying to install the full firmware package (needed for my Wifi to work) and doesn't work, switches two times between "Loading full submodule..." and "Please wait..." with a progress bar, always at 0%, after that returns to the same menu with nothing installed. Any idea? thanks

ophub commented 2 years ago

What is your wireless chip? It cannot be used without a wireless driver. A wired connection can be used.

DiogoSilva48 commented 2 years ago

My wireless chip is QCA9377, the driver is there, the only thing missing is the firmware, after adding it wifi works fine, I can add it manually (like we talked here https://github.com/ophub/amlogic-s9xxx-armbian/issues/98 ) but installing the full firmware package was a lot easier and saved some time and it was working before.

ophub commented 2 years ago

Compress a ath10k.zip file from your normal debugging directory (/lib/firmware/ath10k/) and upload it here, I will add it to the default firmware.

ophub commented 2 years ago

I just added QCA9377 to the default firmware, You download today's firmware and try.

DiogoSilva48 commented 2 years ago

Haven't tried it yet. Sorry to ask here but I don't want to open another issue @ophub I have a problem rebuilding an image, if I put 6000 or 6500 on the size, I get an error uploading an image too big, If I put 5000 I get errors with CP command, no space left but completes and uploads. Any idea what's the ideal size for jammy with xfce? Even if I have to build from scratch instead of rebuilding.

ophub commented 2 years ago

https://armbian.tnahosting.net/dl/odroidn2/archive/

This is the official download address, you can refer to its size.

https://docs.github.com/cn/repositories/working-with-files/managing-large-files/about-large-files-on-github

github restricts that a single file cannot exceed 2g, and if it exceeds, it cannot be uploaded to releases

DiogoSilva48 commented 2 years ago

https://armbian.tnahosting.net/dl/odroidn2/archive/

This is the official download address, you can refer to its size.

https://docs.github.com/cn/repositories/working-with-files/managing-large-files/about-large-files-on-github

github restricts that a single file cannot exceed 2g, and if it exceeds, it cannot be uploaded to releases

Thanks, gonna look into it. Can you download the artifact without it being uploaded to releases ? Also, the size we write is in what unit? like mb, gb, etc, etc.

ophub commented 2 years ago

You can upload to other network disks and find the interfaces of other service providers yourself. 2Gb

DiogoSilva48 commented 2 years ago

You didn't understand my question

image

I meant, the size we write here, it in what unit? doesn't say, just asks for a value.

ophub commented 2 years ago

MiB

https://github.com/ophub/amlogic-s9xxx-armbian/commit/781bcb127f56f2e0eb634008d6a38461bd2a0a98

https://github.com/ophub/amlogic-s9xxx-armbian/blob/6943978fca18c46c097bd49230bef34227da8524/rebuild#L80

DiogoSilva48 commented 2 years ago

MiB

781bcb1

https://github.com/ophub/amlogic-s9xxx-armbian/blob/6943978fca18c46c097bd49230bef34227da8524/rebuild#L80

Thank you very much. Sorry to bother you again, but I'm having a bit of a hard time, if I wanted to upload to google drive, using this https://github.com/marketplace/actions/google-drive-upload-git-action , to specify the name of the artifact, in this case the "filename" should be with this "${{ env.PACKAGED_OUTPUTPATH }}/*" ??

DiogoSilva48 commented 2 years ago

Ok, I was able to find an easy way to download the bigger files.

image image

the ending result is like this, the artifact is down there, you just click on it to download. Ignore the error, I kept the upload to release thing.

DiogoSilva48 commented 2 years ago

Thanks so much, Wifi is now working out of the box.

ophub commented 2 years ago

very good