Some units come already configured with a U-Boot environment that makes flashing the device simple. To check the contents of the U-Boot environment, run printenv and check for variables named krb, tftp_kernel and tftp_rootfs, etc.
printenv shows the following:
—————————————————-
Environment size: 410/131067 bytes
baudrate=115200
bootargs=mem=256M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2
bootcmd=nboot.jffs2 ${loadaddr} 0 ${kernel_addr}; bootm ${loadaddr}
bootdelay=0
ethact=macb0
ethaddr=00:08:00:4a:05:**
hostname=AT91SAM9G25
ipaddr=192.168.2.1
kernel_addr=0x200000
loadaddr=0x22000000
netmask=255.255.255.0
serverip=192.168.2.2
stderr=serial
stdin=serial
stdout=serial
Environment size: 410/131067 bytes
U-Boot>
——————————————————–
If these variables don’t exist, follow these instructions to configure the U-Boot environment for flashing:
How do I have to do exactly?
Should I do that whil startup or in the mlinux?
Can I copy files while startup?