-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
19 changed files
with
163 additions
and
159 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,2 @@ | ||
*.bin | ||
output |
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,2 +1,6 @@ | ||
# u-boot-ingenic | ||
U-Boot for Ingenic Xburst T10-T31 SoC's | ||
U-Boot for Ingenic Xburst T10-T31 chipsets. | ||
|
||
``` | ||
bash build.sh | ||
``` |
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 |
---|---|---|
@@ -1,51 +1,30 @@ | ||
#!/bin/sh -e | ||
|
||
export ARCH=mips | ||
export CROSS_PATH="../../../../pc/tools/toolchain/gcc_540/mips-gcc540-glibc222-32bit-r3.3.0/bin" | ||
export CROSS_COMPILE="$(readlink -f $CROSS_PATH)/mips-linux-gnu-" | ||
|
||
# NOR | ||
# T31N make isvp_t31_sfcnor | ||
# T31L make isvp_t31_sfcnor_lite | ||
# T31X make isvp_t31_sfcnor_ddr128M | ||
# T31A make isvp_t31a_sfcnor_ddr128M | ||
# T31AL make isvp_t31al_sfcnor_ddr128M | ||
# MMC | ||
# T31N make isvp_t31_msc0 | ||
# T31L make isvp_t31_msc0_lite | ||
# T31X make isvp_t31_msc0_ddr128M | ||
# T31A make isvp_t31a_msc0_ddr128M | ||
# T31AL make isvp_t31al_msc0_ddr128M | ||
#!/bin/bash | ||
output=output | ||
|
||
declare -A cfg | ||
cfg[t10]="isvp_t10_sfcnor" | ||
cfg[t10l]="isvp_t10_sfcnor_lite" | ||
cfg[t20]="isvp_t20_sfcnor" | ||
cfg[t20l]="isvp_t20_sfcnor_lite" | ||
cfg[t20x]="isvp_t20_sfcnor_ddr128M" | ||
cfg[t31n]="isvp_t31_sfcnor" | ||
cfg[t31l]="isvp_t31_sfcnor_lite" | ||
cfg[t31x]="isvp_t31_sfcnor_ddr128M" | ||
cfg[t31a]="isvp_t31a_sfcnor_ddr128M" | ||
cfg[t31al]="isvp_t31al_sfcnor_ddr128M" | ||
cfg[t31lc]="isvp_t31lc_sfcnor" | ||
cfg[t21n]="isvp_t21_sfcnor" | ||
cfg[t30n]="isvp_t30_sfcnor" | ||
cfg[t30l]="isvp_t30_sfcnor_lite" | ||
cfg[t30x]="isvp_t30_sfcnor_ddr128M" | ||
cfg[t30a]="isvp_t30a_sfcnor_ddr128M" | ||
cfg[t30a1]="isvp_t30a1_sfcnor_ddr128M" | ||
cfg[t31n]="isvp_t31_sfcnor" | ||
cfg[t31l]="isvp_t31_sfcnor_lite" | ||
cfg[t31x]="isvp_t31_sfcnor_ddr128M" | ||
cfg[t31a]="isvp_t31a_sfcnor_ddr128M" | ||
cfg[t31al]="isvp_t31al_sfcnor_ddr128M" | ||
cfg[t31lc]="isvp_t31lc_sfcnor" | ||
|
||
rm -rf $output | ||
mkdir -p $output | ||
|
||
OUTPUTDIR="${HOME}/uboot" | ||
mkdir -p ${OUTPUTDIR} 2>&1 > /dev/null | ||
|
||
for soc in "${!cfg[@]}" ;do | ||
|
||
make distclean | ||
make ${cfg[$soc]} | ||
make -j`nproc` | ||
|
||
cp u-boot-with-spl.bin ${OUTPUTDIR}/u-boot-${soc}-universal.bin | ||
|
||
for soc in ${!cfg[@]}; do | ||
make ${cfg[$soc]} -j8 | ||
cp u-boot-lzo-with-spl.bin $output/u-boot-${soc}-nor.bin | ||
make distclean | ||
done |
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
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.