Fixes for Nokia RX-51
Get series with b4
b4 am 20200416215748.5mu5b47r5ppr625g@paliVersions newest first
- v1 Latest0 of 11 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 11 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] Fixes for Nokia RX-51
Quoted 47 lines · On Tuesday 14 April 2020 14:01:44 Pali Roh?r wrote:
Quoted 39 lines · On Tuesday 14 April 2020 17:21:24 Lokesh Vutla wrote:
Quoted 38 lines · Pali Roh?r
Quoted 36 lines · On Tuesday 14 April 2020 16:14:08 Lokesh Vutla wrote:
Quoted 24 lines · Pali Roh?r
Quoted 23 lines · On Tuesday 14 April 2020 15:53:14 Lokesh Vutla wrote:
Quoted 21 lines · Pali Roh?r
Quoted 5 lines · On Wednesday 01 April 2020 00:35:07 Pali Roh?r wrote:
This patch series contain fixes for Nokia RX-51 board (aka N900). After these changes it is possible to run U-Boot in qemu emulator again. And U-Boot can boot kernel image from RAM, eMMC or OneNAND memory without problem.
Quoted 13 lines
Pali Roh?r (11):
Nokia RX-51: Update my email address
Nokia RX-51: Add README.nokia_rx51 file toMAINTAINERSNokia RX-51: Move comment aboutCONFIG_SYS_TEXT_BASEto correct place Nokia RX-51: Move code from defconfig back to C header file Nokia RX-51: Revert back onenand defitions
Nokia RX-51: Remove PART* macros
Nokia RX-51: Remembersetup_console_atagoption
Nokia RX-51: EnableCONFIG_CONSOLE_MUX
Nokia RX-51: Disable some unused features to decrease size of u-boot
binary
Nokia RX-51: Update README.nokia_rx51
Nokia RX-51: Add automated test for running RX-51 build in qemuHello! Could you please review this patch series?
Quoted 8 lines
Quoted 2 lines
Series as such looks good to me. But as I see that thread, this series could not boot on real hardware. Is that right?
Without these patches U-Boot does not boot on both emulated and real HW. With this patch series U-Boot boots at least on emulated env.
Older mainline U-Boot version worked fine on both emulated and real HW so something was broken in U-Boot.
So the issue is not completely fixed. Can we get the fix for real hardware included in this series?
Quoted 6 lines
Quoted 3 lines
I do not have hw equipment for debugging nor I do not know what happened that U-Boot stopped working. I already asked for help what happened with omap i2c code in u-boot that stopped working but nobody answered me yet.
I don;t know when it stopped working. But I2C has migrated to Driver-Model. Did you check if
DM_I2Cis enabled for nokia rx-51?
Quoted 7 lines
In .config I do not see any
DM_I2Cstring. Should I something enable? What is needed for OMAP I2C? In .config is:
CONFIG_SYS_I2C_OMAP24XX=yCONFIG_SYS_OMAP24_I2C_SLAVE=1CONFIG_SYS_OMAP24_I2C_SPEED=100000CONFIG_SYS_I2C_BUS_MAX=3
I tried to enable CONFIG_DM and CONFIG_DM_I2C, but it threw following errors:
GEN include/autoconf.mk.dep
In file included from include/config.h:8,
from ./include/common.h:16:
include/config_fallbacks.h:51:4: error: #error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
# error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
^~~~~
In file included from include/config.h:8,
from ./include/common.h:16:
include/config_fallbacks.h:51:4: error: #error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
# error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
^~~~~Next I tried to remove CONFIG_SYS_I2C from include/configs/nokia_rx51.h but it threw another error:
board/nokia/rx51/rx51.c: In function ?rx51_kp_tstc?:board/nokia/rx51/rx51.c:628:3: warning: implicit declaration of function ?i2c_read?; did you mean ?mmc_read?? [-Wimplicit-function-declaration]
i2c_read(TWL4030_CHIP_KEYPAD,
^~~~~~~~
mmc_read
arm-linux-gnueabi-ld.bfd: board/nokia/rx51/built-in.o: in function `rx51_kp_tstc':/home/pali/develop/u-boot/u-boot/board/nokia/rx51/rx51.c:628: undefined reference to `i2c_read'
So looks like that CONFIG_DM_I2C is not possible to use it right now.
Quoted 7 lines
But strange is that there is no problem in qemu emulator without any crash.
Quoted 4 lines
Thanks and regards,
LokeshQuoted 1 line