Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: TranceTrouble on October 12, 2012, 02:51:13 pm

Title: Updating Uboot
Post by: TranceTrouble on October 12, 2012, 02:51:13 pm
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 :)
Title: Re: Updating Uboot
Post by: olimex on October 12, 2012, 04:50:29 pm
I blogged today step by step how to make SD card with uboot and debian, maybe this will help? http://olimex.wordpress.com/2012/10/12/building-bootable-sd-card-with-debian-linux-image-for-a13-olinuxino/
Title: Re: Updating Uboot
Post by: TranceTrouble on October 12, 2012, 10:08:34 pm
going to try that out, looks like a easier way to get debian to work :)
Title: Re: Updating Uboot
Post by: 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 :)
Title: Re: Updating Uboot
Post by: dr.bing on October 13, 2012, 12:31:23 am
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
Title: Re: Updating Uboot
Post by: TranceTrouble on October 13, 2012, 01:02:14 am
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
Title: Re: Updating Uboot
Post by: TranceTrouble on October 15, 2012, 04:15:29 pm
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 ?
Title: Re: Updating Uboot
Post by: dr.bing on October 15, 2012, 05:02:58 pm
check your Kernel config!

our use this http://www.seacolors.de/A13/.config (http://www.seacolors.de/A13/.config)   ;)
Title: Re: Updating Uboot
Post by: 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 (http://www.seacolors.de/A13/.config)   ;)

going to check that out thanks :)
Title: Re: Updating Uboot
Post by: TranceTrouble on October 15, 2012, 08:37:35 pm
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 (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.  ???