MIPS / CI20_u-boot

MIPS Creator CI20 dev board u-boot fork (for development and upstreaming)
26 stars 22 forks source link

How do I run from SD card (not flash the onboard flash) #20

Open cellularmitosis opened 5 years ago

cellularmitosis commented 5 years ago

Hi,

Every time I try to boot from the SD Card, the blue LED lights up and the CI20 copies the SD Card to the onboard flash.

This isn't what I want -- I want to boot and run Linux from the SD Card.

Am I missing something obvious? Do I need to install a custom bootloader onto the SD Card?

latinovic commented 4 years ago

Hi, In order to have CI20 booting from SD card you should do following:

Build u-boot from source as instructed here:

https://www.elinux.org/CI20_Dev_Zone

Download RFS from one of following locations:

http://mipscreator.mips.com/CI20/images/default_NAND/Debian8_20160602/rootfs_2016_06_02.tar http://mipscreator.mips.com/CI20/images/default_NAND/Debian8_20150909/rootfs_2015_09_09.tar

Burn u-boot to SD card

Unpack RFS to SD card

mount SD card (/dev/sdd1)

sudo tar -xzpf ./rootfs_2016_06_02.tar -C $SD_MOUNT_PATH sudo sync

Boot CI20