mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next
- More Tegra video improvements
This commit is contained in:
23
include/configs/ouya.h
Normal file
23
include/configs/ouya.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* (C) Copyright 2010,2012
|
||||
* NVIDIA Corporation <www.nvidia.com>
|
||||
*
|
||||
* (C) Copyright 2025
|
||||
* Svyatoslav Ryhel <clamor95@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include "tegra30-common.h"
|
||||
|
||||
/* High-level configuration options */
|
||||
#define CFG_TEGRA_BOARD_STRING "Ouya Game Console"
|
||||
|
||||
/* Board-specific serial config */
|
||||
#define CFG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
5
include/env/nvidia/prod_upd.env
vendored
5
include/env/nvidia/prod_upd.env
vendored
@@ -3,6 +3,7 @@ boot_block_size=0x1000
|
||||
bootloader_file=u-boot-dtb-tegra.bin
|
||||
spi_size=0x400000
|
||||
boot_dev=0
|
||||
boot_interface=mmc
|
||||
|
||||
flash_uboot=echo Preparing RAM;
|
||||
mw ${kernel_addr_r} 0 ${boot_block_size_r};
|
||||
@@ -11,9 +12,9 @@ flash_uboot=echo Preparing RAM;
|
||||
mmc dev 0 1;
|
||||
mmc read ${kernel_addr_r} 0 ${boot_block_size};
|
||||
echo Reading bootloader;
|
||||
if load mmc ${boot_dev}:1 ${ramdisk_addr_r} ${bootloader_file};
|
||||
if load ${boot_interface} ${boot_dev}:1 ${ramdisk_addr_r} ${bootloader_file};
|
||||
then echo Calculating bootloader size;
|
||||
size mmc ${boot_dev}:1 ${bootloader_file};
|
||||
size ${boot_interface} ${boot_dev}:1 ${bootloader_file};
|
||||
ebtupdate ${kernel_addr_r} ${ramdisk_addr_r} ${filesize};
|
||||
echo Writing bootloader to eMMC;
|
||||
mmc dev 0 1;
|
||||
|
||||
Reference in New Issue
Block a user