Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: mythbu2 on August 31, 2016, 06:14:18 AM
-
Hi there,
for a Raspberry Pi project I need to use TCL together with a USB Ethernet adaptor. The device has the id 0b95:772b and is detected by a plain piCore-7.0.img image of TCL. But no network interface is created - I guess due to the lack of a driver. On this (http://ftp.nluug.nl/os/Linux/distr/tinycorelinux/7.x/armv6/1/modules/4.4.15-piCore+/kernel/drivers/net/usb/) mirror I found the kernel module ax88179_178a.ko which might help me out.
But in order to install it I need to remaster the piCore-7.0.img and to do this I tried this method of mounting the image (http://raspberrypi.stackexchange.com/a/13138/52757). But when I want to mount the rootfs via
mount -v -o offset=35659776 -t ext4 piCore-7.0.img tmp2/
I get an error:
mount: enabling autoclear loopdev flag
mount: going to use the loop device /dev/loop1
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
So how to remaster it? And how to provide support for my LogiLink USB Ethernet adaptor?
Cheers!
-
piCore-7.0 is built on 4.1 kernel. Use module matching your kernel version, modul built for other kernel versions will not work.
While remastering can be done, much more practical to use a tcz extension with you driver.
Download the complete module pack from
http://www.tinycorelinux.net/7.x/armv6/releases/RPi/src/kernel/
and extract what you need. Extension creation is described in the WiKi.