I went back and started from scratch with u-boot. It looks like it had 
build errors. 

git clone git://git.denx.de/u-boot.git
Cloning into 'u-boot'...
remote: Counting objects: 253022, done.
remote: Compressing objects: 100% (49006/49006), done.
remote: Total 253022 (delta 202954), reused 249594 (delta 199777)
Receiving objects: 100% (253022/253022), 60.92 MiB | 5.80 MiB/s, done.
Resolving deltas: 100% (202954/202954), done.
victoryred@WorkStation:~$ cd u-boot
victoryred@WorkStation:~/u-boot$ git checkout v2014.04-rc3 -b tmp
Switched to a new branch 'tmp'
victoryred@WorkStation:~/u-boot$ wget -c 
https://raw.github.com/eewiki/u-boot-patches/master/v2014.04-rc3/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
--2014-04-11 16:41:52--  
https://raw.github.com/eewiki/u-boot-patches/master/v2014.04-rc3/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
Resolving raw.github.com (raw.github.com)... 199.27.79.133
Connecting to raw.github.com (raw.github.com)|199.27.79.133|:443... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 4886 (4.8K) [text/plain]
Saving to: `0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch'

100%[====================================================================>] 
4,886       --.-K/s   in 0.001s  

2014-04-11 16:41:52 (7.62 MB/s) - 
`0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch' saved [4886/4886]


patch -p1 < 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
patching file include/configs/am335x_evm.h
patching file include/configs/ti_armv7_common.h
victoryred@WorkStation:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} distclean
victoryred@WorkStation:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} 
am335x_evm_config
Configuring for am335x_evm - Board: am335x_evm, Options: 
SERIAL1,CONS_INDEX=1,NAND
victoryred@WorkStation:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC}
  GEN     include/autoconf.mk.dep
cc1: error: bad value (armv5) for -march= switch
  GEN     include/autoconf.mk
cc1: error: bad value (armv5) for -march= switch
  CHK     include/config/uboot.release
  UPD     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  UPD     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  HOSTCC  scripts/basic/fixdep
  CC      lib/asm-offsets.s
lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
make[1]: *** [lib/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

-M



On Friday, April 11, 2014 4:27:33 PM UTC-7, [email protected] wrote:
>
> Hi All,
>
> I'm trying to build Debian, put it on an SD card and boot. I'm using the 
> instructions from here http://eewiki.net/display/linuxonarm/BeagleBone .
>
> I've come across a few differences between what is reported by u-boot 
> during the boot process and variables set in uEnv.txt.
>
> #optargs=
> #mmcroot=/dev/mmcblk0p2 ro
> #mmcrootfstype=ext4 rootwait fixrtc
>  
> uenvcmd=run loadimage; run loadfdt; run mmcargs; bootz ${loadaddr} - 
> ${fdtaddr}
>
>
>
>
>
>
>
> In u-boot, if I printenv. There is a variable called loaduimage. 
>
> loaduimage=load mmc ${bbotpart} ${klaodaddr} ${bootdir}/${bootfile}
>
> bootfile=uImage
>
> However, the script line in the link performs this- sudo cp -v 
> ./linux-dev/deploy/${kernel_version}.zImage /media/boot/zImage
>
> Am I missing something in the kernel build menu configuration process or 
> can I just rename bootfile to zImage? Do I need to change the addresses to 
> load?
>
> I also got an second error in u-boot when running the next uenvcmd 
> associated with run loadfdt. The /boot directory structure has changed. the 
> file not found ids located in the dtbs directory.
>
> Finally, I tried running the install_kernel.sh script in /linux-dev/tools. 
> It runs without error but doesn't move the files to the sd card.
>
> Regards,
>
> -M
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to