OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright 2018 NXP |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | |||
8 | define Device/Default |
||
9 | PROFILES := Default |
||
10 | FILESYSTEMS := squashfs |
||
11 | IMAGES := firmware.bin |
||
12 | KERNEL := kernel-bin | uImage none |
||
13 | KERNEL_NAME := zImage |
||
14 | KERNEL_LOADADDR := 0x80008000 |
||
15 | KERNEL_ENTRY_POINT := 0x80008000 |
||
16 | endef |
||
17 | |||
18 | define Device/ls1021atwr |
||
19 | DEVICE_TITLE := LS1021ATWR |
||
20 | DEVICE_PACKAGES += layerscape-rcw-ls1021atwr |
||
21 | DEVICE_DTS := ls1021a-twr |
||
22 | IMAGE/firmware.bin := \ |
||
23 | ls-clean | \ |
||
24 | ls-append $(1)-rcw.bin | pad-to 1M | \ |
||
25 | ls-append $(1)-uboot.bin | pad-to 3M | \ |
||
26 | ls-append $(1)-uboot-env.bin | pad-to 15M | \ |
||
27 | ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \ |
||
28 | append-kernel | pad-to 32M | \ |
||
29 | append-rootfs | pad-rootfs | check-size 67108865 |
||
30 | endef |
||
31 | TARGET_DEVICES += ls1021atwr |
||
32 | |||
33 | define Device/ls1021atwr-sdboot |
||
34 | DEVICE_TITLE := LS1021ATWR (SD Card Boot) |
||
35 | DEVICE_DTS := ls1021a-twr |
||
36 | FILESYSTEMS := ext4 |
||
37 | IMAGES := sdcard.img |
||
38 | IMAGE/sdcard.img := \ |
||
39 | ls-clean | \ |
||
40 | ls-append-sdhead $(1) | pad-to 4K | \ |
||
41 | ls-append $(1)-uboot.bin | pad-to 3M | \ |
||
42 | ls-append $(1)-uboot-env.bin | pad-to 15M | \ |
||
43 | ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \ |
||
44 | append-kernel | pad-to $(LS_SD_ROOTFSPART_OFFSET)M | \ |
||
45 | append-rootfs | check-size $(LS_SD_IMAGE_SIZE) |
||
46 | endef |
||
47 | TARGET_DEVICES += ls1021atwr-sdboot |
||
48 | |||
49 | define Device/ls1021aiot-sdboot |
||
50 | DEVICE_TITLE := LS1021AIOT (SD Card Boot) |
||
51 | DEVICE_DTS := ls1021a-iot |
||
52 | FILESYSTEMS := ext4 |
||
53 | IMAGES := sdcard.img |
||
54 | IMAGE/sdcard.img := \ |
||
55 | ls-clean | \ |
||
56 | ls-append-sdhead $(1) | pad-to 4K | \ |
||
57 | ls-append $(1)-uboot.bin | pad-to 1M | \ |
||
58 | ls-append $(1)-uboot-env.bin | pad-to 15M | \ |
||
59 | ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \ |
||
60 | append-kernel | pad-to $(LS_SD_ROOTFSPART_OFFSET)M | \ |
||
61 | append-rootfs | check-size $(LS_SD_IMAGE_SIZE) |
||
62 | endef |
||
63 | TARGET_DEVICES += ls1021aiot-sdboot |