之前买的友善的板子tiny4412增强版,他们官方提供的uboot只能输出“ok”,
这个版本就是网上说的1506版本的uboot可以进行一些裸板程序的开发
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-08-18 09:00 uboot_tiny4412_changed_version
文件 27847 2018-08-18 09:00 uboot_tiny4412_changed_version.boards.depend
目录 0 2018-08-18 08:48 uboot_tiny4412_changed_versionapi
文件 14260 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi.c
文件 2521 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_net.c
文件 1605 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_platform-arm.c
文件 2184 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_platform-powerpc.c
文件 1503 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_private.h
文件 8996 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_storage.c
文件 1170 2018-05-25 09:11 uboot_tiny4412_changed_versionapiMakefile
文件 1873 2018-05-25 09:11 uboot_tiny4412_changed_versionapiREADME
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarch
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharm
文件 2253 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmconfig.mk
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpu
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm11
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136
文件 1318 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136config.mk
文件 1973 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136cpu.c
文件 1409 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136Makefile
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31
文件 1734 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31devices.c
文件 2709 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31generic.c
文件 1372 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31Makefile
文件 4371 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31 imer.c
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xx
文件 1350 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xxMakefile
文件 1451 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xx
eset.S
文件 4459 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xx imer.c
文件 13039 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136start.S
文件 1923 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136u-boot.lds
............此处省略7430个文件信息
/*
* (C) Copyright 2007 Semihalf
*
* Written by: Rafal Jaworowski
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License or (at your option) any later version.
*
* This program is distributed in the hope that 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 write to the Free Software
* Foundation Inc. 59 Temple Place Suite 330 Boston
* MA 02111-1307 USA
*
*/
#include
#include
#include
#include
#include
#include
#include
#include “api_private.h“
#define DEBUG
#undef DEBUG
/* U-Boot routines needed */
extern int do_reset (cmd_tbl_t *cmdtp int flag int argc char * const argv[]);
/*****************************************************************************
*
* This is the API core.
*
* API_ functions are part of U-Boot code and constitute the lowest level
* calls:
*
* - they know what values they need as arguments
* - their direct return value pertains to the API_ “shell“ itself (0 on
* success some error code otherwise)
* - if the call returns a value it is buried within arguments
*
****************************************************************************/
#ifdef DEBUG
#define debugf(fmt args...) do { printf(“%s(): “ __func__); printf(fmt ##args); } while (0)
#else
#define debugf(fmt args...)
#endif
typedef int (*cfp_t)(va_list argp);
static int calls_no;
/*
* pseudo signature:
*
* int API_getc(int *c)
*/
static int API_getc(va_list ap)
{
int *c;
if ((c = (int *)va_arg(ap u_int32_t)) == NULL)
return API_EINVAL;
*c = getc();
return 0;
}
/*
* pseudo signature:
*
* int API_tstc(int *c)
*/
static int API_tstc(va_list ap)
{
int *t;
if ((t = (int *)va_arg(ap u_int32_t)) == NULL)
return API_EINVAL;
*t = tstc();
return 0;
}
/*
* pseudo signature:
*
* int API_putc(char *ch)
*/
static int API_putc(va_list ap)
{
char *c;
if ((c = (char *)va_arg(ap u_int32_t)) == NULL)
return API_EINVAL;
putc(*c);
return 0;
}
/*
* pseudo signature:
*
* int API_puts(char **s)
*/
static int API_puts(va_list ap)
{
char *s;
if ((s = (char *)va_arg(ap u_int32_t)) == NULL)
return API_EINVAL;
puts(s);
return 0;
}
/*
* pseudo signature:
*
* int API_reset(void)
*/
static int API_reset(va_list ap)
{
do_reset(NULL 0 0 NULL);
/* NOT REACHED */
return 0;
}
/*
* pseudo signature:
*
* int API_get_sys_info(struct sys_info *si)
*
* fill out the sys_info struct containing sele
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-08-18 09:00 uboot_tiny4412_changed_version
文件 27847 2018-08-18 09:00 uboot_tiny4412_changed_version.boards.depend
目录 0 2018-08-18 08:48 uboot_tiny4412_changed_versionapi
文件 14260 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi.c
文件 2521 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_net.c
文件 1605 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_platform-arm.c
文件 2184 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_platform-powerpc.c
文件 1503 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_private.h
文件 8996 2018-05-25 09:11 uboot_tiny4412_changed_versionapiapi_storage.c
文件 1170 2018-05-25 09:11 uboot_tiny4412_changed_versionapiMakefile
文件 1873 2018-05-25 09:11 uboot_tiny4412_changed_versionapiREADME
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarch
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharm
文件 2253 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmconfig.mk
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpu
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm11
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136
文件 1318 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136config.mk
文件 1973 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136cpu.c
文件 1409 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136Makefile
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31
文件 1734 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31devices.c
文件 2709 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31generic.c
文件 1372 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31Makefile
文件 4371 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136mx31 imer.c
目录 0 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xx
文件 1350 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xxMakefile
文件 1451 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xx
eset.S
文件 4459 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136omap24xx imer.c
文件 13039 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136start.S
文件 1923 2018-05-25 09:11 uboot_tiny4412_changed_versionarcharmcpuarm1136u-boot.lds
............此处省略7430个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)