DE10 Nano (Cyclone V) Image Not Working

I was trying to boot my DE10 Nano with the SD Card that came with it. For some reason, it doesn’t work, and hangs at “Starting kernel…”. I’d appreciate if anyone who has gone through this could help me.

U-Boot 2017.03-rc2 (Mar 30 2017 - 19:07:16 -0700)

CPU:   Altera SoCFPGA Platform
FPGA:  Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
BOOT:  SD/MMC Internal Transceiver (3.0V)
       Watchdog enabled
I2C:   ready
DRAM:  1 GiB
MMC:   dwmmc0@ff704000: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Terasic DE10-Nano
Net:   
Error: ethernet@ff702000 address not set.
No ethernet found.
Hit any key to stop autoboot:  0 
reading de10-nano.rbf
3368700 bytes read in 239 ms (13.4 MiB/s)
Setting bus to 2
reading STARTUP.BMP
921738 bytes read in 73 ms (12 MiB/s)
reading de10_nano_hdmi_config.bin
72872 bytes read in 13 ms (5.3 MiB/s)
## Starting application at 0x0C100001 ...
HDMI_vld_tmng_fnd = 1
HDMI_h_active_pix = 1920
HDMI_h_blank_pix = 280
HDMI_h_sync_off = 88
HDMI_h_sync_width = 44
HDMI_v_active_lin = 1080
HDMI_v_blank_lin = 45
HDMI_v_sync_off = 4
HDMI_v_sync_width = 5
HDMI_pll_freq = 148500000
HDMI_pll_m = 8
HDMI_pll_c = 3
HDMI_pll_k = 3908420239
HDMI_stride = 7680
HDMI_milestones = 1048575
## Application terminated, rc = 0x0
reading socfpga_cyclone5_de10_nano.dtb
29940 bytes read in 10 ms (2.9 MiB/s)
switch to partitions #0, OK
mmc0 is current device
Unknown command 'part' - try 'help'
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
187 bytes read in 7 ms (25.4 KiB/s)
1:	Linux Default
Retrieving file: /extlinux/../zImage
reading /extlinux/../zImage
5478000 bytes read in 396 ms (13.2 MiB/s)
append: root=/dev/mmcblk0p2 rootwait mem=0x3F000000 memmap=16M$0x3F000000 ttyS0,115200
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x000100
   reserving fdt memory region: addr=0 size=1000
   reserving fdt memory region: addr=100 size=7f00
   Loading Device Tree to 03ff5000, end 03fffeff ... OK

Starting kernel ...

While trying to troubleshoot this, Linux did boot up once, but not again.

could be wrong MSEL switches. for me, these work: 1 right, 2 left, 3-6 right. “left” means towards its number, “right” is away from its number, or in other words, if you look at the de10-nano from such side, where you can see “SW10” label on top of the switch block on the board itself, then you’ll see enumeration 1,2,3,4,5,6 from top to bottom. using a toothpick worked well for me