Skip to content

Integrate meta-seco-rk/u-boot-seco-rk/seco_2017.09_d23

Commit: https://git.seco.com/edgehog/layers/seco/meta-seco-rk/-/commit/98926a1b0adf0145de8165ada7ae2631b9619fb1

Integrate u-boot-seco-rk/seco_2017.09_d23

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/1cf3c2d1f50869b6723e3289be64a287471f39f4

[D23] [BOARD] Update board revisions

Update board revisions according to this scheme: Revision Index | Revision scheme/PCB | EEPROM Address 0 | A | 0x50 1 | A | 0x50 2 | B | 0x50 3 | B | 0x50/0x51 4 | C7/REV.C | 0x52 5 | C16/REV.C | 0x52/0x53 6 | C18/REV.C | 0x52/0x53

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/f8ad2458c35ff04c156b02e555adc748bdc822bf

[D23] [DTS] Keep a single reference to the pinctrl node

Merge two pinctrl nodes into one and remove the commented sdmmc_pwr pinctrl node.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/8e6b56f4552a4eead17ce69570944c51ed5d2ffe

[D23] [DTS] PMIC RK809 and regulators nodes refactoring

Change the PMIC name and compatible property to match the scheme. Add vcc5v0_sys regulator-fixed node from which the various power supplies will be generated by PMIC. PMIC node configuration based on stable kernel device tree file. Add io_domains nodes, with properties taken from the stable kernel.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/216a27722fa4fb897f4718fbf726144e6906c421

[D23] [DTS] eMMC/SD nodes properties revision

Move pinctrl property to SoC dtsi file from board dts. SD card detection is not supported, so overwrite the pinctrl property of SD node in board dts file without sdmmc_det. Remove cd-gpios, as gpio0 RK_PA3 pin is used by IO_EXP_INT. Remove properties not used by drivers (ignore-pm-notify, supports-sd/emmc, sd-uhs-sdrX) remove u-boot,dm-pre-reloc from emmc node, as it exists in seco-px30-u-boot.dtsi. Remove the unsupported mmc-hs200-1_8v property.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/c0302aad522bc2ff80e981425e96cbc1a1444aae

[D23] [BOARD] Apply a few fixes to the implementation

Add board revision defines to be used throughout the code. By getting a valid eeprom address on the i2c bus, we fetch revision of the board and the MAC address. A RTC may be at the valid address 0x51 instead of EEPROM, then in the board_code() function continue to iterate the eeprom addresses until a valid eeprom address is found.

In the setup_macaddr function to get the eeprom device use board_code() return value.

Join two cases where the mac address could be programmed incorrectly using the logical OR operator.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/4792c7302c5835bc794634892e60a97e154d199a

[D23] [BOARD] Fix indentation and remove the commented code.

To make the code more readable remove the commented-out code and fix indentation.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/62a52252f7de346dfe3168817f06b956579c6a81

[D23] [DTS] Configure external clock source for GMAC node

Add gmac_clkin as a parent to SCLK_GMAC to switch GMAC to external clock. The KSZ8091RNA is configured to RMII in 25 MHz clock mode (a 25 MHz crystal connected to XI, XO (Pins 8, 7)). Override the clock frequency property of gmac_clkin node with 25MHz. The KSZ8091RNA will generate 50 MHz RMII reference clock output for the MAC.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/cb3180bedeeec12b6a3b36a7e349d35528771bff

[D23] [DEFCONFIG] Enable PHY_MICREL support

According to the scheme we have the KSZ8091RNAIA Ethernet transceiver of Micrel interfaced to PX30 RMII. Disable Texas Instruments Ethernet PHYs support (PHY_TI).

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/920aece5af453e60e26410c7c5700fd31d0b18d5

[D23] [DEFCONFIG] Enable NET_RANDOM_ETHADDR

When EEPROM is not well programmed to get MAC address from, it is better to have this CONFIG enabled to set ethaddr.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/eabb800e24725555f8eb27a294e5988ed3ac1110

[D23] [BOARD] Keep default fdt_file name for booting

Comment out the setting of a board revision id suffix in the default fdt_file name.

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/93027a754773a4e9cb0fffcf3f3dd0131803e46c

[D23] [TOOLS] Increase the SPL image size.

From u-boot-seco-rk build log: Warning: SPL image is too large (size 0x3000) and will not boot

Merge request reports

Loading