Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: pic0refan on November 15, 2018, 10:19:04 PM
-
Hello!
I am trying to install PiCore at my Raspberry Pi Zero, no luck - it doesn't seem to bring up the network, and I have no screen/keyboard for now.
So far I have tried 8.1.5, 7.0 and 9.0...9.0.3 with the same result. The Pi itself and SD card are operable ( tried with basic installation of Arch Linux and that worked fine ).
What I did:
- dd if=piCore-8.1.5.img of=/dev/mmcblk0 bs=1M status=progress
- tried with both resized and unresized mmcblk0p2
- set/clear the bootable flag on first partition
the partition table:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 69631 61440 30M c W95 FAT32 (LBA)
/dev/mmcblk0p2 69632 15130623 15060992 7.2G 83 Linux
Am I missing something important?
Thank you!
-
hi pic0refan,
I am not exactly sure what you are expecting?
RPi0's don't have any networking.
regards
Greg
-
Maybe this will help:
https://raspberrypi.stackexchange.com/questions/38622/whats-the-cheapest-way-to-get-network-connectivity-to-the-pi-zero
-
Oh, sorry for not being clear - I use usb to Ethernet adapter ( like this one https://www.ebay.com/itm/Micro-USB-2-0-to-Ethernet-RJ45-Network-Lan-Adapter-For-Windows-10-8-1-8-Tablet-/351413958219 )
Which raises another question - do I need to have some custom Kernel module to make it work?
Again, it works out of a box with Arch Linux ( no custom kernel )
-
You could do some checking:
* when you plug the adapter in under arch linux, which kernel modules are loaded?
* when you plug the adapter in under arch linux, does dmesg show that firmware was loaded?
* when you plug the adapter in under tinycore, does dmesg or lsusb show that it is recognised?
-
In order to try the last step, I need some way to get "into" the box without keyboard / monitor.
Is there a serial console available in TinyCore by default? Or any other way to log in?
-
Oh, sorry for not being clear - I use usb to Ethernet adapter ( like this one https://www.ebay.com/itm/Micro-USB-2-0-to-Ethernet-RJ45-Network-Lan-Adapter-For-Windows-10-8-1-8-Tablet-/351413958219 )
Which raises another question - do I need to have some custom Kernel module to make it work?
Again, it works out of a box with Arch Linux ( no custom kernel )
hi pic0refan,
You have to understand that normal Linux distributions usually includes everything, that is why they are huge. Tiny Core, on the other hand, is minute because almost nothing is included. You often have to install the extension(s) you need. What to use bash, then load bash.tcz.
In this case you probably need to install something like "net-usb-4.9.22-piCore-v7.tcz". You need to match kernel and RPi version. Hopefully the driver for your device is included.
regards
Greg
-
Thanks, that helps, at least now I know some direction :)
How/where can I download that net-usb-4.9.22-piCore module? Apparently I have no network (yet) on the board itself, so I need to
- download it
- put it on the second partition
- load it somehow
Thanks again!
-
Hi pic0refan
Here's the link:
http://tinycorelinux.net/9.x/armv6/tcz/net-usb-4.9.22-piCore.tcz
You'll need to add net-usb-4.9.22-piCore.tcz to the onboot.lst file in your tce directory for it to load.
-
Hi pic0refan,
Usually the tce directory is /mnt/mmcblk0p2/tce/optional
Add "net-usb-KERNEL.tcz" to /mnt/mmcblk0p2/tce/onboot.lst to load the extension during the boot process.
regards
Greg
-
Thanks a lot, that worked! 8)