mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-23 09:21:09 +00:00
pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
This commit is contained in:
parent
8a48d3eabf
commit
03ce8a4a05
1
mainboards/cubie/board/.gitignore
vendored
1
mainboards/cubie/board/.gitignore
vendored
@ -1 +0,0 @@
|
||||
/linux
|
@ -1,48 +0,0 @@
|
||||
VER=5.4.0
|
||||
default: build
|
||||
|
||||
build: uCore flashkernel
|
||||
|
||||
# this target builds an initramfs with only one program, the cpu server.
|
||||
# It depends on the kernel setting the IP address.
|
||||
# You need ip=dhcp OR ip=fixed.ip.address.here in the command line
|
||||
cpu.cpio:
|
||||
GOARCH=arm u-root -o cpu.cpio -build=bb -initcmd=cpud -files ~/.ssh/cpu_rsa.pub:key.pub \
|
||||
-defaultsh="" \
|
||||
github.com/u-root/cpu/cmds/cpud
|
||||
|
||||
uCore: netbooturoot
|
||||
mkimage -A arm -n 'u-root for Allwinner A10' -d uroot.cpio -T ramdisk uCore
|
||||
|
||||
qemu: uCore flashkernel
|
||||
qemu-system-arm -kernel flashkernel -machine cubieboard -serial stdio -initrd uCore -append 'console=ttyAM0 earlyprintk=ttyAM0,115200,keep' -display none
|
||||
echo NO
|
||||
exit 0
|
||||
|
||||
netbooturoot:
|
||||
GOARCH=arm u-root \
|
||||
-o uroot.cpio \
|
||||
-files ~/.ssh/cpu_rsa.pub:key.pub \
|
||||
-files ~/.ssh/cpu_rsa:id_rsa \
|
||||
-files ~/.ssh/authorized_keys:authorized_keys \
|
||||
all
|
||||
|
||||
flashkernel:
|
||||
cp config-$(VER) linux/.config
|
||||
(cd linux && ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make oldconfig && ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j32)
|
||||
mkimage -C none -A arm -n 'kernel for Allwinner A10' -d linux/arch/arm/boot/zImage -T kernel -a 0x40008000 -e 0x40008000 kernel
|
||||
cp linux/arch/arm/boot/zImage flashkernel
|
||||
|
||||
fetch: getkernel geturoot
|
||||
|
||||
getkernel:
|
||||
rm -rf linux
|
||||
git clone https://github.com/linux-sunxi/linux-sunxi.git -b sunxi-next --depth=1 linux
|
||||
(cd linux && make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sunxi_defconfig)
|
||||
|
||||
geturoot:
|
||||
go get -u github.com/u-root/u-root
|
||||
|
||||
packages:
|
||||
sudo apt install gcc-arm-linux-gnueabihf
|
||||
sudo apt install u-boot-tools
|
@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
sudo kea-dhcp6 -d -d -d -c kea6.conf
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,58 +0,0 @@
|
||||
{
|
||||
# DHCPv6 configuration starts on the next line
|
||||
"Dhcp6": {
|
||||
|
||||
# First we set up global values
|
||||
"valid-lifetime": 4000,
|
||||
"renew-timer": 1000,
|
||||
"rebind-timer": 2000,
|
||||
"preferred-lifetime": 3000,
|
||||
|
||||
# Next we setup the interfaces to be used by the server.
|
||||
"interfaces-config": {
|
||||
"interfaces": [ "enx00e04c6800ee"]
|
||||
},
|
||||
|
||||
# And we specify the type of lease database
|
||||
"lease-database": {
|
||||
"type": "memfile",
|
||||
"persist": true,
|
||||
"name": "./kea/dhcp6.leases"
|
||||
},
|
||||
|
||||
# Finally, we list the subnets from which we will be leasing addresses.
|
||||
"subnet6": [
|
||||
{
|
||||
"rapid-commit": true,
|
||||
"subnet": "2001:db8:0:1::/56",
|
||||
"id": 1024,
|
||||
"interface": "enx00e04c6800ee",
|
||||
"pools": [
|
||||
{
|
||||
"pool": "2001:db8:0:1::10-2001:db8:0:1::ffff"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
"option-data": [
|
||||
{
|
||||
"name": "dns-servers",
|
||||
"code": 23,
|
||||
"csv-format": true,
|
||||
"space": "dhcp6",
|
||||
"data": "2001:4860:4860::8888, 2001:4860:4860::8844"
|
||||
},
|
||||
{
|
||||
"name": "bootfile-url",
|
||||
"code": 59,
|
||||
"csv-format": true,
|
||||
"space": "dhcp6",
|
||||
"data": "http://[2001:db8:0:1::128]:80/nbp"
|
||||
}
|
||||
]
|
||||
# DHCPv6 configuration ends with the next line
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
#!ipxe
|
||||
kernel http://[2001:db8:0:1::128]:80/uImage
|
||||
initrd http://[2001:db8:0:1::128]:80/uCore
|
||||
boot
|
Loading…
Reference in New Issue
Block a user