aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview/base-files
Commit message (Collapse)AuthorAgeFilesLines
* image / basefiles: make console password configurableJohn Crispin2016-04-181-3/+3
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* realview: switch from uci-defaults to board.dJo-Philipp Wich2015-12-033-6/+20
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47739
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44304
* realview: add protocol argument to ucidef_set_interface_rawFlorian Fainelli2014-09-251-5/+1
| | | | | | | | | Now that ucidef_set_interface_raw() has been updated to take a protocol argument, use that. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42666
* realview: set LAN interface to be in DHCPFlorian Fainelli2014-07-031-0/+10
| | | | | | | | | | Realview is mostly used as a QEMU development platform, which will provide a built-in DHCP server to NAT or bridge the connection outside of the emulated environment. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 41495
* base-files: use shutdown instead of stop when the system goes down (patch by ↵Felix Fietkau2010-12-131-1/+1
| | | | | | tripolar) SVN-Revision: 24540
* add qemu targetFlorian Fainelli2010-11-081-0/+5
SVN-Revision: 23921
#" -lt 3 ] && usage FLASH_BS=262144 CHECK_BS=65536 MAX_PART_SIZE=7168 CFG_OUT=$1 KERNEL_PATH=$2 KERNEL_FLASH_ADDR=0x1c0000 KERNEL_SIZE=$(stat -c%s "$KERNEL_PATH") KERNEL_MD5=$(md5=$(md5sum $KERNEL_PATH); echo ${md5%% *}) KERNEL_PART_SIZE=$(size=$(($KERNEL_SIZE / $FLASH_BS)); [ $(($size * $FLASH_BS)) -lt $KERNEL_SIZE ] && size=$(($size + 1)); echo $(($size * $FLASH_BS / 1024))) ROOTFS_PATH=$3 ROOTFS_FLASH_ADDR=$(addr=$(($KERNEL_FLASH_ADDR + ($KERNEL_PART_SIZE * 1024))); printf "0x%x" $addr) ROOTFS_SIZE=$(stat -c%s "$ROOTFS_PATH") ROOTFS_CHECK_BLOCKS=$((($ROOTFS_SIZE / $CHECK_BS) - 1)) ROOTFS_MD5=$(md5=$(dd if=$ROOTFS_PATH bs=$CHECK_BS count=$ROOTFS_CHECK_BLOCKS 2>&- | md5sum); echo ${md5%% *}) ROOTFS_CHECK_SIZE=$(printf '0x%x' $(($ROOTFS_CHECK_BLOCKS * $CHECK_BS))) ROOTFS_PART_SIZE=$(($MAX_PART_SIZE - $KERNEL_PART_SIZE)) cat << EOF > $CFG_OUT [vmlinux] filename=kernel md5sum=$KERNEL_MD5 flashaddr=$KERNEL_FLASH_ADDR checksize=0x0 cmd_success=setenv bootseq 1,2; setenv kernel_size_1 $KERNEL_PART_SIZE; saveenv cmd_fail=reset [rootfs] filename=rootfs md5sum=$ROOTFS_MD5 flashaddr=$ROOTFS_FLASH_ADDR checksize=$ROOTFS_CHECK_SIZE cmd_success=setenv bootseq 1,2; setenv kernel_size_1 $KERNEL_PART_SIZE; setenv rootfs_size_1 $ROOTFS_PART_SIZE; saveenv cmd_fail=reset EOF