Select Git revision
env_onenand.c
Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
David du Colombier authored
This fix prevents env_import() CRC to fail when CONFIG_ENV_SIZE is not equal to 4096 bytes It also prevents mtd->read and mtd->write to be incomplete when the environment is larger than 4096 bytes. Signed-off-by:
David du Colombier <0intro@gmail.com>
David du Colombier authoredThis fix prevents env_import() CRC to fail when CONFIG_ENV_SIZE is not equal to 4096 bytes It also prevents mtd->read and mtd->write to be incomplete when the environment is larger than 4096 bytes. Signed-off-by:
David du Colombier <0intro@gmail.com>
mkuserland.sh 1.82 KiB
#!/bin/bash
rm -rf ./target-userland
mkdir ./target-userland
set -e
# create debian userland
/usr/sbin/multistrap -d target-userland -f multistrap.conf
cp target-userland/usr/share/base-passwd/group.master target-userland/etc/group
cp etc-templates/passwd target-userland/etc/passwd
cp etc-templates/inittab target-userland/etc
cp etc-templates/shadow target-userland/etc
cp etc-templates/fstab target-userland/etc
cp etc-templates/hosts target-userland/etc
cp etc-templates/resolv.conf target-userland/etc
mkdir -p target-userland/etc/dhcp
cp etc-templates/dhclient.conf target-userland/etc/dhcp
cp etc-templates/network-interfaces target-userland/etc/network/interfaces
cp etc-templates/motd target-userland/etc
cp etc-templates/hostname target-userland/etc
cp etc-templates/common-* target-userland/etc/pam.d
chown root:root -R target-userland/bin target-userland/usr target-userland/sbin target-userland/lib target-userland/sys target-userland/etc target-userland/var target-userland/root
chown root:shadow target-userland/etc/shadow
cp target-scripts/* target-userland/root/
cp target-scripts/.bash_profile target-userland/root/
#cp reform/reformd/reformd.sh target-userland/root/
# X startup config
#cp target-scripts/.xinitrc target-userland/root/
# i3 default config
#mkdir -p target-userland/root/.config/i3
#cp etc-templates/i3_config target-userland/root/.config/i3/config
#cp etc-templates/i3status.conf target-userland/root/.config/
# Reform sources
#mkdir -p target-userland/root/sources
#cp -R reform target-userland/root/sources/
#cp -R reform-linux target-userland/root/sources/
#cp -R reform-userland target-userland/root/sources/
#cp -Rv pdfs target-userland/root/
#mv target-userland/root/reformd-init-script.sh target-userland/etc/init.d/reformd
cp etc-templates/xorg.conf target-userland/etc/X11
mkdir -p target-userland/var/local/log