LuckfoxTECH / luckfox-pico

luckfox-pico sdk
288 stars 113 forks source link

AlpineLinux image may be corrupted #107

Open nopnop2002 opened 4 months ago

nopnop2002 commented 4 months ago

The AlpineLinux image is published here.

https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-Alpine-Linux-1

I downloaded it, wrote it to the SD card, and started mini-a. The image may be corrupted.

alpine-linux

vjoco commented 4 months ago

Hi @nopnop2002

The image you downloaded is not for an SD card, is for the onboard flash memory, it has to be burned with the SocToolKit software just if you have a board with a qspi flash there (like mini-b or pico plus).

I know how to generate alpine images for the SD too, but I'm really short in time. The second tutorial (Alpine Linux Porting (2)) explains how to do it.

nopnop2002 commented 4 months ago

thank you for your reply.

If I write this firmware to Mini-B, can I use USB-WiFi?

vjoco commented 4 months ago

thank you for your reply.

If I write this firmware to Mini-B, can I use USB-WiFi?

yes, but it's not "out of the box". you have to enable usb host support, and add the kernel drivers and firmware for your adapter. Which wifi adapter you you have? (lsusb gives vid and pid)

nopnop2002 commented 4 months ago

I studied alpinelinux a little bit.

Perhaps I also need to change the SSID and password of the WiFi router to suit my environment.

It's probably also difficult for us to add WiFi drivers.

I think it would be wonderful if something like this could be done.

・Change the SSID and password of the WiFi router ・Change root password ・Run make to build the kernel ・Upload new kernel to Luckfox ・Coonenct to WiFi


I have these USB dongles. I'll be satisfied if one of them works.

RTL8188ETV(0bda:0179 Realtek Semiconductor Corp) RTL8188EUS(0bda:8179 Realtek Semiconductor Corp) RTL8188CUS(0bda:8176 Realtek Semiconductor Corp. RTL8188CUS) RTL8811AU(0bda:a811 Realtek Semiconductor Corp.) RTL8811CU(0bda:c811 Realtek Semiconductor Corp.) MT7601U(148f:7601 Ralink Technology, Corp.) RT5370(148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter) RT3070(148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless) RTL8192EU(0bda:818b Realtek Semiconductor Corp.) RTL8811AU(0bda:a811 Realtek Semiconductor Corp.) RTL8811CU(0bda:c811 Realtek Semiconductor Corp.)

peterwillcn commented 4 months ago

Screenshot 2024-05-22 at 08 49 57