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.

(http://imageshack.us/a/img59/7264/ubuntu2.png)

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.  ???