General TC > Tiny Core Netbooks

Wifi Setup on a HP Laptop running TinyCore 11.1 (64 bit)

<< < (12/15) > >>

Rich:
Hi RYTCL

--- Quote from: RYTCL on November 26, 2020, 01:26:25 PM --- ... 1.  Is there a Command to rebuild / update wireless-5.4.3-tinycore64.tcz.   Will the current build process result in .tcz file ?
..and then over-write the rt2800pci.ko driver in wireless-5.4.3-tinycore64.tcz with the one compiled ...
--- End quote ---
There's a script that is used to sort and package all of the kernel modules. I'll get you a list of instructions.


--- Quote --- ... 2.  Is there a command to list all the files in the new TCZ package to confirm RT3290 files are present ?
--- End quote ---

--- Code: ---unsquashfs -ll ExtensionName.tcz
--- End code ---

Rich:
Hi RYTCL
OK, here you go:

--- Code: ---# Place the modules somewhere for packaging.
mkdir -p ~/tmp/package/modules/usr/local
make INSTALL_MOD_PATH=/home/tc/tmp/package/modules/usr/local modules_install
cd ~/tmp/package/
# I like to keep the mod.alias, mod.builtin, mod.dep, mod.order, and mod.symbols files.
mv modules/usr/local/lib/modules/4.19.10-tinycore64/modules.* .
# Remove the 2 links in modules/usr/local/lib/modules/4.19.10-tinycore64/
rm modules/usr/local/lib/modules/4.19.10-tinycore64/build
rm modules/usr/local/lib/modules/4.19.10-tinycore64/source

# Set up sorter.sh to package all the modules.
cd ..
mkdir sorter
cd sorter
tce-load -i bash squashfs-tools zsync
wget https://github.com/tinycorelinux/sorter/archive/master.zip
unzip master.zip
cd sorter-master/
# This creates all of the Tinycore module packages and leaves them in the current directory.
./sorter.sh 4.19.10-tinycore64 /home/tc/tmp/package/modules
--- End code ---

Copy the  wireless-KERNEL.tcz  file to your  tce/optional  directory. Delete the  wireless-KERNEL.tcz.md5.txt  file in your
tce/optional  directory so that any future extension updates don't overwrite it with the version in the repo.

RYTCL:
My DRIVER build directory :   /home/tc/work/linux-5.4.3

ZERO errors uptil 'make modules'.
Did a reboot and ran the above command again to ensure all files were still there.

/work/linux-5.4.3> make INSTALL_MOD_PATH=/home/tc/tmp/package/modules/usr/local modules_install

cp: can't stat './modules.builtin.modinfo': No such file or directory
make: *** [Makefile:1319: _modinst_] Error 1


I ran a search  'find /home/tc -print  | grep modules.builtin.modinfo'  & could not locate one.

Rich:
Hi RYTCL
If you go to  /home/tc/tmp/package/modules/usr/local  is it populated with subdirectories and  .ko  files?

RYTCL:
~/tmp> find . -print | grep ko

no output.

> find /home/tc/tmp -print > /tmp/home.tc.tmp.dir

Attachment: home.tc.tmp.dir

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version