forked from analogdevicesinc/plutosdr-fw
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a Makefile TARGET=plutoplus to build the Pluto+ firmware, together with matching .its and .mk files for the target, and updates the commits of the linux, maia-sdr and u-boot-xlnx repositories to add support for the Pluto+. Signed-off-by: Daniel Estévez <[email protected]>
- Loading branch information
1 parent
3b4e0ab
commit 37ce26c
Showing
8 changed files
with
225 additions
and
15 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
Submodule linux
updated
2 files
+208 −0 | arch/arm/boot/dts/zynq-plutoplus-maiasdr.dts | |
+286 −0 | arch/arm/configs/zynq_plutoplus_defconfig |
Submodule maia-sdr
updated
5 files
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,157 @@ | ||
/* | ||
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs | ||
* This example makes use of the 'loadables' field | ||
*/ | ||
|
||
/* | ||
* fdt get addr foo /images/fdt@1 data | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
/ { | ||
description = "Configuration to load fpga before Kernel"; | ||
magic = "ITB PlutoSDR (ADALM-PLUTO)"; | ||
#address-cells = <1>; | ||
images { | ||
|
||
fdt@1 { | ||
description = "zynq-plutoplus"; | ||
data = /incbin/("../build/zynq-plutoplus-maiasdr.dtb"); | ||
type = "flat_dt"; | ||
arch = "arm"; | ||
compression = "none"; | ||
}; | ||
|
||
fpga@1 { | ||
description = "FPGA"; | ||
data = /incbin/("../build/system_top.bit"); | ||
type = "fpga"; | ||
arch = "arm"; | ||
compression = "none"; | ||
load = <0xF000000>; | ||
hash@1 { | ||
algo = "md5"; | ||
}; | ||
}; | ||
|
||
linux_kernel@1 { | ||
description = "Linux"; | ||
data = /incbin/("../build/zImage"); | ||
type = "kernel"; | ||
arch = "arm"; | ||
os = "linux"; | ||
compression = "none"; | ||
load = <0x8000>; | ||
entry = <0x8000>; | ||
hash@1 { | ||
algo = "md5"; | ||
}; | ||
}; | ||
ramdisk@1 { | ||
description = "Ramdisk"; | ||
data = /incbin/("../build/rootfs.cpio.gz"); | ||
type = "ramdisk"; | ||
arch = "arm"; | ||
os = "linux"; | ||
compression = "gzip"; | ||
hash@1 { | ||
algo = "md5"; | ||
}; | ||
}; | ||
|
||
}; | ||
|
||
configurations { | ||
default = "config@0"; | ||
/* TODO: can all these configurations be deleted except config@0 ? */ | ||
config@0 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@1 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@2 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@3 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@4 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@5 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@6 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
|
||
config@7 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@8 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@9 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
|
||
config@10 { | ||
description = "Linux with fpga Pluto+"; | ||
fdt = "fdt@1"; | ||
kernel = "linux_kernel@1"; | ||
ramdisk = "ramdisk@1"; | ||
fpga = "fpga@1"; | ||
}; | ||
}; | ||
}; |
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,8 @@ | ||
|
||
# Target specific constants go here | ||
|
||
TARGET_DTS_FILES:= zynq-plutoplus-maiasdr.dtb | ||
COMPLETE_NAME:=Pluto+ | ||
ZIP_ARCHIVE_PREFIX:=plutoplus | ||
DEVICE_VID:=0x0456 | ||
DEVICE_PID:=0xb673 |
Submodule u-boot-xlnx
updated
3 files
+1 −0 | arch/arm/dts/Makefile | |
+85 −0 | arch/arm/dts/zynq-plutoplus.dts | |
+63 −0 | configs/zynq_plutoplus_defconfig |