Skip to content

Commit

Permalink
u-boot-edison: disable running fsck at boot time
Browse files Browse the repository at this point in the history
Disable running fsck at boot. System clock is typically wrong at early
boot stage due to lack of RTC backup battery. This causes unnecessary
fixes being made due to filesystem metadata time stamps being in future.

Ostro images use journaling filesystem and thus running fsck at boot is
not necessary.

Signed-off-by: Jussi Laako <[email protected]>
  • Loading branch information
jlaako committed Apr 4, 2016
1 parent 70ca771 commit afddf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-edison-bsp/recipes-bsp/u-boot/files/edison.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ first_install_max_retries=3
audio_codec_name=audio_codec="dummy"
do_audio_support=setenv audio_support platform_mrfld_audio.${audio_codec_name}
do_compute_target=if itest.b ${first_install_retry} -gt ${first_install_max_retries} ; then echo "Switch to Rescue target"; setenv bootargs_target rescue; saveenv; fi
mmc-bootargs=run do_bootargs_rootfs; run do_audio_support; setenv bootargs ${bootargs_rootfs} ${bootargs_console} ${bootargs_debug} g_multi.ethernet_config=${bootargs_ethconfig} systemd.unit=${bootargs_target}.target hardware_id=${hardware_id} g_multi.iSerialNumber=${serial#} g_multi.dev_addr=${usb0addr} ${audio_support}
mmc-bootargs=run do_bootargs_rootfs; run do_audio_support; setenv bootargs ${bootargs_rootfs} ${bootargs_console} ${bootargs_debug} g_multi.ethernet_config=${bootargs_ethconfig} systemd.unit=${bootargs_target}.target hardware_id=${hardware_id} g_multi.iSerialNumber=${serial#} g_multi.dev_addr=${usb0addr} ${audio_support} fsck.mode=skip
loadaddr=0x100000
load_kernel=mmc rescan;if fatload mmc 1:1 ${loadaddr} vmlinuz;then echo "Booting from SD ...";setenv rootfs /dev/mmcblk1p2;else fatload mmc 0:7 ${loadaddr} vmlinuz;echo "Booting from emmc ...";setenv rootfs PARTUUID=${uuid_rootfs};fi;

Expand Down

0 comments on commit afddf84

Please sign in to comment.