Browse Source

migrating

master
Penguin 6 months ago
parent
commit
a8f93656e3
  1. 37
      README.md
  2. 2
      mount_a5
  3. 2
      multistrap_penguin.conf
  4. 0
      penguin.sh

37
README.md

@ -303,7 +303,44 @@ make ARCH=arm CROSS_COMPILE=${CC}
## Root Filesystem
```
COMMENT OUT NON-FREE
sudo multistrap -a armhf -f multistrap_penguin.conf
sudo LC_ALL=C LANGUAGE=C LANG=C chroot target-rootfs apt-get update
sudo LC_ALL=C LANGUAGE=C LANG=C chroot target-rootfs apt-get install \
sudo \
ethtool \
git \
gcc \
g++ \
libzmq3-dev \
net-tools \
make \
libconfig-dev \
libjansson-dev \
libusb-1.0-0-dev \
minicom \
dbus \
jq \
pv \
wget \
curl \
ntp \
ptpd \
i2c-tools \
parted \
dos2unix \
tree \
libjansson-dev \
libdatetime-perl \
libdbi-perl \
libclass-autouse-perl \
device-tree-compiler \
cmake
```
## To Do:
- Make a script for doing this automatically
- Make a script for device tree configuration automatically

2
mount_a5

@ -0,0 +1,2 @@
sudo sh -c "echo '/dev/mmcblk0p2 / auto errors=remount-ro 0 1' >> /mnt/rootfs/etc/fstab"
sudo sh -c "echo '/dev/mmcblk0p1 /boot/uboot auto defaults 0 2' >> /mnt/rootfs/etc/fstab"

2
multistrap_penguin.conf

@ -14,7 +14,7 @@ components=main contrib non-free
[Net]
#Basic packages to enable the networking
packages=netbase net-tools ethtool udev iproute iputils-ping ifupdown isc-dhcp-client ssh
packages=netbase net-tools ethtool udev iproute2 iputils-ping ifupdown isc-dhcp-client ssh
source=http://cdn.debian.net/debian/
[Utils]

0
penguin.sh

Loading…
Cancel
Save