[U-Boot-Users] Reading memory into environment variable

mcj00_rubbish at f-m.fm mcj00_rubbish at f-m.fm
Fri Jul 4 12:03:29 CEST 2008


Hi,

I wish to read the kernel command line parameters in from a disk file
located e.g. on a FAT file system. My current idea is to implement it
like this:

1. Read disk file into RAM
2. Implement custom "mem2env" command to read memory into environment
variable, with destination variable as ${bootargs}

As far as I can see, I am not reinventing any wheels by doing this, but
does anyone know a better way?

Thanks & regards,

Martin




More information about the U-Boot mailing list