tegra: add NVIDIA Jetson-TK1 board support
Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
8f385481a7
commit
a2226db2d2
|
@ -58,6 +58,7 @@ obj-$(CONFIG_MACH_MX6Q_ARM2) += freescale-mx6-arm2/
|
|||
obj-$(CONFIG_MACH_NESO) += guf-neso/
|
||||
obj-$(CONFIG_MACH_NOMADIK_8815NHK) += nhk8815/
|
||||
obj-$(CONFIG_MACH_NVIDIA_BEAVER) += nvidia-beaver/
|
||||
obj-$(CONFIG_MACH_NVIDIA_JETSON) += nvidia-jetson-tk1/
|
||||
obj-$(CONFIG_MACH_NXDB500) += netx/
|
||||
obj-$(CONFIG_MACH_OMAP343xSDP) += omap343xdsp/
|
||||
obj-$(CONFIG_MACH_OMAP3EVM) += omap3evm/
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
CFLAGS_pbl-entry.o := \
|
||||
-mcpu=arm7tdmi -march=armv4t \
|
||||
-fno-tree-switch-conversion -fno-jump-tables
|
||||
soc := tegra124
|
||||
lwl-y += entry.o
|
||||
#obj-y += board.o
|
||||
extra-y += jetson-tk1-2gb-emmc.bct
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* Copyright (C) 2014 Lucas Stach <l.stach@pengutronix.de>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <sizes.h>
|
||||
#include <asm/barebox-arm.h>
|
||||
#include <asm/barebox-arm-head.h>
|
||||
#include <mach/lowlevel.h>
|
||||
#include <mach/lowlevel-dvc.h>
|
||||
|
||||
extern char __dtb_tegra124_jetson_tk1_start[];
|
||||
|
||||
ENTRY_FUNCTION(start_nvidia_jetson, r0, r1, r2)
|
||||
{
|
||||
uint32_t fdt;
|
||||
|
||||
tegra_cpu_lowlevel_setup();
|
||||
|
||||
tegra_dvc_init();
|
||||
tegra124_dvc_pinmux();
|
||||
tegra124_as3722_enable_essential_rails(0x3c00);
|
||||
|
||||
fdt = (uint32_t)__dtb_tegra124_jetson_tk1_start - get_runtime_offset();
|
||||
|
||||
tegra_avp_reset_vector(fdt);
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -37,7 +37,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_cyclone5_sockit.dtb \
|
|||
dtb-$(CONFIG_ARCH_TEGRA) += \
|
||||
tegra20-colibri-iris.dtb \
|
||||
tegra20-paz00.dtb \
|
||||
tegra30-beaver.dtb
|
||||
tegra30-beaver.dtb \
|
||||
tegra124-jetson-tk1.dtb
|
||||
|
||||
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
|
||||
obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
|
||||
|
@ -50,6 +51,7 @@ pbl-$(CONFIG_MACH_FREESCALE_MX53_LOCO) += imx53-qsb.dtb.o imx53-qsrb.dtb.o
|
|||
pbl-$(CONFIG_MACH_FREESCALE_MX53_VMX53) += imx53-voipac-bsb.dtb.o
|
||||
pbl-$(CONFIG_MACH_DFI_FS700_M60) += imx6q-dfi-fs700-m60-6q.dtb.o imx6dl-dfi-fs700-m60-6s.dtb.o
|
||||
pbl-$(CONFIG_MACH_NVIDIA_BEAVER) += tegra30-beaver.dtb.o
|
||||
pbl-$(CONFIG_MACH_NVIDIA_JETSON) += tegra124-jetson-tk1.dtb.o
|
||||
pbl-$(CONFIG_MACH_PCM051) += am335x-phytec-phycore.dtb.o
|
||||
pbl-$(CONFIG_MACH_PHYTEC_PFLA02) += imx6s-phytec-pbab01.dtb.o imx6dl-phytec-pbab01.dtb.o imx6q-phytec-pbab01.dtb.o
|
||||
pbl-$(CONFIG_MACH_REALQ7) += imx6q-dmo-edmqmx6.dtb.o
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
#include <arm/tegra124.dtsi>
|
|
@ -70,6 +70,10 @@ config MACH_NVIDIA_BEAVER
|
|||
select I2C
|
||||
select I2C_TEGRA
|
||||
|
||||
config MACH_NVIDIA_JETSON
|
||||
bool "NVIDIA Jetson TK1"
|
||||
select ARCH_TEGRA_124_SOC
|
||||
|
||||
endmenu
|
||||
|
||||
# ---------------------------------------------------------
|
||||
|
|
|
@ -82,3 +82,13 @@ pblx-$(CONFIG_MACH_NVIDIA_BEAVER) += start_nvidia_beaver
|
|||
BCT_start_nvidia_beaver.pblx.t30img = $(board)/nvidia-beaver/beaver-2gb-emmc.bct
|
||||
FILE_barebox-tegra30-nvidia-beaver-emmc.img = start_nvidia_beaver.pblx.t30img
|
||||
image-$(CONFIG_MACH_NVIDIA_BEAVER) += barebox-tegra30-nvidia-beaver-emmc.img
|
||||
|
||||
# ----------------------- Tegra124 based boards --------------------------
|
||||
pblx-$(CONFIG_MACH_NVIDIA_JETSON) += start_nvidia_jetson
|
||||
FILE_barebox-tegra124-nvidia-jetson-tk1-usbloader.img = start_nvidia_jetson.pblx
|
||||
image-$(CONFIG_MACH_NVIDIA_JETSON) += barebox-tegra124-nvidia-jetson-tk1-usbloader.img
|
||||
|
||||
pblx-$(CONFIG_MACH_NVIDIA_JETSON) += start_nvidia_jetson
|
||||
BCT_start_nvidia_jetson.pblx.t124img = $(board)/nvidia-jetson-tk1/jetson-tk1-2gb-emmc.bct
|
||||
FILE_barebox-tegra124-nvidia-jetson-tk1-emmc.img = start_nvidia_jetson.pblx.t124img
|
||||
image-$(CONFIG_MACH_NVIDIA_JETSON) += barebox-tegra124-nvidia-jetson-tk1-emmc.img
|
||||
|
|
Loading…
Reference in New Issue