Integrate u-boot-seco-imx/seco_lf_v2021.04_develop-santino
[SANTINO][NON-FUNCTIONAL] Update MAINTAINERS
--
[SANTINO][NON-FUNCTIONAL] Convert tabs to spaces
--
[SANTINO] Remove not needed ldo bypass code
--
[SANTINO] Adapt seco-config video to Santino overlays
Add the RGB parallel LCD to the options of seco_config (video).
Remove the unneeded video options coming from A75 project.
--
[SANTINO] Fix SD boot configuration through seco-config
Fixed SCFG_BOOT_DEV_ID_SD_EXT. It was stringify-ing a variable not defined, causing an U-Boot error when booting from SD card.
--
[SANTINO] Configure default console interface
Switched to ttymxc0 due to kernel device tree. In the kernel device tree the UART2 is aliased as serial0.
--
[SANTINO] Remove SPI-onboard device tree source
The SPI is not configured on this board.
--
[SANTINO] Remove peripheral overlay from seco-config
--
[SANTINO][DTS] Add USB support
NOTE: it's not possible to boot from USB (eMMC and SD card only) due to board design.
Tested inserting a USB drive into the port X34:
MX SECO U-Boot > usb reset
resetting USB...
Bus usb@02184000: usb dr_mode not found
Port not available.
Bus usb@2184200: USB EHCI 1.00
scanning bus usb@2184200 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
MX SECO U-Boot > part list usb 0
Partition Map for USB device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00004000 0x0002d997 "bootfs"
attrs: 0x0000000000000004
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 09ddd247-917f-476a-bd4a-0aaa15ccd1a0
2 0x00030000 0x0073e899 "rootfs"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: e202d33f-261e-4c19-b90b-eaab27bd9a66
--
[SANTINO][DTS] Remove commented nodes and convert Tabs to spaces
--
[SANTINO] Remove Ethernet-related unused functions
Remove from the board file the Ethernet-related function inherited from the NXP reference project.
--
[SANTINO][DTS][DEFCONFIG] Add Ethernet support
Update both defconfig and device-tree to enable the Ethernet port on the board. Tested with:
MX SECO U-Boot > setenv ipaddr 10.0.1.100
MX SECO U-Boot > setenv netmask 255.255.255.0
MX SECO U-Boot > ping 10.0.1.1
Using ethernet@2188000 device
host 10.0.1.1 is alive
--
[SANTINO] Fix usdhc index in the board file
--
[SANTINO][DTS] Configure USB OTG
Configured the USB OTG as per Santino schematic. This commit enables the
flashing onto eMMC via uuu
tool.
--
[SANTINO][PMIC] Force DDR voltage to 1.35V
Needed because some boards come with PMIC pre-programmed for 1.5V.
Ideally this should be done before initializing the DRAM but, due to lack of internal SRAM of the MCU, requires a bigger effort to be implemented.
--
[SANTINO] Add default device tree
--
[SANTINO] Remove unneeded functions in board files
Removed:
- LVDS, HDMI -> they are fully handled by the OS
- PCIe
- EPDC
- SPI
- functions from NXP reference project
--
[SANTINO] Fix usdhc device numbers
Adapted usdhc_devno
to the Santino board. This fixes the MMC not found
during boot.
--
[SANTINO][ENV] Add Seco-like environment
--
[SANTINO] Remove unused files
--
[SANTINO][PMIC] Configure PFUZE3000 over I2C1
Added the needed changes to correctly enable the PMIC.
TODO: some Santino boards has PMIC supplying DDR with 1.5V instead of the required 1.35V. Therefore, the PMIC should be programmed through I2C to change reduce SW3 voltage. This should be done before RAM initialization.
--
[SANTINO][DTS] Configure usdhc2, usdhc4, uart2
--
[SANTINO][DTS] Depopulate dts files
Removed unneeded nodes from dts files derived from the NXP reference project.
--
[SANTINO] Configure usdhc2 and usdhc4
Configure all the relevant variables for usdhc2 (SD card) and usdhc4 (eMMC) in the board configuration file.
--
[SANTINO][NON-FUNCTIONAL] Clean-up board files
Removed unnecessary commented code from NXP reference project.
--
[SANTINO][DDR] Add 1GB (2x512MB) DDR calibration
--
[SANTINO] Add SPL_TEXT_BASE to seco_imx6dl_santino_defconfig
Configure the SPL base to let uuu
tool execut the SPD.
This commit shows the first output through board's serial port.
--
[SANTINO][DDR] Add DDR calibration
--
[SANTINO][NON-FUNC] defconfig re-organization
Sorted defconfig entries as per A62 board. Nothing have been added, removed or commented.
--
[SANTINO] Minimal porting from A62 to compile u-boot
Applied the minimal changes in order to successfully compile u-boot. A62 code has been used as guideline to compile the Santino target, keeping - as much as possible - the NXP reference project's code.
To compile, the file include/configs/seco_imx6dl_santino.h
has been
replaced with the content of the same file for A62.
This commit succesfully build u-boot and u-boot-spl.
--
[SANTINO] Create Santino board target
U-boot cannot be compiled due to mis-configuration (keeping the reference project files with different target)
--
[SANTINO] Create tree based on mx6dlsabresd
project
This is the first commit. Only the minimal structure to handle the defconfig has been added. More commits will come to adapt the reference project to the Santino board.