• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  Hardware and U-Boot firmware / U-Boot stuff / Re: Problem with Booting the kenel from a spinning USB disk on: January 22, 2010, 12:21:00 PM
It doesn't work.  I have tried all of the u-boot's that I can find including the open u-boot and they all predictably fail every other boot.  I just don't have the time to even look into debugging this problem.  I'll keep trying new ones as they come out, but I'll stick to booting the kernel from the flash.  That works every time. 

2  Hardware and U-Boot firmware / U-Boot stuff / Re: What about Open U-Boot for SheevaPlug ? on: November 19, 2009, 01:46:40 PM
I used this:  http://plugcomputer.org/plugwiki/index.php/Das_U-boot_plug_support  to create a version.  I used openocd from http://www.openplug.org/plugwiki/index.php/Setting_Up_OpenOCD_Under_Linux  to test it using method 1. to boot and check it out.  Then burned it.

I tried  both USB stick and hdd.  The hdd was a Maxtor 160 gig drive. 
3  Hardware and U-Boot firmware / U-Boot stuff / Re: What about Open U-Boot for SheevaPlug ? on: November 18, 2009, 04:50:01 PM
The MAC address problem I had was that the value of  ethaddr does not get set at boot time and the hardware address via an ifconfig shows 00:00:00:00:00:00.

I had no problem with USB.  On all of the other u-boot's that I tried usbstart worked every other time.  On cold or warm boots.  This one worked for me every time.
4  Hardware and U-Boot firmware / U-Boot stuff / Re: What about Open U-Boot for SheevaPlug ? on: November 17, 2009, 04:54:28 PM
I did.  The USB works very well.  I haven't tried too many other things.  I decided to remove it because I didn't have time to look at the MAC address problem.

5  Hardware and U-Boot firmware / U-Boot stuff / Re: uBoot 3.4.19? on: September 22, 2009, 04:19:36 PM
In a nutshell.  Read this:  http://plugcomputer.org/plugforum/index.php?topic=319.0

The important parts are to set up your cross compiler.  I used the instructions from the cd on how to build the kernel. 

After that.  Do this, from the above post:

1) tar jxvf u-boot-1.1.4.tar.bz2
2) mv u-boot-1.1.4 u-boot-3.4.16
3) unzip u-boot-3.4.16 (this will overwriting existing files)
4) cd u-boot-3.4.16
5) make mrproper
6) make rd88f6281Sheevaplug_config NBOOT=1 LE=1
 7) make

The output should be u-boot-rd88f6281Sheevaplug_400db_nand.bin


If you are Using Ubuntu and not Fedora edit the main Makefile and change occurrences of echo -e to echo.  Do this BEFORE number 6 above.


6  General Category / General Discussion / Re: Help! Sheevaplug inaccessible on: June 26, 2009, 09:53:20 AM
Is it possible that your baud rate is not set correctly?  In Putty the Speed is next to the Serial line.  As yours is COM8 the Speed should be 115200.  I believe that the default is 9600.

7  Hardware and U-Boot firmware / U-Boot stuff / Re: Upgraded to open u-boot -> tftp not working anymore. on: June 08, 2009, 11:52:02 AM
I've run into this on both the Sheeva plug and Freescale's ARM SOC dev boards.  I would also guess that the light is out on the network connector on the plug.  This seems to happen mostly when you reset it with a paper clip in the hole, but happened to me doing other things as well, while booting. 

The solution that I found works is to ping your NFS server.  It will reinitialize the chip, and the light will come on.  Network connectivity should resume.
8  Linux Stuff / General Linux questions / Re: Automounting on: May 26, 2009, 08:50:13 AM
Another way is to use UUID 

Quote
UUID=550e2f5f-e4f9-41c0-a89f-3d51f3030d23       /               ext3    relatime,errors=remount-ro,noatime 0       0

for example.  You can get the UUID number by

