which module do you have? by default the load address is stored in uboot variables.
type ‘printenv’ & ‘printenv_dynamic’ in uboot prompt.
It will list all the variables.
in Digi uboot you dont need to type in the loadaddress, instead it make use of uboot variables.
It’s good.
I deleted the partition 4 then increase the size of the partition 3
Bootscript:
setenv serverip 10.234.1.46
intnvram set partition select=4 del
intnvram set partition select=3 size=0x270000
intnvram set partition select=3 flag_fs_type=JFFS2
intnvram save
update linux tftp
update rootfs tftp
setenv loadbootsc no
setenv bootcmd dboot linux flash
saveenv
reset
Is it possible to add a condition???
setenv serverip 10.234.1.46
If the partition 4 is present
{
intnvram set partition select = 4 del
intnvram set partition select = 3 size = 0x270000
intnvram set partition select = 3 = flag_fs_type JFFS2
intnvram save
}
update linux tftp
update rootfs tftp
setenv loadbootsc no
setenv bootcmd dboot linux flash
saveenv
reset