mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-19 20:59:03 +02:00

Adds support for the rk3399 SoC. Notably: *) Split out the default kernel config and image type from rockchip-defaults.inc now that not all support chips are ARMv7 *) Apply a patch to Arm Trusted Firmware to fix a compile issue *) Arm Trusted Firmware requires the arm-none-eabi-native compiler to compile the M0 firmware. *) Modify u-boot to pull in the ATF files when compiling *) The rk3399 is support by the panfrost driver in mesa, so enable it Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
# Copyright (C) 2020 Garmin Ltd. or its subsidiaries
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
#
|
|
# Disk layout
|
|
# Note that the reference documentation refers to 512 byte disk sectors, but
|
|
# wic uses 1KB blocks
|
|
#
|
|
# Partition Start Sector Number of Sectors
|
|
# loader1 64 8000
|
|
# reserved1 8064 128
|
|
# reserved2 8192 8192
|
|
# loader2 16384 8192
|
|
# atf 24576 8192
|
|
# boot 32768 229376
|
|
# root 262144 -
|
|
#
|
|
|
|
part loader1 --align 32 --size 4000K --source rawcopy --sourceparams="file=idbloader.img"
|
|
part reserved1 --align 4032 --size 64K
|
|
part reserved2 --align 4096 --size 4096K
|
|
part loader2 --align 8192 --size 4096K --source rawcopy --sourceparams="file=u-boot.itb"
|
|
part atf --align 12288 --size 4096K
|
|
part /boot --align 16384 --size=114688K --active --source bootimg-partition --fstype=vfat --label boot --sourceparams="loader=u-boot"
|
|
|