Commit f19193aa authored by Sergei Poselenov's avatar Sergei Poselenov

[Emcraft #75914] Add a macro to the default U-Boot environment to burn kernel image to ext flash.

parent e867cd56
......@@ -282,7 +282,11 @@
"ipaddr=172.17.4.206\0" \
"serverip=172.17.0.1\0" \
"image=a2f/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
"netboot=tftp ${image};run addip;bootm\0" \
"update=tftp ${image};" \
"prot off ${flashaddr} +${filesize};" \
"era ${flashaddr} +${filesize};" \
"cp.b ${loadaddr} ${flashaddr} ${filesize}\0"
/*
* Linux kernel boot parameters configuration
......
......@@ -273,7 +273,11 @@
"ipaddr=172.17.4.206\0" \
"serverip=172.17.0.1\0" \
"image=a2f/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
"netboot=tftp ${image};run addip;bootm\0" \
"update=tftp ${image};" \
"prot off ${flashaddr} +${filesize};" \
"era ${flashaddr} +${filesize};" \
"cp.b ${loadaddr} ${flashaddr} ${filesize}\0"
/*
* Linux kernel boot parameters configuration
......
......@@ -274,7 +274,11 @@
"ipaddr=172.17.4.206\0" \
"serverip=172.17.0.1\0" \
"image=a2f/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
"netboot=tftp ${image};run addip;bootm\0" \
"update=tftp ${image};" \
"prot off ${flashaddr} +${filesize};" \
"era ${flashaddr} +${filesize};" \
"cp.b ${loadaddr} ${flashaddr} ${filesize}\0"
/*
* Linux kernel boot parameters configuration
......
......@@ -393,7 +393,11 @@
"ipaddr=172.17.4.206\0" \
"serverip=172.17.0.1\0" \
"image=lpc178x/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
"netboot=tftp ${image};run addip;bootm\0" \
"update=tftp ${image};" \
"prot off ${flashaddr} +${filesize};" \
"era ${flashaddr} +${filesize};" \
"cp.b ${loadaddr} ${flashaddr} ${filesize}\0"
/*
* Linux kernel boot parameters configuration
......
......@@ -307,7 +307,11 @@
"serverip=172.17.0.1\0" \
"image=stm32/uImage\0" \
"stdin=serial\0" \
"netboot=tftp ${image};run addip;bootm\0"
"netboot=tftp ${image};run addip;bootm\0" \
"update=tftp ${image};" \
"prot off ${flashaddr} +${filesize};" \
"era ${flashaddr} +${filesize};" \
"cp.b ${loadaddr} ${flashaddr} ${filesize}\0"
/*
* Linux kernel boot parameters configuration
......
......@@ -312,7 +312,11 @@
"ipaddr=172.17.6.35\0" \
"serverip=172.17.0.1\0" \
"image=k60/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
"netboot=tftp ${image};run addip;bootm\0" \
"update=tftp ${image};" \
"prot off ${flashaddr} +${filesize};" \
"era ${flashaddr} +${filesize};" \
"cp.b ${loadaddr} ${flashaddr} ${filesize}\0"
/*
* Linux kernel boot parameters configuration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment