Updating Uboot

Started by TranceTrouble, October 12, 2012, 02:51:13 pm

Previous topic - Next topic

TranceTrouble

Have been playing with the A13 for a week now and i must say i'm impressed,

but i got a question regarding the updating process of u-boot as described by hehopmajieh here: https://github.com/hehopmajieh/olinuxino-a13/blob/master/README.md since i try to get debian to work on it.

My A13 seems to be hanging after/while i flash the IMG to it, I'm running every commando with SUDO under a virtual Ubuntu.  Here is screenshot where i think it hangs, even after 15min it doesn't change.



does it have something to do with that i still have my serial-to-usb connected or my USB mouse/keyboard??

any help would be greatly appreciated :)

olimex


TranceTrouble

going to try that out, looks like a easier way to get debian to work :)

TranceTrouble

October 13, 2012, 12:09:00 am #3 Last Edit: October 13, 2012, 12:16:36 am by TranceTrouble
trying to follow the step by step but i'm getting a command not found when i try to make the Uboot, it says: /bin/bash: arm-linux-gnueabi-gcc: command not found
and dirname: missing argument



when i try to compile the uImage for the kernel i get a somewhat familiar one:
make: arm-linux-gnueabi-gcc: command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is updated
CC kernel/bounds.s
/bin/sh: 1: arm-linux-gnueabi-gcc: not found
make[1]: *** [kernel/bounds.s] error 127
make: *** [prepare0] error 2



has this anything to do with my PATH file that i need to add a new location? any help would be greatly appreciated :)

dr.bing

Quote from: TranceTrouble on October 13, 2012, 12:09:00 am
trying to follow the step by step but i'm getting a command not found when i try to make the Uboot, it says: /bin/bash: arm-linux-gnueabi-gcc: command not found
and dirname: missing argument



when i try to compile the uImage for the kernel i get a somewhat familiar one:
make: arm-linux-gnueabi-gcc: command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is updated
CC kernel/bounds.s
/bin/sh: 1: arm-linux-gnueabi-gcc: not found
make[1]: *** [kernel/bounds.s] error 127
make: *** [prepare0] error 2



has this anything to do with my PATH file that i need to add a new location? any help would be greatly appreciated :)


Make a symlink!


ln -s /usr/bin/arm-linux-gnueabi-gcc-4.6 /usr/bin/arm-linux-gnueabi-gcc

TranceTrouble

Quote from: dr.bing on October 13, 2012, 12:31:23 am
Make a symlink!


ln -s /usr/bin/arm-linux-gnueabi-gcc-4.6 /usr/bin/arm-linux-gnueabi-gcc


awesome that worked thanks  :D

TranceTrouble

October 15, 2012, 04:15:29 pm #6 Last Edit: October 15, 2012, 04:17:27 pm by TranceTrouble
hmm seems i'm stuck again, compiled everything successful to the uSD card and with some good hope i plugged it in, it runs my compiled u-boot and it detects my uImage and script.bin but when it tries to start the kernel it is giving a Starting Kernel message and continues to do nothing.

something i found, is when i go into the uboot i see that the uEnv.txt and boot.src are not found are these essential for the kernel? if so where do i get the correct uEnv.txt and boot.src they seem to be missing from the sdcard ?

dr.bing


TranceTrouble


TranceTrouble

Quote from: TranceTrouble on October 15, 2012, 06:37:34 pm
Quote from: dr.bing on October 15, 2012, 05:02:58 pm
check your Kernel config!

our use this http://www.seacolors.de/A13/.config   ;)

going to check that out thanks :)


ah great i put it in the right directory compiled and got debian running now ;D
wonder what was going on earlier since i used all the standard values from the menuconfig.  ???