On Fri, Nov 7, 2014 at 9:19 AM,  <[email protected]> wrote:
> Hi,
>
> i install arm-debian on a sd-card and this works initialy fine.
> But i must change the mapping of the GPIOs and i rebuild the u-boot.
> I replace the files MLO and u-boot.img with the new ones on the sd-card.
> On reboot i see this:
> switch to partitions #0, OK
> mmc0 is current device
> SD/MMC found on device 0
> Checking for: /uEnv.txt ...
> reading /uEnv.txt
> 987 bytes read in 4 ms (240.2 KiB/s)
> Loaded environment from /uEnv.txt
> Checking if uenvcmd is set ...
> Checking for: /boot/uEnv.txt ...
> ** Invalid partition 2 **
> ** Invalid partition 3 **
> ** Invalid partition 4 **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> ** Invalid partition 7 **
> U-Boot#
>
> The partitions:
> sda1:fat16
> sda5:ext4
> sda6:swap
>
> My intension was to change the u-boot without a new kernel. Is this
> possible?
>
> Here my uEnv.txt
> kernel_file=zImage
> initrd_file=initrd.img
> console=ttyO2,115200n8
> mmcroot=/dev/mmcblk0p5 ro
> mmcrootfstype=ext4 rootwait fixrtc
> xyz_load_image=fatload mmc 0:1 0x80300000 ${kernel_file}
> xyz_load_initrd=fatload mmc 0:1 0x81600000 ${initrd_file}; setenv
> initrd_size ${filesize}
> xyz_load_dtb=fatload mmc 0:1 0x815f0000 /dtbs/${dtb_file}
> xyz_mmcboot=run xyz_load_image; run xyz_load_initrd; echo Booting from mmc
> ...
> video_args=setenv video vram=${vram}
> omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay}
> device_args=run video_args; run expansion_args; run mmcargs
> mmcargs=setenv bootargs console=${console} ${optargs} ${video}
> root=${mmcroot} rootfstype=${mmcrootfstype} ${expansion}
> optargs=console=tty0
> expansion_args=setenv expansion buddy=${buddy} buddy2=${buddy2}
> loaduimage=run xyz_mmcboot; run device_args; bootz 0x80300000
> 0x81600000:${initrd_size}

change "loaduimage" to "uenvcmd"

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

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