uboot中不同的启动模式下,背光的传递参数也是不一样的,因此在不同模式下,其他的参数也可能是有区别的。
不同的启动模式:
fastboot模式
通过power key开机
通过重启方式开机
panic导致的重启开机
关机时插入usb导致的充电模式开机
关机闹钟引起的开机
关于背光是否开启的启动参数源头在函数:
vlx_nand_boot(BOOT_PART, cmd_buf, BACKLIGHT_OFF);
以下是在uboot中搜到的所有调用位置。
---- vlx_nand_boot Matches (30 in 9 files) ----
Alarm_mode.c (property): vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=alarm", BACKLIGHT_OFF);
Alarm_mode.c (property): vlx_nand_boot(BOOT_PART, "androidboot.mode=alarm", BACKLIGHT_OFF);
Boot_mode.h (include):extern void vlx_nand_boot(char * kernel_pname, char * cmdline, int backlight_set);
Calibration_detect.c (property):
vlx_nand_boot(BOOT_PART, buf, BACKLIGHT_OFF);
Calibration_detect.c (property): vlx_nand_boot(RECOVERY_PART,cmd_buf, BACKLIGHT_OFF);
Calibration_detect.c (property):
vlx_nand_boot(BOOT_PART, cmd_buf, BACKLIGHT_OFF);
Calibration_detect.c (property):
vlx_nand_boot(BOOT_PART, buf, BACKLIGHT_OFF);
Calibration_detect.c (property):
vlx_nand_boot(RECOVERY_PART,cmd_buf, BACKLIGHT_OFF);
Calibration_detect.c (property):
vlx_nand_boot(BOOT_PART, cmd_buf, BACKLIGHT_OFF);
Charge_mode.c (property): vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=charger", BACKLIGHT_ON);
Charge_mode.c (property): vlx_nand_boot(BOOT_PART, "androidboot.mode=charger", BACKLIGHT_ON);
Engtest_mode.c (property): vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=engtest", BACKLIGHT_OFF);
Engtest_mode.c (property): vlx_nand_boot(BOOT_PART, "androidboot.mode=engtest", BACKLIGHT_OFF);
Normal_emc_mode.c (property):void vlx_nand_boot(char * kernel_pname, char * cmdline, int backlight_set)
Normal_emc_mode.c (property):printk("\n=============================vlx_nand_boot==================================\n");
Normal_mode.c (property): vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS, BACKLIGHT_ON);
Normal_mode.c (property): vlx_nand_boot(BOOT_PART, NULL, BACKLIGHT_ON);
Normal_mode.c (property): vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=special", BACKLIGHT_OFF);
Normal_mode.c (property): vlx_nand_boot(BOOT_PART, "androidboot.mode=special", BACKLIGHT_OFF);
Normal_mode.c (property): vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=iq", BACKLIGHT_OFF);
Normal_mode.c (property): vlx_nand_boot(BOOT_PART, " androidboot.mode=iq", BACKLIGHT_OFF);
Normal_mode.c (property):
vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=wdgreboot", BACKLIGHT_OFF);
Normal_mode.c (property):
vlx_nand_boot(BOOT_PART, "androidboot.mode=wdgreboot", BACKLIGHT_OFF);
Normal_mode.c (property):
vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=unknowreboot", BACKLIGHT_OFF);
Normal_mode.c (property):
vlx_nand_boot(BOOT_PART, "androidboot.mode=unknowreboot", BACKLIGHT_OFF);
Normal_mode.c (property):
vlx_nand_boot(BOOT_PART, CONFIG_BOOTARGS " androidboot.mode=panic", BACKLIGHT_OFF);
Normal_mode.c (property):
vlx_nand_boot(BOOT_PART, "androidboot.mode=panic", BACKLIGHT_OFF);
Normal_nand_mode.c (property):void vlx_nand_boot(char * kernel_pname, char * cmdline, int backlight_set)
Recv_mode.c (property): vlx_nand_boot(RECOVERY_PART, CONFIG_BOOTARGS, BACKLIGHT_ON);
Recv_mode.c (property): vlx_nand_boot(RECOVERY_PART, NULL, BACKLIGHT_ON);