forked from u-boot/u-boot
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move UART setup outside DRAM init #2
Closed
Closed
Conversation
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
nkskjames
force-pushed
the
uart_fix
branch
2 times, most recently
from
February 22, 2016 02:00
9a3cf8c
to
9f709df
Compare
When a BMC reboot occurs an SOC reset is performed. An SOC reset does not reset the DRAM. The uboot platform code initialized UART in dram init section. So an SOC reset was causing the UART to not be initialized on reboot. This moves the UART setup code before dram init stage. This change should be integrated if SOC reset method is used to reboot BMC otherwise you won't see a u-boot console. Signed-off-by: Norman James <nkskjames@gmail.com>
Merged in 4b44678 |
eddiejames
pushed a commit
to eddiejames/u-boot
that referenced
this pull request
Jul 10, 2020
now MAC#1 and MAC#2 can execute ping command successfully.
eddiejames
pushed a commit
to eddiejames/u-boot
that referenced
this pull request
Jul 10, 2020
dkodihal
pushed a commit
to NVIDIA/u-boot
that referenced
this pull request
May 7, 2024
…ement Test log: U-Boot 2019.04 (Sep 16 2021 - 10:36:57 +0000) SOC: AST2600-A3 RST: WDT1 SOC PCI RST: openbmc#1 openbmc#2 eSPI Mode: SIO:Enable : SuperIO-2e Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII Model: AST2600 EVB: E4830 DRAM: already initialized, 1008 MiB (capacity:1024 MiB, VGA:16 MiB), ECC off MMC: sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0 Loading Environment from SPI Flash... SF: Detected n25q512ax3 with page size 256 Bytes, erase size 4 KiB, total 64 MiB OK In: serial@1e784000 Out: serial@1e784000 Err: serial@1e784000 Model: AST2600 EVB: E4830 Net: No MDIO found. Warning: ftgmac@1e670000 (eth2) using random MAC address - ee:9e:a9:78:b4:61 eth2: ftgmac@1e670000 Hit any key to stop autoboot: 0 ast# ast# printenv baudrate=115200 bootargs=console=ttyS4,115200n8 root=/dev/ram rw bootcmd=bootm 20100000 bootdelay=2 bootfile=all.bin fdtcontroladdr=bcf83b38 gatewayip=10.32.204.1 ipaddr=10.32.204.193 netmask=255.255.255.0 serverip=10.32.204.52 stderr=serial@1e784000 stdin=serial@1e784000 stdout=serial@1e784000 verify=yes Environment size: 308/65532 bytes ast# ping 10.32.204.52 ftgmac@1e670000: link up, 100 Mbps full-duplex mac:ee:9e:a9:78:b4:61 Using ftgmac@1e670000 device host 10.32.204.52 is alive
dkodihal
added a commit
to NVIDIA/u-boot
that referenced
this pull request
May 7, 2024
U-boot: E4830 related changes 100Mbps configuration for Ethernet & PCIe and USB enablement U-boot changes to address Ethernet SW bring up on E4830 board and Initializing PCIe & USB core. Test log: U-Boot 2019.04 (Sep 16 2021 - 10:36:57 +0000) SOC: AST2600-A3 RST: WDT1 SOC PCI RST: openbmc#1 openbmc#2 eSPI Mode: SIO:Enable : SuperIO-2e Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII Model: AST2600 EVB: E4830 DRAM: already initialized, 1008 MiB (capacity:1024 MiB, VGA:16 MiB), ECC off MMC: sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0 Loading Environment from SPI Flash... SF: Detected n25q512ax3 with page size 256 Bytes, erase size 4 KiB, total 64 MiB OK In: serial@1e784000 Out: serial@1e784000 Err: serial@1e784000 Model: AST2600 EVB: E4830 Net: No MDIO found. Warning: ftgmac@1e670000 (eth2) using random MAC address - ee:9e:a9:78:b4:61 eth2: ftgmac@1e670000 Hit any key to stop autoboot: 0 ast# ast# printenv baudrate=115200 bootargs=console=ttyS4,115200n8 root=/dev/ram rw bootcmd=bootm 20100000 bootdelay=2 bootfile=all.bin fdtcontroladdr=bcf83b38 gatewayip=10.32.204.1 ipaddr=10.32.204.193 netmask=255.255.255.0 serverip=10.32.204.52 stderr=serial@1e784000 stdin=serial@1e784000 stdout=serial@1e784000 verify=yes Environment size: 308/65532 bytes ast# ping 10.32.204.52 ftgmac@1e670000: link up, 100 Mbps full-duplex mac:ee:9e:a9:78:b4:61 Using ftgmac@1e670000 device host 10.32.204.52 is alive See merge request dgx/bmc/u-boot!1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Norman James nkskjames@gmail.com