-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make examples work with 22.03.0 (e.g. nexx-wt3020)
- Loading branch information
1 parent
b8fd4e7
commit 8a7f087
Showing
9 changed files
with
53 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
# run x86_64 image in qemu. | ||
# usage: | ||
# run_in_qemu.sh [path-to-combined-ext4-image] | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
IMG=${1:-$SCRIPT_DIR/../output/openwrt-22.03.0-x86-64-generic-ext4-combined.img} | ||
|
||
exec qemu-system-x86_64 \ | ||
-enable-kvm \ | ||
-nographic \ | ||
-device ide-hd,drive=d0,bus=ide.0 \ | ||
-netdev user,id=hn0 \ | ||
-device virtio-net-pci,netdev=hn0,id=wan \ | ||
-netdev user,id=hn1,hostfwd=tcp::5555-:22001 \ | ||
-device virtio-net-pci,netdev=hn1,id=lan \ | ||
-drive id=d0,if=none,file="$IMG" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
LEDE_PROFILE=rpi-2 | ||
LEDE_RELEASE=21.02.3 | ||
LEDE_RELEASE=22.03.0 | ||
LEDE_TARGET=bcm27xx | ||
LEDE_SUBTARGET=bcm2709 | ||
|
||
# list packages to include in LEDE image. prepend packages to deinstall with "-". | ||
LEDE_PACKAGES="base-files busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall luci-ssl-nginx" | ||
LEDE_PACKAGES="base-files busybox dropbear mtd uci opkg netifd fstools uclient-fetch \ | ||
logd kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835 \ | ||
kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 dnsmasq \ | ||
-ppp -ppp-mod-pppoe luci-ssl-nginx" | ||
|
||
# optionally override OUTPUT_DIR and ROOTFS_OVERLAY directory location here | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# Demo for Raspberry 4. | ||
LEDE_PROFILE=rpi-4 | ||
LEDE_RELEASE=21.02.3 | ||
LEDE_RELEASE=22.03.0 | ||
LEDE_TARGET=bcm27xx | ||
LEDE_SUBTARGET=bcm2711 | ||
|
||
# list packages to include in LEDE image. prepend packages to deinstall with "-". | ||
LEDE_PACKAGES="base-files busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd kmod-usb-hid kmod-sound-core kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall luci-ssl-nginx luci-app-adblock adblock" | ||
LEDE_PACKAGES="dropbear mtd uci opkg netifd fstools uclient-fetch kmod-usb-hid \ | ||
kmod-sound-core kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \ | ||
dnsmasq -ppp -ppp-mod-pppoe luci-ssl-nginx luci-app-adblock adblock" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters