summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2017-11-07 09:45:52 +0100
committerFelix Fietkau <nbd@nbd.name>2017-12-08 19:41:18 +0100
commit7b5c989ab9bcd0c1346b7b90b8433216f7b20b71 (patch)
treebbafa6432bc6385d66f880602819878b2f076c18 /scripts
parentbf5cef47b38c0b119dc84a78919944e21d5c4092 (diff)
downloadmtk-20170518-7b5c989ab9bcd0c1346b7b90b8433216f7b20b71.zip
mtk-20170518-7b5c989ab9bcd0c1346b7b90b8433216f7b20b71.tar.gz
mtk-20170518-7b5c989ab9bcd0c1346b7b90b8433216f7b20b71.tar.bz2
merge: targets: update image generation and targets
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/brcmImage.pl2
-rwxr-xr-xscripts/qemustart12
2 files changed, 7 insertions, 7 deletions
diff --git a/scripts/brcmImage.pl b/scripts/brcmImage.pl
index aab86d6..60a59f2 100755
--- a/scripts/brcmImage.pl
+++ b/scripts/brcmImage.pl
@@ -33,7 +33,7 @@ use Compress::Zlib;
my $version = "0.1";
my %arg = (
o => 'bcm963xx_fs_kernel',
- b => 'LEDE',
+ b => 'OpenWrt',
c => '6348',
s => 64,
f => 0xbfc00000,
diff --git a/scripts/qemustart b/scripts/qemustart
index 5cadd7d..6c2254e 100755
--- a/scripts/qemustart
+++ b/scripts/qemustart
@@ -107,8 +107,8 @@ Examples
$SELF malta le64
$SELF malta be-glibc
$SELF armvirt 32 \\
- --kernel bin/targets/armvirt/32/lede-armvirt-32-zImage \\
- --rootfs bin/targets/armvirt/32/lede-armvirt-32-root.ext4
+ --kernel bin/targets/armvirt/32/openwrt-armvirt-32-zImage \\
+ --rootfs bin/targets/armvirt/32/openwrt-armvirt-32-root.ext4
EOF
}
@@ -158,12 +158,12 @@ start_qemu_armvirt() {
32)
qemu_exe="qemu-system-arm"
cpu="cortex-a15"
- [ -n "$kernel" ] || kernel="$o_bindir/lede-$o_target-${o_subtarget%-*}-zImage-initramfs"
+ [ -n "$kernel" ] || kernel="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-zImage-initramfs"
;;
64)
qemu_exe="qemu-system-aarch64"
cpu="cortex-a57"
- [ -n "$kernel" ] || kernel="$o_bindir/lede-$o_target-${o_subtarget%-*}-Image-initramfs"
+ [ -n "$kernel" ] || kernel="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-Image-initramfs"
;;
*)
__errmsg "target $o_target: unknown subtarget $o_subtarget"
@@ -199,7 +199,7 @@ start_qemu_malta() {
[ "$(echo "$o_subtarget" | grep -o '^..')" = "le" ] && isel="el"
qemu_exe="qemu-system-mips$is64$isel"
- [ -n "$kernel" ] || kernel="$o_bindir/lede-malta-${o_subtarget%-*}-vmlinux-initramfs.elf"
+ [ -n "$kernel" ] || kernel="$o_bindir/openwrt-malta-${o_subtarget%-*}-vmlinux-initramfs.elf"
# NOTE: order of wan, lan -device arguments matters as it will affect which
# one will be actually used as the wan, lan network interface inside the
@@ -216,7 +216,7 @@ start_qemu_x86() {
local qemu_exe
[ -n "$rootfs" ] || {
- rootfs="$o_bindir/lede-$o_target-${o_subtarget%-*}-combined-ext4.img"
+ rootfs="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-combined-ext4.img"
if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then
gunzip "$rootfs.gz"
fi