09:35 | Ke> | btw. now it seems mcbin stopped crashing |
09:35 | Ke> | I changed nothing obviously |
11:39 | topi`> | damn this UBOOT configuring is complicated. I switched the position of ENV to a fat partition and now SPL can't load UBOOT any longer |
11:39 | topi`> | ** Partition 1 not valid on device 0 ** |
11:39 | topi`> | spl_register_fat_device: fat register err - -1 |
11:39 | topi`> | the SPL is not really clever about where to search for uboot |
11:42 | topi`> | the uboot menuconfig's help texts are not very helpful |
11:50 | topi`> | OK it doesn't really depend on the ENV configuration. Still wants to use fat on MMC1 |
12:18 | jnettlet[m]> | topi`: yes you need to configure CONFIG_SYS_MMC_ENV_DEV and CONFIG_SYS_MMC_ENV_PART for your configuration |
12:42 | topi`> | how does SPL determine which MMC device (sd or emmc) it uses for loading UBOOT? |
12:43 | topi`> | u-boot.cfg:#define CONFIG_SYS_MMC_ENV_DEV 0 |
12:49 | topi`> | but this just says where ENV area is. I am unable to load even UBOOT |
13:15 | topi`> | I can now load UBOOT from sector #69, hooray |
13:17 | topi`> | I dropped CONFIG_SPL_LIBDISK_SUPPORT |
13:17 | topi`> | also dropped CONFIG_SPL_FAT_SUPPORT |
15:07 | topi`> | I have now UBOOT which can load the environment from FAT partition |
15:07 | topi`> | a file called "uboot.env" |