[Letux-kernel] e60k02 uboot I2C2/3
H. Nikolaus Schaller
hns at goldelico.com
Sat Oct 5 21:35:37 CEST 2019
> Am 05.10.2019 um 20:09 schrieb Andreas Kemnade <andreas at kemnade.info>:
>
> Hi,
>
> after some reading of discussions about uboot I2C errors, I found
> out that we should use a flag called SION helping for readbacks.
> We have set in for mx6sll for all I2C ports but for mx6sl
> it was only set for I2C1, not for the autoconverted defines.
> I have changed that. Hopefully, I2C2/3 should work now.
>
> BTW: We are configuring just the charger in uboot/ checking for battery.
> So nothing vital for test-booting a kernel except in low battery
> situations.
>
> Regards,
> Andreas
Yey! This works :)
Still with tolino firstpart, but very promising so that
I have created it as "latest":
http://download.goldelico.com/letux-u-boot/Shine/2019-10-05/
http://download.goldelico.com/letux-u-boot/Clara/2019-10-05/
Next step: how is your boot choice installed?
BR,
Nikolaus
U-Boot 2016.03-g31c3772 (Oct 05 2019 - 21:17:41 +0200)
CPU: Freescale i.MX6SL rev1.3 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 34C
Reset cause: POR
Board: MX6SLL LPDDR2 NTX
^^^ I have now changed that to properly tell MX6SL
I2C: ready
DRAM: 512 MiB
__get_sd_number(),cfg23=1,cfg24=0
force_idle_bus: sda=0 scl=0 sda.gp=0x4d scl.gp=0x4c
force_idle_bus: sda=0 scl=0 sda.gp=0x4f scl.gp=0x4e
force_idle_bus: sda=1 scl=0 sda.gp=0x56 scl.gp=0x55
MMC: board_mmc_init() : isd=1
board_mmc_init() : wifi=2
FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
ntx_hw_early_init() 0
ram p=80000000,size=536870912
switch to partitions #0, OK
mmc0 is current device
mmc read 0x9ffffe00 0x3ff 0x1
MMC read: dev # 0, block # 1023, count 1 ... 1 blocks read: OK
mmc read 0x9ffffe00 0x400 0x1
MMC read: dev # 0, block # 1024, count 1 ... 1 blocks read: OK
ntx_hw_late_init()
mmc read 0x9ffffc00 0x1 0x1
MMC read: dev # 0, block # 1, count 1 ... 1 blocks read: OK
NTXSN not avalible !
ntx_gpio_get_value(404) : error parameter ! null ptr !
ntx_config_fastboot_layout():8 binaries partition added
ntx_config_fastboot_layout: get partition:media fail !!
ntx_config_fastboot_layout: get partition:system fail !!
ntx_config_fastboot_layout: get partition:data fail !!
ntx_config_fastboot_layout: get partition:cache fail !!
ntx_config_fastboot_layout: get partition:recovery fail !!
ntx_config_fastboot_layout: get partition:vendor fail !!
ntx_config_fastboot_layout: get partition:misc fail !!
ntx_config_fastboot_layout: get partition:emergency fail !!
ntx_config_fastboot_layout():9 mbr partition added
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
Net: CPU Net Initialization Failed
No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
mmc read 0x80800000 0x7ff 0x1
MMC read: dev # 0, block # 2047, count 1 ... 1 blocks read: OK
kernel size = 2920156 at 80800000
mmc read 0x80800000 0x800 0x164d
MMC read: dev # 0, block # 2048, count 5709 ... 5709 blocks read: OK
Booting from mmc ...
mmc read 0x83000000 0x505 0x1
MMC read: dev # 0, block # 1285, count 1 ... 1 blocks read: OK
no dtb signature !
WARN: Cannot load the DT
eBR-1A #
More information about the Letux-kernel
mailing list