Loading u-boot-tree/drivers/mtd/nand/zynq_nand.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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 Loading u-boot-tree/include/configs/elphel393.h +2 −3 Original line number Original line Diff line number Diff line Loading @@ -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} && " \ Loading Loading
u-boot-tree/drivers/mtd/nand/zynq_nand.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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 Loading
u-boot-tree/include/configs/elphel393.h +2 −3 Original line number Original line Diff line number Diff line Loading @@ -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} && " \ Loading