avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
9
u-boot/board/bf537-srv1/Kconfig
Normal file
9
u-boot/board/bf537-srv1/Kconfig
Normal file
@@ -0,0 +1,9 @@
|
||||
if TARGET_BF537_SRV1
|
||||
|
||||
config SYS_BOARD
|
||||
default "bf537-srv1"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "bf537-srv1"
|
||||
|
||||
endif
|
||||
6
u-boot/board/bf537-srv1/MAINTAINERS
Normal file
6
u-boot/board/bf537-srv1/MAINTAINERS
Normal file
@@ -0,0 +1,6 @@
|
||||
BF537-SRV1 BOARD
|
||||
M: Martin Strubel <strubel@section5.ch>
|
||||
S: Maintained
|
||||
F: board/bf537-srv1/
|
||||
F: include/configs/bf537-srv1.h
|
||||
F: configs/bf537-srv1_defconfig
|
||||
12
u-boot/board/bf537-srv1/Makefile
Normal file
12
u-boot/board/bf537-srv1/Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# U-Boot - Makefile
|
||||
#
|
||||
# Copyright (c) 2005-2008 Analog Device Inc.
|
||||
#
|
||||
# (C) Copyright 2000-2006
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y := bf537-srv1.o
|
||||
30
u-boot/board/bf537-srv1/bf537-srv1.c
Normal file
30
u-boot/board/bf537-srv1/bf537-srv1.c
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* U-Boot - main board file
|
||||
*
|
||||
* Copyright (c) 2005-2009 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <netdev.h>
|
||||
#include <net.h>
|
||||
#include <asm/blackfin.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
int checkboard(void)
|
||||
{
|
||||
printf("Board: Surveyor SRV1 board\n");
|
||||
printf(" Support: http://www.surveyor.com/\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BFIN_MAC
|
||||
int board_eth_init(bd_t *bis)
|
||||
{
|
||||
return bfin_EMAC_initialize(bis);
|
||||
}
|
||||
#endif
|
||||
11
u-boot/board/bf537-srv1/config.mk
Normal file
11
u-boot/board/bf537-srv1/config.mk
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) 2005-2008 Analog Device Inc.
|
||||
#
|
||||
# (C) Copyright 2001
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# Set some default LDR flags based on boot mode.
|
||||
LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6
|
||||
Reference in New Issue
Block a user