This adds a userspace linux utility that writes the u-boot image to an mtd
partition on the docg4 nand flash.
A special utility is required to do this because u-boot is partially loaded by
an initial program loader (IPL) that is permanently programmed to the boot
region of the flash. This IPL exp
Dear Mike Dunn,
[...]
> + if (argc != 3) {
> + printf("usage: %s \n", argv[0]);
btw is this /dev/mtdX or /dev/mtdblockX ?
> + return -1;
errno.h didn't work? Like ... return -EINVAL or such ?
[...]
> + blockbuf = calloc(RELIABLE_BLOCKSIZE, 1);
calloc() seman
On 04/18/2013 06:54 AM, Marek Vasut wrote:
> Dear Mike Dunn,
>
> [...]
>
>> +if (argc != 3) {
>> +printf("usage: %s \n", argv[0]);
>
> btw is this /dev/mtdX or /dev/mtdblockX ?
/dev/mtdx You must have defined a partition that starts at the offset at which
you are placing the
Dear Mike Dunn,
> On 04/18/2013 06:54 AM, Marek Vasut wrote:
> > Dear Mike Dunn,
> >
> > [...]
> >
> >> + if (argc != 3) {
> >> + printf("usage: %s \n", argv[0]);
> >
> > btw is this /dev/mtdX or /dev/mtdblockX ?
>
> /dev/mtdx You must have defined a partition that starts at the of
4 matches
Mail list logo