The problematic code is shown below and can be found on line 380 in edm-g-imx8mp.c file void board_late_mmc_env_init(void) { char cmd[32]; // char mmcblk[32]; u32 dev_no = mmc_get_env_dev(); if (!check_mmc_autodetect()) return; env_set_ulong("mmcdev", dev...
* Return the value, if found, or NULL, if not found. @@ -233,7 +247,7 @@ char *fw_getenv (char *name) { char *env, *nxt; if (env_init ()) if (fw_env_open()) return NULL; for (env = environment.data; *env; env = nxt + 1) { @@ -264,7 +278,7 @@ int fw_...
So,I can modify the uboot environment variables from userspace through this way,but this way is not flexible.I still want to use fw_printenv,but my fw_printenv is fail to run: root@sabresd_6dq:/sata # ./fw_printenv /system/bin/sh: ./fw_printenv: No such file...