Skip to content

Instantly share code, notes, and snippets.

@kgoger
Created March 6, 2018 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgoger/d79cd08a141dbb66eefdb56823cc9e38 to your computer and use it in GitHub Desktop.
Save kgoger/d79cd08a141dbb66eefdb56823cc9e38 to your computer and use it in GitHub Desktop.
isc-dhcp config
diff --git a/dhcp/dhcpd.conf b/dhcp/dhcpd.conf
index 1674bbc..a6c52ee 100644
--- a/dhcp/dhcpd.conf
+++ b/dhcp/dhcpd.conf
@@ -51,6 +51,7 @@ subnet 10.1.0.0 netmask 255.255.0.0 {
subnet 10.2.0.0 netmask 255.255.0.0 {
range 10.2.9.1 10.2.254.254;
option routers 10.2.0.1;
+ next-server 10.2.0.17;
# 31536000 Sekunden = 1 Jahr
default-lease-time 31536000;
max-lease-time 31536000;
--------------
U-boot log with boot_targets=pxe dhcp
U-Boot SPL 2018.03-rc3-00109-g77bba970e2 (Mar 06 2018 - 09:20:06 +0100)
Trying to boot from SPI
INFO: bl31_early_platform_setup: from_bl2 0xff8e0000 plat_params_from_bl2 0x294308INFO: bl31_early_platform_setup: from_bl2->h.type 3
INFO: bl31_early_platform_setup: from_bl2->h.version 1
INFO: plat_param_from_bl2: 0x294308
INFO: dt_process_fdt: opened FDT at 0x294308
INFO: dt_relocate_pmu_firmware: PMU firmware is 1600 bytes at 0x180000
INFO: dt_relocate_pmu_firmware: relocated PMU firmware
INFO: dt_get_reset_gpio: could not find 'arm-trusted-firmware,reset-gpio' property
INFO: bl33_ep_info.pc: 0x200000
BL31_RO_BASE: 1000
BL31_RO_LIMIT: 23000
BL_COHERENT_RAM_BASE: 4f000
BL_COHERENT_RAM_END: 50000
bl31_plat_arch_setup: still alive
NOTICE: BL31: v1.3(debug):puma_2017-10-02-1-gd71e6d83-dirty
NOTICE: BL31: Built : 18:21:18, Nov 24 2017
INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO: plat_rockchip_pmu_init(1296): pd status 3e
INFO: BL31: Initializing runtime services
WARNING: BL31: cortex_a53: errata workaround for 855873 was missing!
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2018.03-rc3-00109-g77bba970e2 (Mar 06 2018 - 09:20:26 +0100)
Model: Theobroma Systems RK3399-Q7 SoM
DRAM: 2 GiB
MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Model: Theobroma Systems RK3399-Q7 SoM
Net: eth0: ethernet@fe300000
Hit any key to stop autoboot: 0
starting USB...
USB0: Can't get the usbphy register address
probe failed, error -6
USB1: Can't get the usbphy register address
probe failed, error -6
USB error: all controllers failed lowlevel init
ethernet@fe300000 Waiting for PHY auto negotiation to complete...... done
Speed: 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 10.2.143.247 (1254 ms)
*** Warning: no boot file name; using '0A028FF7.img'
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename '0A028FF7.img'.
Load address: 0x800800
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-0e-7a-97-22-0f-fd
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/01-0e-7a-97-22-0f-fd'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A028FF7
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0A028FF7'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A028FF
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0A028FF'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A028F
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0A028F'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A028
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0A028'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A02
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0A02'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A0
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0A0'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0A
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0A'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/0'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/default-arm-rockchip'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/default-arm'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'pxelinux.cfg/default'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Config file not found
starting USB...
USB0: Can't get the usbphy register address
probe failed, error -6
USB1: Can't get the usbphy register address
probe failed, error -6
USB error: all controllers failed lowlevel init
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 10.2.143.247 (2 ms)
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'boot.scr.uimg'.
Load address: 0x500000
Loading: #
1.1 MiB/s
done
Bytes transferred = 2365 (93d hex)
## Executing script at 00500000
Boot script running from
1
** Bad device specification 0x01f00000 /boot/puma_rk3399/defaultEnv **
** Bad device specification 0x01f00000 /boot/defaultEnv **
2
** Bad device specification 0x01000000 /userEnv **
3
4
** Bad device specification 0x01f00000 /dtb **
5
6
** Bad device specification 0x02000000 /Image **
load 0x02000000 /Image
7
** Bad device specification 0x01000000 /uInitrd **
Start Kernel without initrd
Bad Linux ARM64 Image magic!
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 10.2.143.247 (3 ms)
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'boot.scr.uimg'.
Load address: 0x2000000
Loading: #
769.5 KiB/s
done
Bytes transferred = 2365 (93d hex)
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 10.2.0.17; our IP address is 10.2.143.247
Filename 'dtb/dtb'.
Load address: 0x1f00000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
## Starting EFI application at 02000000 ...
Scanning disk dwmmc@fe320000.blk...
Scanning disk sdhci@fe330000.blk...
Found 4 disks
fdt_find_or_add_subnode: chosen: FDT_ERR_BADSTRUCTURE
ERROR: /chosen node create failed
- must RESET the board to recover.
ERROR: Failed to process device tree
## Application terminated, r = 9223372036854775786
=> printenv serverip
serverip=10.2.0.17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment