User Tools

Site Tools


raspi:raspi_prepare_picore

Raspberry Pi: Prepare PiCore

Note: This is an alternative to using Raspbian. Although not necessary, reading how-to on preparing the SD card is recommended.

Preparing SD Card with PiCore

work in progress…

- download image from https://distro.ibiblio.org/tinycorelinux/ports.html
- select latest stable image (in zip format)
- unzip and dd to sdcard
- use fdisk to resize second partition (linux)
  = e.g. fdisk /dev/sde
  = watch the start block!
- use resize2fs to resize to full capacity
  = e.g. resize2fs /dev/sde2
- reboot and do stuffs
  = [INIT] filetool.sh -b
  = [BASE] tce-load -wi TC
  = [MINE] tce-load -wi compiletc git geany


fdisk -lu /path/disk.img

-> in sector counts (usually 512-bytes sectors)

mount -o loop,offset=xxxx /path/disk.img /mnt/disk.img.partition

-> offset in bytes!

picore requires:
> tce-load -wi i2c-tools
> sudo modprobe i2c-dev

i2cdetect -y 1
raspi/raspi_prepare_picore.txt · Last modified: 2020/09/17 09:10 by 127.0.0.1