-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cn9130-crb: Upgrade U-Boot to 2023.07.02
- Loading branch information
Showing
6 changed files
with
77 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/ { | ||
config { | ||
environment { | ||
boot_targets = "mmc1"; | ||
ethprime = "eth1"; | ||
|
||
/* Uncomment this if you're debugging U-Boot | ||
* | ||
* This will allow you to break out of the | ||
* normal boot flow and into the interactive | ||
* console. | ||
* | ||
* To upgrade U-Boot itself, simply set the | ||
* `bootfile` variable to the path of | ||
* `flash-image.bin` on your TFTP server, then | ||
* issue `run ixupgradeboot`. | ||
*/ | ||
/* bootdelay = "2"; */ | ||
/* ixupgradeboot = " */ | ||
/* dhcp */ | ||
/* setexpr fileblks ${filesize} + 0x1ff */ | ||
/* setexpr fileblks ${fileblks} / 0x200 */ | ||
|
||
/* mmc dev 1 */ | ||
/* part start mmc 1 boot bootstart */ | ||
/* part size mmc 1 boot bootsize */ | ||
|
||
|
||
/* mmc erase ${bootstart} ${bootsize} */ | ||
/* mmc write ${fileaddr} ${bootstart} ${fileblks} */ | ||
/* "; */ | ||
}; | ||
}; | ||
}; | ||
|
||
/* &cp0_eth0 { */ | ||
/* phy-mode = "10gbase-r"; */ | ||
/* }; */ |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CONFIG_DEVICE_TREE_INCLUDES="infix-env.dtsi infix-key.dtsi cn9130-crb-env.dtsi" | ||
|
||
CONFIG_ENV_IS_NOWHERE=y | ||
# CONFIG_ENV_IS_IN_MMC is not set |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: uboot-2023.07.02/arch/arm/dts/cn9130-crb.dtsi | ||
=================================================================== | ||
--- uboot-2023.07.02.orig/arch/arm/dts/cn9130-crb.dtsi | ||
+++ uboot-2023.07.02/arch/arm/dts/cn9130-crb.dtsi | ||
@@ -239,7 +239,7 @@ | ||
|
||
&cp0_eth0 { | ||
status = "okay"; | ||
- phy-mode = "sfi"; | ||
+ phy-mode = "10gbase-r"; | ||
}; | ||
|
||
&cp0_eth1 { |