Commit 5866c663f9e62d183d70ca8236a2880a43050f00

Authored by Eric Lee
1 parent c1264d79ff
Exists in master

Read Board Info from EEPROM at U-Boot

Showing 2 changed files with 3 additions and 7 deletions Inline Diff

recipes-bsp/u-boot/u-boot-smarct335x_2015.07-smarct335x.bb
1 require u-boot-smarc.inc 1 require u-boot-smarc.inc
2 2
3 # u-boot needs devtree compiler to parse dts files 3 # u-boot needs devtree compiler to parse dts files
4 DEPENDS += "dtc-native" 4 DEPENDS += "dtc-native"
5 5
6 DESCRIPTION = "u-boot bootloader for Embedian SMARC T335x Computer on Module" 6 DESCRIPTION = "u-boot bootloader for Embedian SMARC T335x Computer on Module"
7 7
8 COMPATIBLE_MACHINE = "smarct335x" 8 COMPATIBLE_MACHINE = "smarct335x"
9 9
10 LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95" 10 LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
11 11
12 PV = "2015.07-smarct335x" 12 PV = "2015.07-smarct335x"
13 PR = "r0+gitr${SRCPV}" 13 PR = "r0+gitr${SRCPV}"
14 14
15 SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${BRANCH}" 15 SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${BRANCH}"
16 16
17 BRANCH = "v2015.07-smarct33" 17 BRANCH = "v2015.07-smarct33"
18 18
19 SRCREV = "0cea25608de698ec4e3be05e3b65a1e7279ff074" 19 SRCREV = "014253a8cdbd3bfa4e5278ba2ec356878cc0833e"
20 20
21 S = "${WORKDIR}/git" 21 S = "${WORKDIR}/git"
22 22
23 UBOOT_SUFFIX = "img" 23 UBOOT_SUFFIX = "img"
24 24
25 SPL_BINARY = "MLO" 25 SPL_BINARY = "MLO"
26 SPL_UART_BINARY = "u-boot-spl.bin" 26 SPL_UART_BINARY = "u-boot-spl.bin"
27 27
recipes-core/packagegroups/packagegroup-initramfs-boot.bb
1 # 1 #
2 # Copyright (C) 2007 OpenedHand Ltd. 2 # Copyright (C) 2007 OpenedHand Ltd.
3 # 3 #
4 4
5 SUMMARY = "Minimal boot requirements" 5 SUMMARY = "Minimal boot requirements"
6 DESCRIPTION = "The minimal set of packages required to boot the system" 6 DESCRIPTION = "The minimal set of packages required to boot the system"
7 LICENSE = "MIT" 7 LICENSE = "MIT"
8 DEPENDS = "virtual/kernel" 8 PR = "r17"
9 PR = "r11"
10 9
11 PACKAGE_ARCH = "${MACHINE_ARCH}" 10 PACKAGE_ARCH = "${MACHINE_ARCH}"
12 11
13 inherit packagegroup 12 inherit packagegroup
14 13
15 # 14 #
16 # Set by the machine configuration with packages essential for device bootup 15 # Set by the machine configuration with packages essential for device bootup
17 # 16 #
18 MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" 17 MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
19 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" 18 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
20 19
21 # Distro can override the following VIRTUAL-RUNTIME providers: 20 # Distro can override the following VIRTUAL-RUNTIME providers:
22 VIRTUAL-RUNTIME_dev_manager ?= "udev" 21 VIRTUAL-RUNTIME_dev_manager ?= "udev"
23 VIRTUAL-RUNTIME_login_manager ?= "tinylogin" 22 VIRTUAL-RUNTIME_login_manager ?= "busybox"
24 VIRTUAL-RUNTIME_init_manager ?= "sysvinit" 23 VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
25 VIRTUAL-RUNTIME_initscripts ?= "initscripts" 24 VIRTUAL-RUNTIME_initscripts ?= "initscripts"
26 VIRTUAL-RUNTIME_keymaps ?= "keymaps" 25 VIRTUAL-RUNTIME_keymaps ?= "keymaps"
27 26
28 SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \ 27 SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
29 modutils-initscripts \ 28 modutils-initscripts \
30 init-ifupdown \ 29 init-ifupdown \
31 ${VIRTUAL-RUNTIME_initscripts} \ 30 ${VIRTUAL-RUNTIME_initscripts} \
32 " 31 "
33 32
34 RDEPENDS_${PN} = "\ 33 RDEPENDS_${PN} = "\
35 base-files \ 34 base-files \
36 base-passwd \ 35 base-passwd \
37 busybox \ 36 busybox \
38 util-linux-blkid \ 37 util-linux-blkid \
39 util-linux-mkfs \ 38 util-linux-mkfs \
40 util-linux-sfdisk \ 39 util-linux-sfdisk \
41 ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \ 40 ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
42 ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ 41 ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
43 modutils-initscripts \
44 netbase \ 42 netbase \
45 init-ifupdown \
46 ${VIRTUAL-RUNTIME_login_manager} \ 43 ${VIRTUAL-RUNTIME_login_manager} \
47 ${VIRTUAL-RUNTIME_init_manager} \ 44 ${VIRTUAL-RUNTIME_init_manager} \
48 ${VIRTUAL-RUNTIME_initscripts} \
49 ${VIRTUAL-RUNTIME_dev_manager} \ 45 ${VIRTUAL-RUNTIME_dev_manager} \
50 ${VIRTUAL-RUNTIME_update-alternatives} \ 46 ${VIRTUAL-RUNTIME_update-alternatives} \
51 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" 47 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
52 48
53 RRECOMMENDS_${PN} = "\ 49 RRECOMMENDS_${PN} = "\
54 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" 50 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
55 51