Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
1b1d5d93
Commit
1b1d5d93
authored
Mar 09, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmp: unlock and nandboot command
parent
8d9df713
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
zynq_nand.c
u-boot-tree/drivers/mtd/nand/zynq_nand.c
+3
-0
elphel393.h
u-boot-tree/include/configs/elphel393.h
+2
-3
No files found.
u-boot-tree/drivers/mtd/nand/zynq_nand.c
View file @
1b1d5d93
...
@@ -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
...
...
u-boot-tree/include/configs/elphel393.h
View file @
1b1d5d93
...
@@ -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} && " \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment