ZubairLK / ci20_other_files

Repo to put random files I think would be useful. Mostly relevant to ci20.
10 stars 6 forks source link

Problem #2

Open bluesun08 opened 9 years ago

bluesun08 commented 9 years ago

Hi,

when i execute your "make-flash-card-ci20-sd.sh"-Script to produce a bootable sd-card i get the following error-message: "No mips-linux-gnu-gcc, set $CROSS_COMPILE"

What goes wrong and how can i fix this?

irwincong commented 9 years ago

CROSS_COMPILE=path_to_your_cross_tools make-flash-card-ci20-sd.sh ...

Basically, the underlying u-boot and kernel builds are looking for mips-linux-gnu-* tools in the CROSS_COMPILE environment variable. Either you specify the full path there or make sure the path to the tools are in your PATH environment variable.

bluesun08 commented 9 years ago

Instead of

sudo mkfs.ext4 ${device}1 sudo mount ${device}1 ${sdMount}

there have to be

sudo mkfs.ext4 ${device}p1 sudo mount ${device}p1 ${sdMount}