WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to remaster piCore-7.0.img?  (Read 1566 times)

Offline mythbu2

  • Newbie
  • *
  • Posts: 1
How to remaster piCore-7.0.img?
« 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 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. But when I want to mount the rootfs via

Code: [Select]
mount -v -o offset=35659776 -t ext4 piCore-7.0.img tmp2/
I get an error:

Code: [Select]
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!



Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to remaster piCore-7.0.img?
« Reply #1 on: August 31, 2016, 08:33:39 AM »
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.

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."