Permalink
Browse files

Set a sensible command-line by default for booting OpenWrt

  • Loading branch information...
1 parent 6bd928c commit 798232f79729b3cd1f3abd46a7fda0ce4c78dfb9 @bifferos committed Oct 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 qemu/hw/en29lv640.c
View
4 qemu/hw/en29lv640.c
@@ -64,8 +64,8 @@ static void write_config_block(uint8_t* start)
cfg->boottype = 3;
cfg->boottype = 1; // linux
cfg->loadaddress = 0x400000;
- //strcpy( cfg->cmndline, "console=uart,io,0x3f8 rootfstype=squashfs,jffs2 init=/etc/preinit");
- strcpy( cfg->cmndline, "");
+ strcpy( cfg->cmndline, "console=uart,io,0x3f8 rootfstype=squashfs,jffs2 init=/etc/preinit");
+ //strcpy( cfg->cmndline, "");
cfg->kernelmax = kmax_size;
cfg->myip = 0x00;
cfg->serverip = 0x0202000a;

0 comments on commit 798232f

Please sign in to comment.