Quote
ls -la /dev/disk/by-uuid/
9  Hardware and U-Boot firmware / U-Boot stuff / Re: Compiling u-boot on: May 20, 2009, 01:55:35 PM
Thank you very much.  Problem Solved.
10  Hardware and U-Boot firmware / U-Boot stuff / Re: Compiling u-boot on: May 20, 2009, 01:18:07 PM
Working under Ubuntu 9.04 on an intel box.   I'm using the cross compiler from http://www.plugcomputer.org/index.php/us/resources/downloads?func=showdown&id=22
11  Hardware and U-Boot firmware / U-Boot stuff / Re: Compiling u-boot on: May 20, 2009, 12:36:14 PM
UNDEF_SYM=`arm-none-linux-gnueabi-objdump -x lib_generic/libgeneric.a board/mv_feroceon/config_kw/libconfig_kw.a cpu/arm926ejs/libarm926ejs.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/usb/libusb.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
                arm-none-linux-gnueabi-ld -Bstatic -T /root/Sheeva/U-Boot/Sources/u-boot-3.4.16/board/mv_feroceon/config_kw/u-boot.lds -Ttext 0x00600000  $UNDEF_SYM cpu/arm926ejs/start.o \
                        --start-group lib_generic/libgeneric.a board/mv_feroceon/config_kw/libconfig_kw.a cpu/arm926ejs/libarm926ejs.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/usb/libusb.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /root/Sheeva/gcc/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1 -lgcc \
                        -Map u-boot.map -o u-boot
board/mv_feroceon/config_kw/libconfig_kw.a(mv_main.o): In function `recoveryHandle':
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/board/mv_feroceon/mv_kw/mv_main.c:1313: undefined reference to `usb_init'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/board/mv_feroceon/mv_kw/mv_main.c:1315: undefined reference to `usb_stor_scan'
common/libcommon.a(cmd_ext2.o): In function `get_dev':
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_ext2.c:77: undefined reference to `usb_stor_get_dev'
common/libcommon.a(cmd_fat.o): In function `get_dev':
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_fat.c:57: undefined reference to `usb_stor_get_dev'
common/libcommon.a(cmd_usb.o): In function `do_usbboot':
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:347: undefined reference to `usb_stor_get_dev'
common/libcommon.a(cmd_usb.o): In function `usb_display_string':
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:148: undefined reference to `usb_string'
common/libcommon.a(cmd_usb.o): In function `do_usb':
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:454: undefined reference to `usb_stop'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:456: undefined reference to `usb_init'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:460: undefined reference to `usb_stor_scan'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:478: undefined reference to `usb_stop'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:483: undefined reference to `usb_get_dev_index'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:490: undefined reference to `usb_get_dev_index'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:504: undefined reference to `usb_get_dev_index'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:530: undefined reference to `usb_stor_info'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:537: undefined reference to `usb_stor_get_dev'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:564: undefined reference to `usb_stor_get_dev'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:581: undefined reference to `usb_stor_get_dev'
/root/Sheeva/U-Boot/Sources/u-boot-3.4.16/common/cmd_usb.c:592: undefined reference to `usb_stor_get_dev'
make: *** [u-boot] Error 1
12  Hardware and U-Boot firmware / U-Boot stuff / Re: Compiling u-boot on: May 20, 2009, 12:13:09 PM
Please do the following:
1) tar jxvf u-boot-1.1.4.tar.bz2
2) mv u-boot-1.1.4 u-boot-3.4.16
3) unzip u-boot-3.4.16 (this will overwriting existing files)
4) cd u-boot-3.4.16
5) make mrproper
6) make rd88f6281Sheevaplug_config NBOOT=1 LE=1
 7) make

The output should be u-boot-rd88f6281Sheevaplug_400db_nand.bin


Yup, that didn't work for me.
13  Hardware and U-Boot firmware / U-Boot stuff / Re: Compiling u-boot on: May 20, 2009, 12:12:00 PM
Yes, it is messy.  That's why I started a new topic.

Following kwonsk's  instructions.

Quote
I've read build instruction from mavell documents set. Basically philipl's instruction is correct.
1) tar jxvf u-boot-1.1.4.tar.bz2
2) mv u-boot-1.1.4 u-boot-3.4.16
3) unzip u-boot-3.4.16 (this will overwriting existing files)
4) cd u-boot-3.4.16
5) tar zxvf sd.tgz
6) Copy attatched mv_kw.h to include/configs/mv_hw.h
7) make rd88f6281Sheevaplug_config NBOOT=1
    make clean; make

I'm just trying to compile it, so I'm not using the sd part, but either one did not work for me.
14  Hardware and U-Boot firmware / U-Boot stuff / Compiling u-boot on: May 20, 2009, 10:11:11 AM
Would one or all of the Marvel engineers here please follow the instructions posted in http://plugcomputer.org/plugforum/index.php?topic=183.0  and download the sources from here http://www.plugcomputer.org/index.php/us/resources/downloads?func=select&id=6 and compile and boot u-boot  and post your finding?   

Following the directions and using the cross compiler chain I downloaded from the website, I am not able to compile this.  I get several undefines.  Specifically MV_BOOTSIZE_16M, CFG_MONITOR_LEN, CFG_ENV_SECT_SIZE, CFG_MONITOR_IMAGE_DST. 

After defining them in mvSysHwConfig.h with seemingly reasonable values from other header files, the linker fails with many undefined references regarding the USB stack.

Before I spend time sorting this out I would like to verify that we are all on the same page.

Thank you.
15  Hardware and U-Boot firmware / U-Boot stuff / OpenOCD on: May 12, 2009, 05:47:55 PM
I'm trying to get OpenOCD running.  I would like to use Example 1: Running Das U-Boot from DRAM

http://www.openplug.org/plugwiki/index.php/Setting_Up_OpenOCD_Under_Linux#Example_1:_Running_Das_U-Boot_from_DRAM

All works well.  When I execute  resume 0x00600000 I'm back at the debugger prompt.  How do I get to the U-Boot prompt?
Pages: [1] 2