forked from turing-machines/BMC-Firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
229 additions
and
5,089 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# Copyright (C) 2023 Sam Edwards <[email protected]> | ||
|
||
fdt_filename="FDT_FILENAME_HERE" | ||
fdt_filename="sun8i-t113s-turingmachines-tp2-bmc.dtb" | ||
|
||
# Set bootargs: | ||
setenv bootargs earlycon=uart8250,mmio32,0x02500c00 console=ttyS3,115200 \ | ||
loglevel=8 cma=8M init=/sbin/preinit | ||
setenv bootargs loglevel=8 cma=8M init=/sbin/preinit rootwait=5 | ||
|
||
if test ${devtype} = mmc; then | ||
setenv bootargs ${bootargs} root=PARTUUID=${distro_bootpart_uuid} | ||
|
@@ -14,7 +13,7 @@ if test ${devtype} = ubi; then | |
setenv bootargs ${bootargs} ubi.mtd=ubi ubi.block=${devnum},${distro_bootpart} root=254:0 | ||
fi | ||
|
||
setenv bootargs ${bootargs} sunxi_gmac.mac_str=${ethaddr} ${bootmode} | ||
setenv bootargs ${bootargs} ${bootmode} | ||
|
||
# Load image, FDT | ||
load ${devtype} ${devnum}:${distro_bootpart} ${loadaddr} /boot/zImage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.