[ 2750.502474] ti_am335x_adc: Unknown symbol dev_err (err -22)
The configuration for different boards are shown in the table above. After compiling,
the kernel image is generated at
arch/arm/boot/zImage
, the DTB files are generated at
arch/arm/boot/dts/myd_c335x.dtb, arch/arm/boot/dts/myd_c335x_emmc.dtb
. The dtb file
arch/arm/boot/dts/myd_c335x.dtb
is for core board with NAND, the dtb file
arch/arm/boot/dts/myd_c335x_emmc.dtb
is for core board with EMMC.
Patch files for different hardware features
:
The default configuration is 7-inch screen
,
256N256D
,
without SGX. Users can
generate a different screen and NAND DDR device tree file from the patch file in
<WORKDIR>/04-Linux_source/Patches
,
and then compile the kernel using the device tree
file.The following is a list of related patches:
Table 3-2-2 Kernel Patches for MYIR Development Boards
Board Type
MYD-AM335X
MYD-
AM335X-Y
MYD-
AM335X-J
HDMI patches
myd_c335x_hdmi_display.diff
No
expansion
No
expansion
4.3 inch
screen patch
myd-am335x-lcd4.3.diff
myd-
am335x-y-
lcd4.3.diff
myd-
am335x-j-
lcd4.3.diff
SGX patch
myd-am335x-sgx.diff
myd-
am335x-y-
sgx.diff
myd-
am335x-j-
sgx.diff
For example: Patch for MYD-AM335X-Y with SGX , 4.3-inch screen:
$ patch -p1 < <WORKDIR>/Patches/myd-am335x-y-lcd4
.3
.diff
$ patch -p1 < <WORKDIR>/Patches/myd-am335x-y-sgx.diff
Compile device tree
:
make dtbs
And use the arch/arm/boot/dts directory of the device tree file to replace the system
image device tree file.
17