- 25 Sep, 2020 - 12 commits
-
-
Simon Glass authored
At present it is not possible to tell from a script where the setup block is, or where the image was loaded to. Add environment variables for this. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Add a subcommand that sets up the kernel ready for execution. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Add a subcommand that loads the kernel into the right places in memory. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> [bmeng: adjust ZBOOT_STATE_INFO value to match the command order] Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Add a little subcommand that prints out where the kernel was loaded and its setup pointer. Run it by default in the normal boot. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Split out the code that actually boots linux into a separate sub-command. Add base_ptr to the state to support this. Show an error if the boot fails, since this should not happen. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Add subcommands to zboot. At present there is only one called 'start' which does the whole boot. It is the default command so is optional. Change the 's' string variable to const while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> [bmeng: reduce maxargs to 6 of 'zboot start' subcommand] Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
At present if an error occurs while setting up the boot, interrupts are left disabled. Move this call later in the sequence to avoid this problem. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
At present U-Boot sets a loader type of 8 which means LILO version 8, according to the spec. Update it to 0x80, which means U-Boot with no particular version. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
To help reduce the size and complexity of load_zimage(), move the code that reads the kernel version into a separate function. Update get_boot_protocol() to allow printing the 'Magic signature' message only once, under control of its callers. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
Use IS_ENABLED() instead of #ifdef in this file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
At present the 'zboot' command does everything in one go. It would be better if it supported sub-commands like bootm, so it is possible to examine what will be booted before actually booting it. In preparation for this, move the 'state' of the command into a struct. This will allow it to be shared among multiple functions in this file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
This header is missing a few of the newer features from the specification. Add these as well as a link to the spec. Also use the BIT() macros where appropriate. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- 24 Sep, 2020 - 28 commits
-
-
Tom Rini authored
- Add DM_SPI, DM_SPI_FLASH support for powerpc platforms - Add DM_ETH support on P1010RDB, P1020RDB, P2020RDB - Remove some un-maintained powerpc platforms - Add USB_STORAGE support in config
-
Ran Wang authored
commit 0cfccb54 ("configs: Resync with savedefconfig") removed CONFIG_USB_STORAGE from some powerpc platforms' defconfig files, whicih would block the use case of system loading rootfs from USB drives, add them back. Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P5040DS secure boot configs as they are no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P5020DS board support as it is no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P4080DS secure boot configs as they are no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P3041DS secure boot configs as they are no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P1024RDB board support as it is no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P1021RDB board support as it is no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P1020MBG board support as it is no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P1020UTM board support as it is no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P1025RDB board support as it is no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc P1010RDB secure boot configs as they are no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Priyanka Jain authored
Remove NXP powerpc p1023rdb board support as it is no longer maintained. Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
Enable the DM_ETH and DM_MDIO config. On P2020RDB, the eTSEC1 is connecting with a switch VSC7385, so also enable the fixed PHY support. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
P2020RDB implements 3 enhanced three-speed Ethernet controllers, and the connection is shown below: eTSEC1: Connected to RGMII switch VSC7385 eTSEC2: Connected to SGMII PHY VSC8221 eTSEC3: Connected to SGMII PHY AR8021 Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
Enable the DM_ETH and DM_MDIO config. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
The board_eth_init() is only used by legacy ethernet driver framework, so do not compile it when DM_ETH config has been selected. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
P1010RDB implements 3 enhanced three-speed Ethernet controllers, and the connection is shown below: eTSEC1: Connected to RGMII PHY AR8033 eTSEC2: Connected to SGMII PHY AR8033 eTSEC3: Connected to SGMII PHY AR8033 Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
Enable the DM_ETH and DM_MDIO config. On P1020RDB, the eTSEC1 is connecting with a switch VSC7385, so also enable the fixed PHY support. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
The board_eth_init() is only used by legacy ethernet driver framework, so do not compile it when DM_ETH config has been selected. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
P1020RDB implements 3 enhanced three-speed Ethernet controllers, and the connection is shown below: eTSEC1: Connected to RGMII switch VSC7385 eTSEC2: Connected to SGMII PHY VSC8221 eTSEC3: Connected to SGMII PHY AR8021 Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
Add the environment 'vscfw_addr' to assign a default address for vsc7385 firmware uploading. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
Move vsc7835 firmware uploading to board_early_init_r(), so that the switch also can work in DM eTSEC driver. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
The cpu_eth_init() is only used by the legacy ethernet driver framework. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
Add compatible string "gianfar" support and update the device-tree-bindings doc. Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
The info of fixed-link PHY is described in DT node instead of getting from MII, so detect the fixed-link PHY DT node first, if it doesn't exist then probe the MII. Signed-off-by:
Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
For the platforms on which the eTSEC driver uses DM_ETH, convert its MDIO controller code to also use DM_MDIO. Note that for handling the TBI PHY (the MAC PCS for SGMII), we still don't register a udevice for it, since we can drive it locally and there is no point in doing otherwise. Signed-off-by:
Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> [Reworked to fix gazerbeam config] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Hou Zhiqiang authored
The MII management register block offset is different between gianfar and etsec2 compatible devices, this patch is to fix this issue by adding driver data for different compatible string. Fixes: 2932c5a8 ("net: tsec: fsl_mdio: add DM MDIO support") Signed-off-by:
Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by:
Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-