Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Twist on December 20, 2019, 05:50:03 AM

Title: is wireless-4.19.81-piCore just a subset of modules.tar.gz?
Post by: Twist on December 20, 2019, 05:50:03 AM
I'm working towards getting wifi up on a pi zero w running 11.xbeta1a

Am I right in thinking that the required wireless-4.19.81-piCore.tcz would just be a subset of the modules.tar.gz (http://repo.tinycorelinux.net/11.x/armv6/releases/RPi/src/kernel/modules.tar.gz)

Is there guidance somewhere on what bits to include?
Title: Re: is wireless-4.19.81-piCore just a subset of modules.tar.gz?
Post by: Rich on December 20, 2019, 09:46:53 AM
Hi Twist
I believe that file contains all of the modules built for that kernel. Once you've downloaded the file:
Code: [Select]
tar xf modules.tar.gz
cd lib/modules/4.19.81-piCore

There you will find some useful files about the modules:

modules.builtin:  These modules are already built into the kernel.
modules.order:    This is the list of external modules built for this kernel. It includes their path so you know where to find them.
modules.dep:      Module dependencies. Each line contains  ModuleName:  followed by its dependencies, if any.
modules.alias:    This file can help you track down the correct driver if you know the hardwares  Vendor ID  and Product ID.
modules.symbols:  If you get  symbol not found  messages in dmesg, search for it here. It may point to a missing module.

Title: Re: is wireless-4.19.81-piCore just a subset of modules.tar.gz?
Post by: Twist on December 20, 2019, 11:13:20 AM
Thanks Rich. Great piece of guidance. I've now created a tiny tcz with just the kernel modules needed for the brcmfmac (+ dependencies).
All the other extensions needed for wifi have been built as well.

I can confirm: Wifi on Pi Zero W running on 11.0beta1 is working!
Title: Re: is wireless-4.19.81-piCore just a subset of modules.tar.gz?
Post by: bmarkus on December 23, 2019, 01:18:25 AM
Quote from: Twist link=topic=23395.msg146589#msg146589 date=1576858400

I can confirm: [color=green
Wifi on Pi Zero W running on 11.0beta1 is working![/color]

Thanks for the feedback!

Béla