Commit 1b1d5d93 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

tmp: unlock and nandboot command

parent 8d9df713
...@@ -152,6 +152,9 @@ static const struct zynq_nand_command_format zynq_nand_commands[] = { ...@@ -152,6 +152,9 @@ static const struct zynq_nand_command_format zynq_nand_commands[] = {
{NAND_CMD_PARAM, NAND_CMD_NONE, 1, NAND_CMD_NONE}, {NAND_CMD_PARAM, NAND_CMD_NONE, 1, NAND_CMD_NONE},
{NAND_CMD_GET_FEATURES, NAND_CMD_NONE, 1, NAND_CMD_NONE}, {NAND_CMD_GET_FEATURES, NAND_CMD_NONE, 1, NAND_CMD_NONE},
{NAND_CMD_SET_FEATURES, NAND_CMD_NONE, 1, NAND_CMD_NONE}, {NAND_CMD_SET_FEATURES, NAND_CMD_NONE, 1, NAND_CMD_NONE},
{NAND_CMD_UNLOCK1, NAND_CMD_NONE, 3, NAND_CMD_NONE},
{NAND_CMD_UNLOCK2, NAND_CMD_NONE, 3, NAND_CMD_NONE},
{NAND_CMD_LOCK, NAND_CMD_NONE, 0, NAND_CMD_NONE},
{NAND_CMD_NONE, NAND_CMD_NONE, 0, 0}, {NAND_CMD_NONE, NAND_CMD_NONE, 0, 0},
/* Add all the flash commands supported by the flash device and Linux /* Add all the flash commands supported by the flash device and Linux
* The cache program command is not supported by driver because driver * The cache program command is not supported by driver because driver
......
...@@ -155,9 +155,8 @@ ...@@ -155,9 +155,8 @@
"nandboot=echo Copying Linux from NAND flash to RAM... && " \ "nandboot=echo Copying Linux from NAND flash to RAM... && " \
"nand read 0x4F00000 0x600000 ${kernel_size} && " \ "nand read 0x4F00000 0x600000 ${kernel_size} && " \
"nand read 0x4E00000 0x500000 ${devicetree_size} && " \ "nand read 0x4E00000 0x500000 ${devicetree_size} && " \
"echo Copying ramdisk... && " \ "nand unlock 0x1600000 0x10000000 && "\
"nand read 0x2000000 0x1600000 ${ramdisk_size} && " \ "bootm 0x4F00000 - 0x4E00000\0" \
"bootm 0x4F00000 0x2000000 0x4E00000\0" \
"jtagboot=echo TFTPing Linux to RAM... && " \ "jtagboot=echo TFTPing Linux to RAM... && " \
"tftpboot 0x3000000 ${kernel_image} && " \ "tftpboot 0x3000000 ${kernel_image} && " \
"tftpboot 0x2A00000 ${devicetree_image} && " \ "tftpboot 0x2A00000 ${devicetree_image} && " \
......
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