Re: [U-Boot] Question: booting Linux from ext4 mmc partition

2014-01-08 Thread nidalpres
I did some more experiments and it looks like it has nothing to do with size. I have created files of various sizes and loaded them all with no problems. However, when loading linux kernel image, things break. Contents of all files are just a lot of zero bytes. Here is a sample session: => ls mmc

Re: [U-Boot] Question: booting Linux from ext4 mmc partition

2014-01-07 Thread Robert Nelson
On Tue, Jan 7, 2014 at 1:26 PM, nidalpres wrote: > Hi Robert! > > I have 4-5 microsd cards (Kingston, SanDisk, Samsung), > 4 and 8GB in size, tried two, same thing. > > I also tried vfat partition and disabled support for ext2 AND ext4 > completely in u-boot, and basically same thing happened. > >

Re: [U-Boot] Question: booting Linux from ext4 mmc partition

2014-01-07 Thread nidalpres
In this e-mail you can find a session with latest (from a day ago or so) u-boot from git on mx23-olinuxino. On boot I can access partition 3 on mmc card (ext4) and load files (/boot/uEnv.txt) off of it into memory. However, once I try to load zImage (4MB in size) error appears and after that you c

Re: [U-Boot] Question: booting Linux from ext4 mmc partition

2014-01-07 Thread nidalpres
Hi Robert! I have 4-5 microsd cards (Kingston, SanDisk, Samsung), 4 and 8GB in size, tried two, same thing. I also tried vfat partition and disabled support for ext2 AND ext4 completely in u-boot, and basically same thing happened. Then I tried to list/load files manually from vfat/ext4 partitio

Re: [U-Boot] Question: booting Linux from ext4 mmc partition

2014-01-07 Thread Robert Nelson
On Mon, Jan 6, 2014 at 8:56 AM, nidalpres wrote: > Hi all! > > I was following instructions from > http://eewiki.net/display/linuxonarm/iMX233-OLinuXino in order to get > mainline kernel to boot off of my olinuxino micro board. > > I have created two partitions on my SD card: >Device Boot

[U-Boot] Question: booting Linux from ext4 mmc partition

2014-01-06 Thread nidalpres
Hi all! I was following instructions from http://eewiki.net/display/linuxonarm/iMX233-OLinuXino in order to get mainline kernel to boot off of my olinuxino micro board. I have created two partitions on my SD card: Device Boot Start End Blocks Id System /dev/sde1