Hi guys, i'm trying to compile my personal u-boot for multiplexing pin
reasons.. The problem is that i can't find a working source code, when
i compile u-boot.bin with a source it doesn't start my beagle, with
another it starts but with no usb working and wrong dvi resolution and
all red. I'm loosing my hope, it's about a month that i'm working on
it.. Can anybody help me, telling me the right git and possibly the
modifies to do to compile a working u-boot? (like that's in
xmc_4_25.img validation image).
Also i've read this:http://groups.google.com/group/beagleboard/
browse_thread/thread/560a08274cc267c8
but when i'm on the git.angstrom-distribution.org how should i move?
How to use what it's there?
Hey anyone answer to me? I'm desperate, i'm trying to do this for
work..
The mainline u-boot at http://git.denx.de works (to the best of my knowledge). There are some features added in OE for the validation image, but if you are interested in building your own u-boot I suggest starting from the mainline. I’m skipping some generic steps, but you can essentially ‘make omap3_beagle’.
Hi, from denx.de i can't get it work.. It give me an error2, seems the
compiler (codesourcery) isn't able to find a .depend to make some
work..... I don't understand.
From here: http://gitorious.org/beagleboard-validation/ i'm able to
build successfully an u-boot.bin image, setting resolution from
boot.scr but i have 2 problems: the screen display all color similar
to red and the 4 usb ports are not powered, so i can't use any
keyboard and mouse. is there any change to do into source to have sub
and right color working?
This is the error i get:
make[2]: Entering directory `/root/beagleboard/u-boot-denx/board/ti/
beagle'
beagle.c:41:27: error: asm/arch/gpio.h: No such file or directory
led.c:25:27: error: asm/arch/gpio.h: No such file or directory
make[2]: *** No rule to make target `.depend', needed by
`libbeagle.o'. Stop.
make[2]: Leaving directory `/root/beagleboard/u-boot-denx/board/ti/
beagle'
make[1]: *** [board/ti/beagle/libbeagle.o] Error 2
make[1]: Leaving directory `/root/beagleboard/u-boot-denx'
make: *** [omap3_beagle] Error 2
I was getting the error when I git clone the u-boot-main
I tried downloading from here - and it seems to compile fine.- haven't
tried running the built image on the board yet.
ftp://ftp.denx.de/pub/u-boot/u-boot-2011.06.tar.bz2
ubuntu-11:~/linux_mainline/u-boot-2011.06$ make ARCH=arm
CROSS_COMPILE=arm-linux-gnueabi- mrproper
ubuntu-11:~/linux_mainline/u-boot-2011.06$ make ARCH=arm
CROSS_COMPILE=arm-linux-gnueabi- omap3_beagle_config
ubuntu-11:~/linux_mainline/u-boot-2011.06$ make ARCH=arm
CROSS_COMPILE=arm-linux-gnueabi-
I will try, thank you!!
It doesn't start.. From console it prints at last:
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512
and here it stuck..
But this u-boot doesn't have beagle xm c support?
I was getting the error when I git clone the u-boot-main
I tried downloading from here - and it seems to compile fine.- haven't
tried running the built image on the board yet.
ftp://ftp.denx.de/pub/u-boot/u-boot-2011.06.tar.bz2
Choosing a known-good release from the mainline is a good strategy.
That is much better than trying to pick up one of the odd-ball working
branches used to generate patch sets.
ubuntu-11:~/linux_mainline/u-boot-2011.06$ make ARCH=arm
CROSS_COMPILE=arm-linux-gnueabi- mrproper
ubuntu-11:~/linux_mainline/u-boot-2011.06$ make ARCH=arm
CROSS_COMPILE=arm-linux-gnueabi- omap3_beagle_config
ubuntu-11:~/linux_mainline/u-boot-2011.06$ make ARCH=arm
CROSS_COMPILE=arm-linux-gnueabi-
The version build with the above patches has is what is most
frequently used by myself and many others working on the project.
This is the error i get:
make[2]: Entering directory `/root/beagleboard/u-boot-denx/board/ti/
beagle'
beagle.c:41:27: error: asm/arch/gpio.h: No such file or directory
led.c:25:27: error: asm/arch/gpio.h: No such file or directory
make[2]: *** No rule to make target `.depend', needed by
`libbeagle.o'. Stop.
make[2]: Leaving directory `/root/beagleboard/u-boot-denx/board/ti/
beagle'
make[1]: *** [board/ti/beagle/libbeagle.o] Error 2
make[1]: Leaving directory `/root/beagleboard/u-boot-denx'
make: *** [omap3_beagle] Error 2
I believe you may have better luck if you apply this pending patch:
http://patchwork.ozlabs.org/patch/107678/
I haven't tried it, they just seem to be reporting/fixing a similar issue.
Hi, i've tried to apply the patch with patch -p0 < "patch".patch but
it gives me this:
Hunk #1 FAILED at 216.
1 out of 1 hunk FAILED -- saving rejects to file b/board/ti/beagle/
beagle.c.rej
patching file b/board/ti/beagle/beagle.h
Hunk #1 FAILED at 39.
1 out of 1 hunk FAILED -- saving rejects to file b/board/ti/beagle/
beagle.h.rej
Ok i've applied the xm support patch successfully to boot 2011-06 but
when booting it stuck at the same point (DRAM: 512)
I know this commit works on xM Rev C:
http://git.denx.de/?p=u-boot.git;a=commit;h=56fa45d58116f86f343a9c45ce6d1110f50b8d70
To get USB working in u-boot, I disabled caches in the config, but USB
is the only thing I know that breaks. You might also want to extend
the timeout duration for MMC, but I haven't seen that it is required.
For MLO, I know this commit works:
http://gitorious.org/x-loader/x-loader/commit/fca7cd29b6821df3e7d8c4369522f2a3d01a5d7b
Sure, you can try to reproduce what is in the April 25th image and I
can help you do that (the easiest way is to actually use
OpenEmbedded), but if you want a solid u-boot code base to build from,
get onto the mainline development tree. v2011.09 will be released
soon and should be pretty good for BeagleBoard and BeagleBoard-xM.
How to disable cache in u-boot? I must modify some code ore what?
It is a setting in the configuration header file. Here is the patch:
https://gitorious.org/beagleboard-validation/u-boot/commit/03b9bca863257cb24d8f11bb773ad2b8dff820c6
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 1369c89..8a84d7a 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -36,6 +36,11 @@
#define CONFIG_OMAP3430 1 /* which is in a 3430 */
#define CONFIG_OMAP3_BEAGLE 1 /* working with BEAGLE */
+/* TODO: WORK-AROUND for bug in BeagleBoard-specific USB */
+#define CONFIG_SYS_ICACHE_OFF
+#define CONFIG_SYS_DCACHE_OFF
+#define CONFIG_SYS_L2CACHE_OFF
If i do pinmux from kernel instead of u-boot, should it work?
I am testing xM Rev. C on 2.6.39. After patching, it works with usb
hotplug only. If I reboot, kernel log shows usb info, but it is not
accessible in /media/sda, unless I unplug and plug.