coco2cart: trivial improvements
authorAlan Cox <alan@linux.intel.com>
Fri, 21 Apr 2017 15:51:44 +0000 (16:51 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 21 Apr 2017 15:51:44 +0000 (16:51 +0100)
Kernel/platform-coco2cart/Makefile
Kernel/platform-coco2cart/README
Kernel/platform-coco2cart/config.h

index 79c46ed..e89219f 100644 (file)
@@ -11,7 +11,7 @@ CDSRCS = discard.c mini_ide_discard.c
 DSRCS = ../dev/devdw.c
 
 ASRCS = crt0.s coco2.s ide.s usermem.s sdc.s
-ASRCS += bootstrap.s bootstrap_sdc.s bootstrap_dw.s
+ASRCS += bootstrap.s bootstrap_sdc.s #bootstrap_dw.s
 ASRCS += tricks.s commonmem.s drivewire.s video.s
 
 COBJS = $(CSRCS:.c=$(BINEXT))
index daf5e06..070ada0 100644 (file)
@@ -57,8 +57,6 @@ Needs the IDE patches
 TODO
 ====
 
-Fix use of CONFIG_LEGACY_EXEC in the devsdc driver
-
 Make the boot loader robust (timeout handling)
 Add hash of code not just simple magic - so we know bits match
 Merge coco and IDE boot code so it works out which is present
index f566efa..a007182 100644 (file)
@@ -15,7 +15,8 @@
 
 #define CONFIG_BANKS   1
 /* And swapping */
-#define SWAPDEV     0x900              /* Uses part of IDE slice 0 */
+#define SWAPDEV     0x000              /* Uses part of IDE slice 0 */
+//#define SWAPDEV     0x900            /* Uses part of SD slice 0 */
 #define SWAP_SIZE   0x40       /* 32K in 512 byte blocks */
 #define SWAPBASE    0x8000     /* We swap the lot */
 #define SWAPTOP     0xFE00     /* so it's a round number of 512 byte sectors */
@@ -24,7 +25,6 @@
 
 /* Permit large I/O requests to bypass cache and go direct to userspace */
 #define CONFIG_LARGE_IO_DIRECT
-#define CONFIG_LEGACY_EXEC
 
 /* Video terminal, not a serial tty */
 #define CONFIG_VT