Commit 6f130c84 authored by Yuri Tikhonov's avatar Yuri Tikhonov
Browse files

RT73025. stm3220g-eval: fix bootargs



Set console, passed to kernel by default, do ttyS2, which corresponds
to UART3. Unfortunatelly, there's no way to use UART1 (and ttyS0) on
this board, just because the GPIO pins used for RS-232 here in alter-
native functions have only UART3 and UART4 capabilities (btw, I tested
that being configured to use UART4 - U-Boot console works well too).

Also, fix-up platform configuration, and TFTP boot dir (in linux we'll
assume STM32 platform, not STM32F2 as we currently do in U-Boot).
Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
parent ac598ce1
......@@ -225,8 +225,8 @@
#define CONFIG_BOOTDELAY 3
#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_HOSTNAME stm3220g-eval
#define CONFIG_BOOTARGS "stm32f2_platform=stm3220g-eval "\
"console=ttyS0,115200 panic=10"
#define CONFIG_BOOTARGS "stm32_platform=stm3220g-eval "\
"console=ttyS2,115200 panic=10"
#define CONFIG_BOOTCOMMAND "run netboot"
/*
......@@ -238,7 +238,7 @@
"ethaddr=C0:B1:3C:88:88:88\0" \
"ipaddr=172.17.4.206\0" \
"serverip=172.17.0.1\0" \
"image=stm32f2/uImage\0" \
"image=stm32/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment