mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
Fixes for 2019.04
- fix bashism for MX8 - fix ethernet for MX53 - fix docs for i.MX8 -----BEGIN PGP SIGNATURE----- iQHDBAABCgAtFiEEiZClFGvhzbUNsmAvKMTY0yrV63cFAlynLM8PHHNiYWJpY0Bk ZW54LmRlAAoJECjE2NMq1et38/QL/Rc3p1pF6Dr9zKzxA0rcMoBo9MzzTrUP6XrN 8syDBJNo2u93Msv78xHTQMCcfxRR3bkTYiWPEzWphC4Qk2IZIe2sETxu2BqsmWRI qzK5+L7oU3qJYqY8mZTUKPhmNxDu7E6yGXI1cWboWSR+/DMTxrUHZU5gjQyaQ/WN Diko1+lyaygZyPv0FzBdx7Vv+agQusGXGu4XbRkOXhrE6ytMv2ZjCzUtMYRIUg8H 057DtJfwgU+zfimUoeuiltAwywh9UGxmlR4kb6rF5VZWX0Xn/XoVbMR6qRQXaFIz PzlNu3FEpOmvBQ5W5xySHS0CzbeTisIopJehZbkCc+XaEr80GplN995rGWGIN5av nlYS7rWHyIcVxoQNT61JTfVC1blFu6+tiokINWFI8as0fMrEAU4okzT4oBaGxdun CVcZDo9ytxKWLqtpD0MIQW4r4kJ27yWe3s4ot+v/+jb+XwkatX2J6oaiKviFFhuc BwniIb9lsi3ESIOaQXjpJ+qAw9gWYA== =//jr -----END PGP SIGNATURE----- Merge tag 'u-boot-imx-20190405' of git://git.denx.de/u-boot-imx Fixes for 2019.04 - fix bashism for MX8 - fix ethernet for MX53 - fix docs for i.MX8
This commit is contained in:
commit
0e62d5b2ab
8 changed files with 11 additions and 25 deletions
|
@ -23,7 +23,7 @@
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_eth>;
|
||||
phy-mode = "rmii";
|
||||
phy-reset-gpios = <&gpio7 6 0>;
|
||||
phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,29 +1,30 @@
|
|||
U-Boot for the NXP i.MX8MQ EVK board
|
||||
|
||||
Quick Start
|
||||
====================
|
||||
===========
|
||||
- Build the ARM Trusted firmware binary
|
||||
- Get ddr and hdmi fimware
|
||||
- Build U-Boot
|
||||
- Boot
|
||||
|
||||
Get and Build the ARM Trusted firmware
|
||||
====================
|
||||
======================================
|
||||
Note: srctree is U-Boot source directory
|
||||
Get ATF from: https://source.codeaurora.org/external/imx/imx-atf
|
||||
branch: imx_4.14.62_1.0.0_beta
|
||||
$ make PLAT=imx8mq bl31
|
||||
$ cp build/imx8mq/release/bl31.bin $(srctree)
|
||||
|
||||
Get the ddr and hdmi firmware
|
||||
====================
|
||||
Note: srctree is U-Boot source directory
|
||||
=============================
|
||||
$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin
|
||||
$ chmod +x firmware-imx-7.9.bin
|
||||
$ ./firmware-imx-7.9.bin
|
||||
$ cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(srctree)
|
||||
$ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(srctee)
|
||||
$ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree)
|
||||
|
||||
Build U-Boot
|
||||
====================
|
||||
============
|
||||
$ export CROSS_COMPILE=aarch64-poky-linux-
|
||||
$ make imx8mq_evk_defconfig
|
||||
$ make flash.bin
|
||||
|
@ -32,5 +33,5 @@ Burn the flash.bin to MicroSD card offset 33KB
|
|||
$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33
|
||||
|
||||
Boot
|
||||
====================
|
||||
====
|
||||
Set Boot switch SW801: 1100 and Bmode: 10 to boot from Micro SD.
|
||||
|
|
|
@ -19,10 +19,6 @@
|
|||
#define CONFIG_FEC_MXC
|
||||
#endif
|
||||
|
||||
/* SPI FLASH */
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#endif
|
||||
|
||||
/* Boot Linux */
|
||||
#define CONFIG_BOOTFILE "uImage"
|
||||
#define CONFIG_BOOTCOMMAND "bootm"
|
||||
|
|
|
@ -34,9 +34,6 @@
|
|||
#define CONFIG_ENV_SECT_SIZE 0x10000 /* 64k */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#endif
|
||||
|
||||
/*
|
||||
* max 4k env size is enough, but in case of nand
|
||||
* it has to be rounded to sector size
|
||||
|
|
|
@ -37,9 +37,6 @@
|
|||
#define CONFIG_ENV_SECT_SIZE 0x10000 /* 64k */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_SF
|
||||
#endif
|
||||
|
||||
/*
|
||||
* max 4k env size is enough, but in case of nand
|
||||
* it has to be rounded to sector size
|
||||
|
|
|
@ -34,9 +34,6 @@
|
|||
|
||||
/* SPI NOR Flash default params, used by sf commands */
|
||||
|
||||
#if defined CONFIG_KM_ENV_IS_IN_SPI_NOR
|
||||
#endif
|
||||
|
||||
/* Reserve 4 MB for malloc */
|
||||
#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define CONFIG_SYS_FSL_ESDHC_NUM 1
|
||||
|
||||
/* Eth Configs */
|
||||
|
||||
/* USB Configs */
|
||||
#define CONFIG_USB_EHCI_MX5
|
||||
#define CONFIG_MXC_USB_PORT 1
|
||||
|
|
|
@ -12,7 +12,7 @@ blobs=`awk '/^SIGNED_HDMI/ {print $2} /^LOADER/ {print $2} /^SECOND_LOADER/ {pri
|
|||
for f in $blobs; do
|
||||
tmp=$srctree/$f
|
||||
|
||||
if [ $f == "spl/u-boot-spl-ddr.bin" ] || [ $f == "u-boot.itb" ]; then
|
||||
if [ $f = "spl/u-boot-spl-ddr.bin" ] || [ $f = "u-boot.itb" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -28,7 +28,7 @@ for f in $blobs; do
|
|||
sed -in "s;$f;$tmp;" $file
|
||||
done
|
||||
|
||||
if [ $post_process == 1 ]; then
|
||||
if [ $post_process = 1 ]; then
|
||||
if [ -f $srctree/lpddr4_pmu_train_1d_imem.bin ]; then
|
||||
objcopy -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 $srctree/lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_imem_pad.bin
|
||||
objcopy -I binary -O binary --pad-to 0x4000 --gap-fill=0x0 $srctree/lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_1d_dmem_pad.bin
|
||||
|
|
Loading…
Add table
Reference in a new issue