Skip to content

Commit

Permalink
increase the buffer sizes for redboot commands
Browse files Browse the repository at this point in the history
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
  • Loading branch information
eddyp committed Apr 25, 2015
1 parent 5a9ffcd commit 13c3e8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apex/cmd-redboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
#define REDBOOT_CMD_BUFFER ((char *)0x0006c0b8UL)

#define MAX_CMD 20
#define MAX_CMD_LEN 50
#define MAX_CMD_LEN 100
#define MAX_ARG_LEN 20
#define MAX_ARG_CNT 20
char const chain_cmds[][MAX_CMD_LEN+1] = {
"ip_address -h 192.168.0.2\0",
"load -r -b 0x200000 netbsd-nfs.bin\0",
"load -r -b 0x200000 -h 192.168.0.2 netbsd-nfs.bin\0",
"g\0",
};

Expand Down

0 comments on commit 13c3e8f

Please sign in to comment.