wok-next rev 17269

Add linux64-exofs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 24 10:25:36 2014 +0200 (2014-10-24)
parents 0d2eae483216
children 7c22b4192384
files alsa-utils/receipt linux/stuff/linux-header.u linux/stuff/linux-slitaz.config64 linux64-exofs/receipt linux64/stuff/modules64.list
line diff
     1.1 --- a/alsa-utils/receipt	Thu Oct 23 19:09:03 2014 +0200
     1.2 +++ b/alsa-utils/receipt	Fri Oct 24 10:25:36 2014 +0200
     1.3 @@ -52,7 +52,7 @@
     1.4  pre_install()
     1.5  {
     1.6  	if [ -f $1/etc/asound.state ]; then
     1.7 -		mv $1/etc/asound.state /tmp
     1.8 +		mv $1/etc/asound.state $1/tmp
     1.9  	fi
    1.10  }
    1.11  
     2.1 --- a/linux/stuff/linux-header.u	Thu Oct 23 19:09:03 2014 +0200
     2.2 +++ b/linux/stuff/linux-header.u	Fri Oct 24 10:25:36 2014 +0200
     2.3 @@ -1,5 +1,5 @@
     2.4 ---- linux-3.2.14/arch/x86/boot/header.S
     2.5 -+++ linux-3.2.14/arch/x86/boot/header.S
     2.6 +--- linux-3.2.53/arch/x86/boot/header.S
     2.7 ++++ linux-3.2.53/arch/x86/boot/header.S
     2.8  @@ -7,12 +7,14 @@
     2.9    *	modified by more people than can be counted
    2.10    *
    2.11 @@ -24,12 +24,13 @@
    2.12   
    2.13   #ifndef SVGA_MODE
    2.14   #define SVGA_MODE ASK_VGA
    2.15 -@@ -40,53 +44,505 @@
    2.16 +@@ -40,54 +44,752 @@
    2.17   #define ROOT_RDONLY 1
    2.18   #endif
    2.19   
    2.20  +setup_sects	= 497
    2.21  +syssize		= 500
    2.22 ++vgamode		= 506
    2.23  +cmd_line_ptr	= 0x228
    2.24  +
    2.25  +/* some extra features */
    2.26 @@ -41,7 +42,25 @@
    2.27  +#define KEYBOARDLESS_SUPPORT	scan floppy swap each 5 seconds
    2.28  +
    2.29  +/* some limitations to reduce the code size */
    2.30 -+#define FLOPPY_1440K_ONLY	1.44M floppies support only (no 1.72M, 1.96M...)
    2.31 ++//#define REALMODE_NOT_CHECKED	exe crash when started in vm86
    2.32 ++//#define FLOPPY_1440K_ONLY	1.44M floppies support only (no 720K, 1.68M, 2.88M...)
    2.33 ++
    2.34 ++#ifdef FLOPPY_ONLY
    2.35 ++#undef EXE_SUPPORT
    2.36 ++#undef FLOPPY_1440K_ONLY
    2.37 ++#define EDIT_CMDLINE
    2.38 ++#define	CMDLINE_SUPPORT
    2.39 ++#define MOVE_CMDLINE
    2.40 ++#define INITRD_SUPPORT
    2.41 ++#define INITRD_AUTOADDR
    2.42 ++#endif
    2.43 ++
    2.44 ++#ifdef EXE_ONLY
    2.45 ++#undef KEYBOARDLESS_SUPPORT
    2.46 ++#define INITRD_SUPPORT
    2.47 ++#define INITRD_KEYWORD
    2.48 ++#define INITRD_AUTOADDR
    2.49 ++#endif
    2.50  +
    2.51   	.code16
    2.52   	.section ".bstext", "ax"
    2.53 @@ -51,35 +70,31 @@
    2.54   
    2.55  -	# Normalize the start address
    2.56  -	ljmp	$BOOTSEG, $start2
    2.57 -+#ifdef EXE_SUPPORT
    2.58 -+#define CODESZ		0x8000
    2.59 -+#define EXEADRS(x)	x+0xE0
    2.60  +stacktop	= 0x9E00		# in 0x8000 .. 0xA000
    2.61 -+	decw	%bp			// Magic number: MZ
    2.62 -+	popw	%dx
    2.63 -+	jmp	fdstart			// Bytes on last page of file
    2.64 -+	.word	(CODESZ+511)/512	// Pages in file
    2.65 -+	.word	0			// Relocations
    2.66 -+	.word	2			// Size of header in paragraphs
    2.67 -+	.word	4096			// Minimum extra paragraphs needed
    2.68 -+	.word	-1			// Maximum extra paragraphs needed
    2.69 -+	.word	(CODESZ+15)/16		// Initial (relative) SS value
    2.70 -+	.word	stacktop		// Initial SP value
    2.71 -+	.word	0			// Checksum
    2.72 -+	.word	EXEADRS(comstart)	// Initial IP value
    2.73 -+	.word	0xFFF0			// Initial (relative) CS value
    2.74 -+//	.word	0x001C			// File address of relocation table
    2.75 -+//	.word	0,0,0			// Overlay number
    2.76 -+swap_floppy:
    2.77 -+	.ascii	"Next!"
    2.78 -+	.byte	7,13,0			# swap detection needs 13, 0
    2.79 -+#ifdef OLDCMDLINE
    2.80 -+	.word	0xA33F
    2.81 -+	.word	stacktop
    2.82 ++zeroed		= 48+10			# gdt + zeroed registers
    2.83 ++.macro	INIT_REGS
    2.84 ++	movw	$stacktop-zeroed, %di	# stacktop is an arbitrary value >=
    2.85 ++					# length of bootsect + length of
    2.86 ++					# setup + room for stack;
    2.87 ++					# 12 is disk parm size.
    2.88 ++	pushw	$INITSEG
    2.89 ++	popw	%ss			# %ss contain INITSEG
    2.90 ++	movw	%di, %sp		# put stack at INITSEG:stacktop-...
    2.91 ++	pushw	%ss
    2.92 ++	popw	%es			# %es = %ss = INITSEG
    2.93 ++	xorw	%ax, %ax		# %ax = 0
    2.94 ++#if defined(CMDLINE)
    2.95 ++	movw	$zeroed+1, %cx		# clear gdt + offset, %ds, limits, cmdline=""
    2.96 ++	rep				# don't worry about cld
    2.97 ++	stosb				# already done above
    2.98 ++	decw	%di
    2.99 ++#else
   2.100 ++	movw	$zeroed/2, %cx		# clear gdt + offset, %ds, limits
   2.101 ++	rep				# don't worry about cld
   2.102 ++	stosw				# already done above
   2.103  +#endif
   2.104 -+fdstart:
   2.105 -+	pushw	%dx
   2.106 -+#endif
   2.107 ++	popw	%bx			# offset = 0
   2.108 ++.endm
   2.109   
   2.110  -start2:
   2.111  -	movw	%cs, %ax
   2.112 @@ -89,35 +104,72 @@
   2.113  -	xorw	%sp, %sp
   2.114  -	sti
   2.115  -	cld
   2.116 ++#ifdef EXE_SUPPORT
   2.117 ++#define CODESZ		0x8000
   2.118 ++#define EXEADRS(x)	x+0xE0
   2.119 ++	decw	%bp			// Magic number: MZ
   2.120 ++	popw	%dx
   2.121 ++#ifdef EXE_ONLY
   2.122 ++	.word	512			// Bytes on last page of file
   2.123 ++#else
   2.124 ++	jmp	fdstart			// Bytes on last page of file
   2.125 ++#endif
   2.126 ++	.word	(CODESZ+511)/512	// Pages in file
   2.127 ++	.word	0			// Relocations
   2.128 ++	.word	2			// Size of header in paragraphs
   2.129 ++	.word	4096			// Minimum extra paragraphs needed
   2.130 ++	.word	-1			// Maximum extra paragraphs needed
   2.131 ++	.word	(CODESZ+15)/16		// Initial (relative) SS value
   2.132 ++	.word	stacktop+4		// Initial SP value (+callf)
   2.133 ++	.word	0			// Checksum
   2.134 ++	.word	EXEADRS(comstart)	// Initial IP value
   2.135 ++	.word	0xFFF0			// Initial (relative) CS value
   2.136 ++#ifdef EXE_ONLY
   2.137 ++//	.word	0x001C			// File address of relocation table
   2.138 ++//	.word	0,0,0			// Overlay number
   2.139 ++	.ascii	"(SliTaz)"
   2.140 ++#else
   2.141 ++swap_floppy:
   2.142 ++	.ascii	"Next!"
   2.143 ++	.byte	7,13,0			# swap detection needs 13, 0
   2.144 ++#endif
   2.145 ++#ifdef OLDCMDLINE
   2.146 ++# ifdef	CMDLINE_SUPPORT
   2.147 ++	.word	0			# 0xA33F
   2.148 ++	.word	0			# stacktop
   2.149 ++# else
   2.150 ++	.word	0xA33F
   2.151 ++	.word	stacktop
   2.152 ++# endif
   2.153 ++#endif
   2.154 ++#ifndef EXE_ONLY
   2.155 ++fdstart:
   2.156 ++	pushw	%dx
   2.157 ++#endif
   2.158 ++#endif
   2.159 + 
   2.160 +-	movw	$bugger_off_msg, %si
   2.161  +LOADSEG		= 0x8000		# 0x1000 multiple, up to 512K zImage
   2.162  +LOADSZ		= 0x10000
   2.163  +#ifdef EXE_SUPPORT
   2.164 -+#A20BUFFER	= 0x60000		# a20 gate / himem.sys support
   2.165  +A20BUFFER	= 0x68000		# a20 gate / himem.sys support
   2.166  +#define USEA20BUFFER
   2.167  +#endif
   2.168   
   2.169 --	movw	$bugger_off_msg, %si
   2.170 +-msg_loop:
   2.171 ++#ifndef EXE_ONLY
   2.172  +# bootsect_start:
   2.173 -+	cld				# assume nothing
   2.174 -+stacktop	= 0x9E00		# in 0x8000 .. 0xA000
   2.175 -+zeroed		= 48+12			# gdt + zeroed registers
   2.176 -+	movw	$stacktop-12-zeroed, %di	# stacktop is an arbitrary value >=
   2.177 -+					# length of bootsect + length of
   2.178 -+					# setup + room for stack;
   2.179 -+					# 12 is disk parm size.
   2.180 -+	pushw	$INITSEG
   2.181 -+	popw	%ss			# %ss contain INITSEG
   2.182 -+	movw	%di, %sp		# put stack at INITSEG:stacktop-...
   2.183 - 
   2.184 --msg_loop:
   2.185 --	lodsb
   2.186 --	andb	%al, %al
   2.187 --	jz	bs_die
   2.188 --	movb	$0xe, %ah
   2.189 --	movw	$7, %bx
   2.190 --	int	$0x10
   2.191 --	jmp	msg_loop
   2.192 ++#ifdef EXE_SUPPORT
   2.193 ++	call	initregs
   2.194 ++	cwd				# floppy = head = 0
   2.195 ++#else
   2.196 ++	INIT_REGS
   2.197 ++#endif
   2.198 ++	popw	%ds			# %ds = 0
   2.199 ++	movb	setup_sects+0x7C00, %al	# read bootsector + setup
   2.200 ++	incw	%ax			# %ax = setup_sects+bootsect
   2.201 ++	popw	%fs			# %fs = 0
   2.202 ++
   2.203  +# Many BIOS's default disk parameter tables will not recognize
   2.204  +# multi-sector reads beyond the maximum sector number specified
   2.205  +# in the default diskette parameter tables - this may mean 7
   2.206 @@ -129,32 +181,19 @@
   2.207  +# count to 36 - the most we will encounter on an ED 2.88.  
   2.208  +#
   2.209  +# High doesn't hurt.  Low does.  Let's use the max: 63
   2.210 - 
   2.211 --bs_die:
   2.212 --	# Allow the user to press a key, then reboot
   2.213 --	xorw	%ax, %ax
   2.214 -+	pushw	%ss
   2.215 -+	popw	%es			# %es = %ss = INITSEG
   2.216 -+	xorw	%ax, %ax		# %ax = 0
   2.217 -+#ifdef EXE_SUPPORT
   2.218 -+	cwd				# floppy = head = 0
   2.219 -+#endif
   2.220 -+	movw	$zeroed/2, %cx		# clear gdt + offset, %ds, limits
   2.221 -+	rep				# don't worry about cld
   2.222 -+	stosw				# already done above
   2.223 -+	popw	%bx			# offset = 0
   2.224 -+	popw	%ds			# %ds = 0
   2.225 -+	popw	%fs			# %fs = 0
   2.226 -+
   2.227 -+	movb	setup_sects+0x7C00, %al	# read bootsector + setup (%ds = 0)
   2.228 -+	incw	%ax
   2.229  +
   2.230  +	ldsw	0x78(%bx), %si		# %ds:%bx+0x78 is parameter table address
   2.231 ++	popw	%di
   2.232  +	pushw	%es
   2.233  +	pushw	%di
   2.234 ++#ifdef	CMDLINE_SUPPORT
   2.235 ++	movw	$0, %bp			# patched by installer (7C22)
   2.236 ++skipcmdline:
   2.237 ++#define cmd_line_ptr	0x22
   2.238 ++#endif
   2.239  +	movb	$6, %cl			# copy 12 bytes
   2.240  +	rep				# don't worry about cld
   2.241 -+	movsw				# already done above
   2.242 ++	  movsw				# already done above
   2.243  +	pushw	%ss
   2.244  +	popw	%ds			# now %ds = %es = %ss = INITSEG
   2.245  +	popl	%fs:0x78(%bx)		# update parameter table address
   2.246 @@ -162,9 +201,12 @@
   2.247  +	cli
   2.248  +
   2.249  +	xchg	%ax, %di		# sector count
   2.250 ++#ifndef FLOPPY_1440K_ONLY
   2.251  +	popw	%ax			# limits = 0
   2.252 ++#endif
   2.253  +	incw	%cx			# cylinder 0, sector 1, clear Z
   2.254  +	call	read_first_sectors	# read setup
   2.255 ++#endif
   2.256  +loadsys:
   2.257  +	movw	$0x200,%si
   2.258  +type_of_loader	=	0x10
   2.259 @@ -174,6 +216,62 @@
   2.260  +	movb	$(stacktop-0x300)/256, heap_end_ptr+1(%si)
   2.261  +	call	puts_version		# show which kernel we are loading
   2.262  +
   2.263 ++#ifdef	CMDLINE_SUPPORT
   2.264 ++# The cmdline can be entered and modifed at boot time.
   2.265 ++# Only characters before the cursor are passed to the kernel.
   2.266 ++
   2.267 ++	xorw	%si, %si
   2.268 ++	orw	cmd_line_ptr-7(%bx), %si
   2.269 ++	jz	nocmdline
   2.270 ++	movw	$0xA33F, cmd_line_ptr-2-7(%bx)
   2.271 ++	call	puts
   2.272 ++#if defined(MOVE_CMDLINE) || (defined(EDIT_CMDLINE) && defined(KEYBOARDLESS_SUPPORT))
   2.273 ++	pushw	%di
   2.274 ++#endif
   2.275 ++#ifdef	EDIT_CMDLINE
   2.276 ++cmdlp:
   2.277 ++	movb	$0x20, %al		# clear end of line
   2.278 ++cmdlpz:
   2.279 ++	call	putc			#  with Space
   2.280 ++	subb	$0x18, %al		#   and BackSpace
   2.281 ++	jnc	cmdlpz
   2.282 ++	decw	%si
   2.283 ++cmdget:
   2.284 ++#ifdef KEYBOARDLESS_SUPPORT
   2.285 ++	call	wait4key
   2.286 ++#else
   2.287 ++	int	$0x16
   2.288 ++#endif
   2.289 ++	cbw				# %ah = 0, get keyboard character
   2.290 ++	cmpb	$8, %al			# BackSpace ?
   2.291 ++	je	cmdbs
   2.292 ++	movb	%al, (%si)		# store char
   2.293 ++	lodsw				# %si += 2
   2.294 ++cmdbs:
   2.295 ++	cmpw	%si, cmd_line_ptr-7(%bx)
   2.296 ++	je	cmdget
   2.297 ++	call	putc
   2.298 ++	cmpb	$13, %al		# Enter ?
   2.299 ++	jne	cmdlp
   2.300 ++	movb	%bh,-2(%si)		# set end of string and remove CR
   2.301 ++endcmdline:
   2.302 ++#endif
   2.303 ++#ifdef MOVE_CMDLINE
   2.304 ++	pushw	%ss
   2.305 ++	popw	%es
   2.306 ++	movw	$0x8000, %di
   2.307 ++	movw	%di, %si
   2.308 ++	xchgw	%si, cmd_line_ptr-7(%bx)
   2.309 ++	movb	$0x2, %ch
   2.310 ++	rep
   2.311 ++	  movsb
   2.312 ++#endif
   2.313 ++#if defined(EDIT_CMDLINE) || (defined(MOVE_CMDLINE) && defined(KEYBOARD_TIMEOUT))
   2.314 ++	popw	%di
   2.315 ++#endif
   2.316 ++nocmdline:
   2.317 ++#endif
   2.318 ++
   2.319  +# This routine loads the system at address LOADSEG, making sure
   2.320  +# no 64kB boundaries are crossed. We try to load it as fast as
   2.321  +# possible, loading whole tracks whenever we can.
   2.322 @@ -192,11 +290,42 @@
   2.323  +	movw	$0x9300+(LOADSEG/0x1000), bootsect_src_base+2(%bx,%si)
   2.324  +	xorb	$bootsect_dst_limit-bootsect_src_limit, %bl
   2.325  +	jne	init_gdt
   2.326 ++#ifdef INITRD_SUPPORT
   2.327 ++#ifdef INITRD_AUTOADDR
   2.328 ++	movb	$0x88, %ah
   2.329 ++	int	$0x15
   2.330 ++	jc	NeedMoreRAM
   2.331 ++	cmpw	$0xC000, %ax		# more than 48M ?
   2.332 ++	jb	NeedMoreRAM
   2.333 ++	movw	$ramdisk_image+2, %bx
   2.334 ++	cmpw	$0x100, (%bx)		# already above 16M ?
   2.335 ++	ja	NeedMoreRAM
   2.336 ++	movw	$0x200, (%bx)		# initramfs @ 32M
   2.337 ++NeedMoreRAM:
   2.338 ++#endif
   2.339 ++#ifdef INITRD_KEYWORD
   2.340 ++#ifdef INITRD_AUTOADDR
   2.341 ++	pushl	-2(%bx)
   2.342 ++#else
   2.343 ++	pushl	ramdisk_image
   2.344 ++#endif
   2.345 ++	pushw	$stacktop		# start of cmdline
   2.346 ++#endif
   2.347 ++	movw	$syssize, %bx
   2.348 ++	movb	$5, %cl
   2.349 ++code32_start	=	0x214
   2.350 ++	movw	code32_start+1, %ax		# destination = 0x00100000 or 0x00010000
   2.351 ++initrdlp:
   2.352 ++	movl	(%bx), %ebx
   2.353 ++	decl	%ebx
   2.354 ++	shrl	%cl, %ebx
   2.355 ++#else
   2.356  +code32_start	=	0x214
   2.357  +	movw	code32_start+1, %ax		# destination = 0x00100000 or 0x00010000
   2.358  +	movl	syssize, %ebx
   2.359  +	decl	%ebx
   2.360  +	shrl	$5, %ebx
   2.361 ++#endif
   2.362  +#ifdef MORETHAN16M
   2.363  +	incl	%ebx
   2.364  +#else
   2.365 @@ -230,29 +359,123 @@
   2.366  +	xorw	%bx,%bx
   2.367  +	pushw	$LOADSEG
   2.368  +	popw	%es
   2.369 ++#ifdef EXE_ONLY
   2.370 ++	call	read_sectors_dos
   2.371 ++#else
   2.372  +patchcall:
   2.373  +	call	read_sectors		# update %bp
   2.374 ++#endif
   2.375  +	popw	%bx
   2.376  +	popw	%si
   2.377 -+	movw	$LOADSZ/2, %cx		# word count
   2.378 ++	movw	%es, %cx		# word count = LOADSZ/2 (= LOADSEG)
   2.379  +	movb	$0x87, %ah
   2.380  +	pushw	%ss
   2.381  +	popw	%es			# restore es
   2.382  +	int	$0x15			# max 16M, maybe more...
   2.383  +	popw	%ax
   2.384 ++#ifdef MORETHAN16M
   2.385 ++	addw	$0x100, %ax		# next dest (ax+=LOADSZ/256)
   2.386 ++	adcb	%cl, bootsect_dst_base_hi(%si)	# breaks 16M limit ?
   2.387 ++#else
   2.388  +	incb	%ah			# next dest (ax+=LOADSZ/256)
   2.389 -+#ifdef MORETHAN16M
   2.390 -+	adcb	%cl, bootsect_dst_base_hi(%si)	# breaks 16M limit ?
   2.391  +#endif
   2.392  +#ifdef USEA20BUFFER
   2.393  +	movw	$(LOADSZ+A20BUFFER)>>8, %di
   2.394  +#endif
   2.395  +	popf
   2.396  +	ja	syslp
   2.397 ++#ifdef INITRD_SUPPORT
   2.398 ++initrdlp2:
   2.399 ++	movw	ramdisk_image+1,%ax
   2.400 ++	movw	$ramdisk_size,%bx
   2.401 ++	movb	$9, %cl
   2.402 ++	cmpw	%ax, bootsect_dst_base+1(%si)
   2.403 ++	jb	initrdlp
   2.404 ++#ifdef INITRD_KEYWORD
   2.405 ++	xorl	%eax, %eax
   2.406 ++	xchgl	%eax, (%bx)
   2.407 ++	addl	$3, %eax
   2.408 ++	addl	%eax, ramdisk_image-ramdisk_size(%bx)
   2.409 ++	andb	$0xFC, ramdisk_image-ramdisk_size(%bx)
   2.410 ++	popw	%si		// current ptr in cmdline
   2.411 ++kwchk:
   2.412 ++	movw	$kwinitrd, %di
   2.413 ++kwchk2:
   2.414 ++#if 1
   2.415 ++	cmpl	$0x3D616776, (%si)	// look for vga=
   2.416 ++	jne	notvga
   2.417 ++#if 1
   2.418 ++	movw	$0x312C, %ax
   2.419 ++	subw	4(%si), %ax	// support -9 .. -1 only !
   2.420 ++	xchgb	%al, %ah
   2.421 ++	cmpw	$-8, %ax
   2.422 ++	jb	notvga
   2.423 ++	decw	%ax
   2.424 ++#else
   2.425 ++	movb	$'0', %al
   2.426 ++	subb	5(%si), %al	// support -9 .. -1 only !
   2.427 ++	cbw
   2.428 ++#endif
   2.429 ++	movw	%ax, vgamode
   2.430 ++notvga:
   2.431 ++#endif
   2.432 ++	lodsb			// look for initrd=
   2.433 ++	orb	%al, %al
   2.434 ++	jz	noinitrd
   2.435 ++	subb	(%di), %al
   2.436 ++	//andb	$0xDF, %al
   2.437 ++	jne	kwchk
   2.438 ++	incw	%di
   2.439 ++	cmpb	(%di), %al
   2.440 ++	jne	kwchk2
   2.441 ++	mov	%si, %dx	// %ds:%dx filename
   2.442 ++chkeos:
   2.443 + 	lodsb
   2.444 +-	andb	%al, %al
   2.445 +-	jz	bs_die
   2.446 ++	cmpb	$0, %al
   2.447 ++	je	gotoes
   2.448 ++	subb	$0x20, %al
   2.449 ++	jne	chkeos
   2.450 ++gotoes:
   2.451 ++	decw	%si
   2.452 ++	pushw	(%si)
   2.453 ++	movb	%al, (%si)	// set eos
   2.454 ++	movb	$0x3D, %ah	// open, access = RO
   2.455 ++	int	$0x21
   2.456 ++	popw	(%si)
   2.457 ++	jc	noinitrd
   2.458 ++	pushw	%si		// save ptr in cmdline
   2.459 ++	xchgw	%ax, %bp	// fd
   2.460 ++	movw	$0x4202, %ax	// lseek(SEEK_END)
   2.461 ++	movw	%bp, %bx
   2.462 ++	xorw	%cx, %cx
   2.463 ++	cwd
   2.464 ++	int	$0x21
   2.465 ++	pushw	%dx
   2.466 ++	pushw	%ax
   2.467 ++	popl	ramdisk_size
   2.468 ++	movw	$0x4200, %ax	// lseek(SEEK_SET)
   2.469 ++	xorw	%cx, %cx
   2.470 ++	cwd
   2.471 ++	int	$0x21		// set %ax = %dx = 0
   2.472 ++	jmp	initrdlp2
   2.473 ++noinitrd:
   2.474 ++	popl	%eax		// restore initial ramdisk address
   2.475 ++	movl	%eax, %edx
   2.476 ++	xchgl	%edx, ramdisk_image-ramdisk_size(%bx)
   2.477 ++	subl	%eax, %edx
   2.478 ++	addl	%edx, (%bx)
   2.479 ++#endif
   2.480 ++#endif
   2.481  +#ifdef USEA20BUFFER
   2.482  +#ifdef MORETHAN16M
   2.483 ++#ifdef INITRD_SUPPORT
   2.484 ++	movb	$0, bootsect_dst_base_hi(%si)
   2.485 ++#else
   2.486  +	movb	%cl, bootsect_dst_base_hi(%si)
   2.487  +#endif
   2.488 ++#endif
   2.489  +	movb	$0x10, bootsect_dst_base+2(%si)
   2.490  +	movw	$A20BUFFER/0x100, bootsect_src_base+1(%si)
   2.491  +	movb	$0x87, %ah
   2.492 @@ -280,28 +503,18 @@
   2.493  +# read track by track.
   2.494  +# Assume no error on first track.
   2.495  +
   2.496 -+#define FLOPPY_CYLINDERS	80	/* 80 cylinders minimum */
   2.497 -+#define FLOPPY_HEADS		2	/* 2 heads minimum */
   2.498 -+#define FLOPPY_SECTORS		18	/* 18 sectors minimum */
   2.499 ++#ifndef EXE_ONLY
   2.500 ++
   2.501 ++#define FLOPPY_CYLINDERS	80	
   2.502 ++#define FLOPPY_HEADS		2	
   2.503  +
   2.504  +check_limits:
   2.505  +#ifndef FLOPPY_1440K_ONLY
   2.506  +	popw	%dx
   2.507 -+	cmpb	$FLOPPY_SECTORS+1, %cl	# 18 sectors minimum
   2.508 -+	jb	check_head
   2.509  +        cmpb    %al, %cl		# max sector known ?
   2.510  +        ja	next_head		#   no -> store it
   2.511 -+check_head:
   2.512 -+	cmpb	$FLOPPY_HEADS, %dh	# 2 heads minimum
   2.513 -+	jb	check_cylinder
   2.514 -+        cmpb    %ah, %dh		# max head known ?
   2.515 -+        ja	next_cylinder		#   no -> store it
   2.516 -+check_cylinder:
   2.517  +#endif
   2.518  +	pushaw
   2.519 -+#ifndef FLOPPY_1440K_ONLY
   2.520 -+	cbw				# %ah = 0
   2.521 -+#endif
   2.522  +        int     $0x13			# reset controler
   2.523  +	stc
   2.524  +	call	putcdot			# print '-'
   2.525 @@ -316,10 +529,11 @@
   2.526  +	movb	$1, %al			# 1 sector mini
   2.527  +tolastsect:
   2.528  +#else
   2.529 ++#define FLOPPY_SECTORS		18
   2.530  +	mov	$FLOPPY_SECTORS+1, %al
   2.531  +	subb	%cl, %al		# sectors remaining in track
   2.532 ++	cbw
   2.533  +#endif
   2.534 -+	cbw
   2.535  +	cmpw	%di, %ax
   2.536  +	jb	more1trk
   2.537  +	movw	%di, %ax		# sectors to read
   2.538 @@ -356,7 +570,7 @@
   2.539  +	movw	%gs, %cx
   2.540  +#ifndef FLOPPY_1440K_ONLY
   2.541  +#   al is last sector+1
   2.542 -+#   ah is last cylinder+1
   2.543 ++#   ah is 0
   2.544  +	xchgw	%ax, %bp
   2.545  +#endif
   2.546  +#ifndef FLOPPY_1440K_ONLY
   2.547 @@ -368,26 +582,27 @@
   2.548  +        cmpb    $FLOPPY_SECTORS+1,%cl	# reach sector limit ?
   2.549  +        jne     bdendlp
   2.550  +#endif
   2.551 -+        incb    %dh			# next head
   2.552 -+        movb    $1,%cl			# first sector
   2.553 -+#ifndef FLOPPY_1440K_ONLY
   2.554 -+        cmpb    %ah, %dh		# reach head limit ?
   2.555 -+        jne     bdendlp
   2.556 -+next_cylinder:
   2.557 -+        movb    %dh,%ah
   2.558 -+#else
   2.559 -+        cmpb    %cl,%dh			# reach head limit ?
   2.560 -+        je	bdendlp
   2.561 -+#endif
   2.562 -+# NOTE : support 256 cylinders max
   2.563 ++        movb    $1, %cl			# first sector
   2.564 ++inc_head:
   2.565 ++        xorb    %cl, %dh		# next head
   2.566 ++        jne	bdendlp			# reach head limit ?
   2.567  +        incb    %ch			# next cylinder
   2.568  +read_first_sectors:
   2.569  +        cmpb    $FLOPPY_CYLINDERS,%ch	# reach cylinder limit ?
   2.570 -+        movb    $0,%dh			# first head
   2.571  +        jne	bdendlp
   2.572  +next_floppy:
   2.573  +	movb	$0,%ch			# first cylinder
   2.574  +	pushaw
   2.575 ++#ifdef FLOPPY_ONLY
   2.576 ++	movw	$swap_floppy_tail,%si
   2.577 ++next_digit:
   2.578 ++	decw	%si
   2.579 ++	movb	(%si), %al
   2.580 ++	incw	%ax
   2.581 ++	aaa
   2.582 ++	movb	%al, (%si)
   2.583 ++	jc	next_digit
   2.584 ++#endif
   2.585  +	movw	$swap_floppy,%si
   2.586  +#ifdef KEYBOARDLESS_SUPPORT
   2.587  +	pushw	%bx
   2.588 @@ -412,14 +627,11 @@
   2.589  +#else
   2.590  +	call	puts
   2.591  +	cbw				# %ah = 0, get keyboard character
   2.592 - 	int	$0x16
   2.593 --	int	$0x19
   2.594 ++	int	$0x16
   2.595  +#endif
   2.596  +        jmp	read_sectorslp
   2.597 - 
   2.598 --	# int 0x19 should never return.  In case it does anyway,
   2.599 --	# invoke the BIOS reset code...
   2.600 --	ljmp	$0xf000,$0xfff0
   2.601 ++#endif
   2.602 ++
   2.603  +#ifdef EXE_SUPPORT
   2.604  +read_sectors_dos:
   2.605  +	xorw	%dx, %dx	// write to %ds:%dx, not %es:%bx
   2.606 @@ -436,26 +648,25 @@
   2.607  +	pushw	%ss
   2.608  +	popw	%ds
   2.609  +#endif
   2.610 - 
   2.611 --	.section ".bsdata", "a"
   2.612 --bugger_off_msg:
   2.613 --	.ascii	"Direct booting from floppy is no longer supported.\r\n"
   2.614 --	.ascii	"Please use a boot loader program instead.\r\n"
   2.615 --	.ascii	"\n"
   2.616 --	.ascii	"Remove disk and press any key to reboot . . .\r\n"
   2.617 --	.byte	0
   2.618 ++
   2.619  +putcdot:
   2.620  +	movb	$'.'+3, %al	// . = success, - = failure
   2.621  +putclf:
   2.622  +	sbbb	$3, %al
   2.623  +putc:
   2.624 -+	movb	$0xe, %ah
   2.625 + 	movb	$0xe, %ah
   2.626 +-	movw	$7, %bx
   2.627 +-	int	$0x10
   2.628 +-	jmp	msg_loop
   2.629  +	movw	$7, %bx			#   one dot each 64k
   2.630  + 	int	$0x10
   2.631  +	cmp	$0xd, %al		# CR ?
   2.632  +	je	putclf
   2.633  +	ret
   2.634   
   2.635 +-bs_die:
   2.636 +-	# Allow the user to press a key, then reboot
   2.637 +-	xorw	%ax, %ax
   2.638  +#ifdef KEYBOARDLESS_SUPPORT
   2.639  +clock	= 0x46C
   2.640  +wait:
   2.641 @@ -467,7 +678,8 @@
   2.642  +	movw	$0x10D, %ax		# test keyboard, timeout => CR
   2.643  +	cmpb	%fs:(%di),%ah
   2.644  +	je	waitdone
   2.645 -+	int	$0x16
   2.646 + 	int	$0x16
   2.647 +-	int	$0x19
   2.648  +	jz	waitkbd
   2.649  +	cbw
   2.650  +	int	$0x16			# eat char
   2.651 @@ -476,46 +688,46 @@
   2.652  +waitdone:
   2.653  +	ret
   2.654  +#endif
   2.655 -+
   2.656 + 
   2.657 +-	# int 0x19 should never return.  In case it does anyway,
   2.658 +-	# invoke the BIOS reset code...
   2.659 +-	ljmp	$0xf000,$0xfff0
   2.660  +#ifdef EXE_SUPPORT
   2.661  +comstart:
   2.662 -+	cld				# assume nothing
   2.663 -+	pushw	$INITSEG
   2.664 -+	popw	%es
   2.665 -+	pushw	%es
   2.666 -+	popw	%ss
   2.667 ++#ifndef EXE_ONLY
   2.668 ++	call	initregs
   2.669 ++#else
   2.670 ++	INIT_REGS
   2.671 ++#endif
   2.672 ++	movb	EXEADRS(setup_sects), %al	# read bootsector + setup
   2.673 ++	incw	%ax
   2.674  +#ifdef CMDLINE
   2.675 -+	movw	%sp, %di
   2.676  +	movw	$0x80, %si
   2.677 -+	lodsb
   2.678 -+	cbw
   2.679 -+	xchgw	%ax, %cx
   2.680 ++	movb	(%si), %cl
   2.681 ++	incw	%si
   2.682 ++# ifdef OLDCMDLINE
   2.683 ++#  ifdef CMDLINE_SUPPORT
   2.684 ++	jcxz	nocmdline
   2.685 ++	movw	%di, EXEADRS(0x22)
   2.686 ++	movw	$0xA33F, 0x7F(%si)
   2.687 ++#  endif
   2.688 ++# endif
   2.689  +	rep
   2.690  +	  movsb
   2.691 -+	movb	$(48+2)/2, %cl
   2.692 -+	xorw	%bx, %bx
   2.693 -+clearstacklp:
   2.694 -+	pushw	%bx
   2.695 -+	loop	clearstacklp
   2.696 ++nocmdline:
   2.697 ++	xchgw	%ax, %di
   2.698  +# ifdef HELP
   2.699  +	cmpb	$'?', -1(%si)
   2.700  +	movw	$EXEADRS(0x200), %si
   2.701 -+	movw	setup_sects-0x200(%si), %di	// bits 0..6
   2.702  +	je	puts_version
   2.703 ++#  ifndef REALMODE_NOT_CHECKED
   2.704  +	smsww	%ax
   2.705  +	andb	$1, %al
   2.706  +	jne	puts_version			// real mode only...
   2.707 ++#  endif
   2.708  +# endif
   2.709  +#else
   2.710 -+	movw	$(48+2)/2, %cx
   2.711 -+	xorw	%bx, %bx
   2.712 -+clearstacklp:
   2.713 -+	pushw	%bx
   2.714 -+	loop	clearstacklp
   2.715 -+#endif
   2.716 -+#if !defined(CMDLINE) || !defined(HELP)
   2.717 -+	movw	EXEADRS(setup_sects), %di	// bits 0..6
   2.718 -+	movb	$0, %al	// access = RO
   2.719 ++	xchgw	%ax, %di
   2.720  +#endif
   2.721  +	movw	0x2C(%bx), %ds	// DOS 3.0+
   2.722  +loop1:
   2.723 @@ -523,29 +735,33 @@
   2.724  +	cmpw	%cx, (%bx)
   2.725  +	jne	loop1
   2.726  +	leaw	4(%bx), %dx 	// %ds:%dx filename
   2.727 ++#if !defined(REALMODE_NOT_CHECKED) && defined(CMDLINE) && defined(HELP)
   2.728  +	movb	$0x3D, %ah	// open, access = RO
   2.729 ++#else
   2.730 ++	movw	$0x3D00, %ax	// open, access = RO
   2.731 ++#endif
   2.732  +	int	$0x21
   2.733  +	jc	dosexit
   2.734  +	xchgw	%ax, %bp	// fd
   2.735 -+	incw	%di
   2.736  +	call	read_sectors_dos	// update %ds
   2.737 ++#ifndef EXE_ONLY
   2.738  +	addb	$read_sectors_dos-read_sectors, patchcall+1
   2.739 ++#endif
   2.740  +#ifdef CMDLINE
   2.741  +# ifdef OLDCMDLINE
   2.742  +	movw	$0x202, %bx
   2.743 -+	cmpw	%bx, 0x206-0x202(%bx)
   2.744 ++	cmpw	%bx, 0x206-0x202(%bx)	# new cmdline for version >= 0x202
   2.745  +	jb	oldcmdline
   2.746  +	movw	$INITSEG/16+stacktop/256, cmd_line_ptr+1-0x202(%bx)
   2.747 -+oldcmdline:
   2.748  +# else
   2.749  +	movw	$INITSEG/16+stacktop/256, cmd_line_ptr+1
   2.750  +# endif
   2.751 ++oldcmdline:
   2.752  +#endif
   2.753 -+	ljmp	$INITSEG, $loadsys
   2.754 -+#else
   2.755 -+swap_floppy:
   2.756 -+	.ascii	"Next!"
   2.757 -+	.byte	7,13,0			# swap detection needs 13, 0
   2.758 ++//	ljmp	$INITSEG, $loadsys
   2.759 ++	pushw	%ds
   2.760 ++	.byte	0x6A, loadsys-bootsect_start
   2.761 ++	retf
   2.762  +#endif
   2.763  +	
   2.764  +#define kernel_version_offset	0xE
   2.765 @@ -561,5 +777,34 @@
   2.766  +dosexit:
   2.767  +	ret	
   2.768   
   2.769 +-	.section ".bsdata", "a"
   2.770 +-bugger_off_msg:
   2.771 +-	.ascii	"Direct booting from floppy is no longer supported.\r\n"
   2.772 +-	.ascii	"Please use a boot loader program instead.\r\n"
   2.773 +-	.ascii	"\n"
   2.774 +-	.ascii	"Remove disk and press any key to reboot . . .\r\n"
   2.775 +-	.byte	0
   2.776 ++#if !defined(FLOPPY_ONLY) && !defined(EXE_ONLY)
   2.777 ++initregs:
   2.778 ++	popw	%si
   2.779 ++	INIT_REGS
   2.780 ++	pushw	%si			# use new stack
   2.781 ++	ret
   2.782 ++#endif
   2.783 + 
   2.784 ++#ifndef EXE_SUPPORT
   2.785 ++swap_floppy:
   2.786 ++	.ascii	"Insert floppy disk 001"
   2.787 ++swap_floppy_tail:
   2.788 ++	.ascii	" and press any key."
   2.789 ++	.byte	7,13,0			# swap detection needs 13, 0
   2.790 ++#endif
   2.791 + 
   2.792 ++#ifdef INITRD_KEYWORD
   2.793 ++kwinitrd:
   2.794 ++	.ascii	"initrd="
   2.795 ++	.byte	0
   2.796 ++#endif
   2.797   	# Kernel attributes; used by setup.  This is part 1 of the
   2.798   	# header, from the old boot sector.
   2.799 + 
     3.1 --- a/linux/stuff/linux-slitaz.config64	Thu Oct 23 19:09:03 2014 +0200
     3.2 +++ b/linux/stuff/linux-slitaz.config64	Fri Oct 24 10:25:36 2014 +0200
     3.3 @@ -952,7 +952,7 @@
     3.4  CONFIG_RFS_ACCEL=y
     3.5  CONFIG_XPS=y
     3.6  CONFIG_HAVE_BPF_JIT=y
     3.7 -# CONFIG_BPF_JIT is not set
     3.8 +CONFIG_BPF_JIT=y
     3.9  
    3.10  #
    3.11  # Network testing
    3.12 @@ -1133,8 +1133,8 @@
    3.13  CONFIG_BLK_DEV_DRBD=m
    3.14  # CONFIG_DRBD_FAULT_INJECTION is not set
    3.15  CONFIG_BLK_DEV_NBD=m
    3.16 -# CONFIG_BLK_DEV_OSD is not set
    3.17 -# CONFIG_BLK_DEV_SX8 is not set
    3.18 +CONFIG_BLK_DEV_OSD=m
    3.19 +CONFIG_BLK_DEV_SX8=m
    3.20  # CONFIG_BLK_DEV_UB is not set
    3.21  CONFIG_BLK_DEV_RAM=y
    3.22  CONFIG_BLK_DEV_RAM_COUNT=16
    3.23 @@ -1200,73 +1200,7 @@
    3.24  #
    3.25  CONFIG_ALTERA_STAPL=m
    3.26  CONFIG_HAVE_IDE=y
    3.27 -CONFIG_IDE=y
    3.28 -
    3.29 -#
    3.30 -# Please see Documentation/ide/ide.txt for help/info on IDE drives
    3.31 -#
    3.32 -CONFIG_IDE_XFER_MODE=y
    3.33 -CONFIG_IDE_TIMINGS=y
    3.34 -CONFIG_IDE_ATAPI=y
    3.35 -# CONFIG_BLK_DEV_IDE_SATA is not set
    3.36 -CONFIG_IDE_GD=y
    3.37 -CONFIG_IDE_GD_ATA=y
    3.38 -# CONFIG_IDE_GD_ATAPI is not set
    3.39 -CONFIG_BLK_DEV_IDECS=m
    3.40 -# CONFIG_BLK_DEV_DELKIN is not set
    3.41 -CONFIG_BLK_DEV_IDECD=y
    3.42 -CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
    3.43 -# CONFIG_BLK_DEV_IDETAPE is not set
    3.44 -# CONFIG_BLK_DEV_IDEACPI is not set
    3.45 -# CONFIG_IDE_TASK_IOCTL is not set
    3.46 -CONFIG_IDE_PROC_FS=y
    3.47 -
    3.48 -#
    3.49 -# IDE chipset support/bugfixes
    3.50 -#
    3.51 -CONFIG_IDE_GENERIC=y
    3.52 -# CONFIG_BLK_DEV_PLATFORM is not set
    3.53 -CONFIG_BLK_DEV_CMD640=y
    3.54 -# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
    3.55 -# CONFIG_BLK_DEV_IDEPNP is not set
    3.56 -CONFIG_BLK_DEV_IDEDMA_SFF=y
    3.57 -
    3.58 -#
    3.59 -# PCI IDE chipsets support
    3.60 -#
    3.61 -CONFIG_BLK_DEV_IDEPCI=y
    3.62 -CONFIG_IDEPCI_PCIBUS_ORDER=y
    3.63 -# CONFIG_BLK_DEV_OFFBOARD is not set
    3.64 -CONFIG_BLK_DEV_GENERIC=y
    3.65 -# CONFIG_BLK_DEV_OPTI621 is not set
    3.66 -CONFIG_BLK_DEV_RZ1000=y
    3.67 -CONFIG_BLK_DEV_IDEDMA_PCI=y
    3.68 -CONFIG_BLK_DEV_AEC62XX=y
    3.69 -CONFIG_BLK_DEV_ALI15X3=y
    3.70 -CONFIG_BLK_DEV_AMD74XX=y
    3.71 -CONFIG_BLK_DEV_ATIIXP=y
    3.72 -CONFIG_BLK_DEV_CMD64X=y
    3.73 -CONFIG_BLK_DEV_TRIFLEX=y
    3.74 -# CONFIG_BLK_DEV_CS5520 is not set
    3.75 -CONFIG_BLK_DEV_CS5530=y
    3.76 -CONFIG_BLK_DEV_HPT366=y
    3.77 -CONFIG_BLK_DEV_JMICRON=y
    3.78 -CONFIG_BLK_DEV_SC1200=y
    3.79 -CONFIG_BLK_DEV_PIIX=y
    3.80 -CONFIG_BLK_DEV_IT8172=y
    3.81 -CONFIG_BLK_DEV_IT8213=y
    3.82 -CONFIG_BLK_DEV_IT821X=y
    3.83 -CONFIG_BLK_DEV_NS87415=y
    3.84 -CONFIG_BLK_DEV_PDC202XX_OLD=y
    3.85 -CONFIG_BLK_DEV_PDC202XX_NEW=y
    3.86 -CONFIG_BLK_DEV_SVWKS=y
    3.87 -CONFIG_BLK_DEV_SIIMAGE=y
    3.88 -CONFIG_BLK_DEV_SIS5513=y
    3.89 -CONFIG_BLK_DEV_SLC90E66=y
    3.90 -CONFIG_BLK_DEV_TRM290=y
    3.91 -CONFIG_BLK_DEV_VIA82CXXX=y
    3.92 -CONFIG_BLK_DEV_TC86C001=y
    3.93 -CONFIG_BLK_DEV_IDEDMA=y
    3.94 +# CONFIG_IDE is not set
    3.95  
    3.96  #
    3.97  # SCSI device support
    3.98 @@ -1325,18 +1259,18 @@
    3.99  CONFIG_SCSI_AIC7XXX=m
   3.100  CONFIG_AIC7XXX_CMDS_PER_DEVICE=32
   3.101  CONFIG_AIC7XXX_RESET_DELAY_MS=5000
   3.102 -CONFIG_AIC7XXX_DEBUG_ENABLE=y
   3.103 +# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
   3.104  CONFIG_AIC7XXX_DEBUG_MASK=0
   3.105 -CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
   3.106 +# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set
   3.107  CONFIG_SCSI_AIC7XXX_OLD=m
   3.108  CONFIG_SCSI_AIC79XX=m
   3.109  CONFIG_AIC79XX_CMDS_PER_DEVICE=32
   3.110  CONFIG_AIC79XX_RESET_DELAY_MS=5000
   3.111 -CONFIG_AIC79XX_DEBUG_ENABLE=y
   3.112 +# CONFIG_AIC79XX_DEBUG_ENABLE is not set
   3.113  CONFIG_AIC79XX_DEBUG_MASK=0
   3.114  CONFIG_AIC79XX_REG_PRETTY_PRINT=y
   3.115  CONFIG_SCSI_AIC94XX=m
   3.116 -CONFIG_AIC94XX_DEBUG=y
   3.117 +# CONFIG_AIC94XX_DEBUG is not set
   3.118  CONFIG_SCSI_MVSAS=m
   3.119  # CONFIG_SCSI_MVSAS_DEBUG is not set
   3.120  CONFIG_SCSI_MVSAS_TASKLET=y
   3.121 @@ -1395,7 +1329,7 @@
   3.122  CONFIG_SCSI_SRP=m
   3.123  CONFIG_SCSI_BFA_FC=m
   3.124  # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
   3.125 -CONFIG_SCSI_DH=m
   3.126 +CONFIG_SCSI_DH=y
   3.127  CONFIG_SCSI_DH_RDAC=m
   3.128  CONFIG_SCSI_DH_HP_SW=m
   3.129  CONFIG_SCSI_DH_EMC=m
   3.130 @@ -1417,22 +1351,22 @@
   3.131  CONFIG_SATA_AHCI_PLATFORM=m
   3.132  CONFIG_SATA_INIC162X=m
   3.133  CONFIG_SATA_ACARD_AHCI=m
   3.134 -CONFIG_SATA_SIL24=m
   3.135 +CONFIG_SATA_SIL24=y
   3.136  CONFIG_ATA_SFF=y
   3.137  
   3.138  #
   3.139  # SFF controllers with custom DMA interface
   3.140  #
   3.141 -CONFIG_PDC_ADMA=m
   3.142 -CONFIG_SATA_QSTOR=m
   3.143 -CONFIG_SATA_SX4=m
   3.144 +CONFIG_PDC_ADMA=y
   3.145 +CONFIG_SATA_QSTOR=y
   3.146 +CONFIG_SATA_SX4=y
   3.147  CONFIG_ATA_BMDMA=y
   3.148  
   3.149  #
   3.150  # SATA SFF controllers with BMDMA
   3.151  #
   3.152  CONFIG_ATA_PIIX=y
   3.153 -CONFIG_SATA_MV=m
   3.154 +CONFIG_SATA_MV=y
   3.155  CONFIG_SATA_NV=y
   3.156  CONFIG_SATA_PROMISE=y
   3.157  CONFIG_SATA_SIL=y
   3.158 @@ -2294,7 +2228,7 @@
   3.159  # CONFIG_LP_CONSOLE is not set
   3.160  CONFIG_PPDEV=m
   3.161  CONFIG_HVC_DRIVER=y
   3.162 -CONFIG_VIRTIO_CONSOLE=m
   3.163 +CONFIG_VIRTIO_CONSOLE=y
   3.164  # CONFIG_IPMI_HANDLER is not set
   3.165  CONFIG_HW_RANDOM=y
   3.166  # CONFIG_HW_RANDOM_TIMERIOMEM is not set
   3.167 @@ -3898,7 +3832,6 @@
   3.168  # LED Triggers
   3.169  #
   3.170  CONFIG_LEDS_TRIGGER_TIMER=m
   3.171 -CONFIG_LEDS_TRIGGER_IDE_DISK=y
   3.172  CONFIG_LEDS_TRIGGER_HEARTBEAT=m
   3.173  CONFIG_LEDS_TRIGGER_BACKLIGHT=m
   3.174  # CONFIG_LEDS_TRIGGER_GPIO is not set
   3.175 @@ -3984,14 +3917,14 @@
   3.176  # CONFIG_UIO_SERCOS3 is not set
   3.177  # CONFIG_UIO_PCI_GENERIC is not set
   3.178  # CONFIG_UIO_NETX is not set
   3.179 -CONFIG_VIRTIO=m
   3.180 -CONFIG_VIRTIO_RING=m
   3.181 +CONFIG_VIRTIO=y
   3.182 +CONFIG_VIRTIO_RING=y
   3.183  
   3.184  #
   3.185  # Virtio drivers
   3.186  #
   3.187 -CONFIG_VIRTIO_PCI=m
   3.188 -CONFIG_VIRTIO_BALLOON=m
   3.189 +CONFIG_VIRTIO_PCI=y
   3.190 +CONFIG_VIRTIO_BALLOON=y
   3.191  # CONFIG_VIRTIO_MMIO is not set
   3.192  CONFIG_STAGING=y
   3.193  CONFIG_ET131X=m
   3.194 @@ -4416,7 +4349,9 @@
   3.195  # CONFIG_PSTORE is not set
   3.196  # CONFIG_SYSV_FS is not set
   3.197  # CONFIG_UFS_FS is not set
   3.198 -# CONFIG_EXOFS_FS is not set
   3.199 +CONFIG_EXOFS_FS=m
   3.200 +# CONFIG_EXOFS_DEBUG is not set
   3.201 +CONFIG_ORE=m
   3.202  CONFIG_NETWORK_FILESYSTEMS=y
   3.203  CONFIG_NFS_FS=y
   3.204  CONFIG_NFS_V3=y
   3.205 @@ -4666,12 +4601,12 @@
   3.206  CONFIG_CRYPTO_RMD256=m
   3.207  CONFIG_CRYPTO_RMD320=m
   3.208  CONFIG_CRYPTO_SHA1=y
   3.209 -# CONFIG_CRYPTO_SHA1_SSSE3 is not set
   3.210 +CONFIG_CRYPTO_SHA1_SSSE3=m
   3.211  CONFIG_CRYPTO_SHA256=m
   3.212  CONFIG_CRYPTO_SHA512=m
   3.213  CONFIG_CRYPTO_TGR192=m
   3.214  CONFIG_CRYPTO_WP512=m
   3.215 -# CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set
   3.216 +CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m
   3.217  
   3.218  #
   3.219  # Ciphers
   3.220 @@ -4691,14 +4626,14 @@
   3.221  CONFIG_CRYPTO_FCRYPT=y
   3.222  CONFIG_CRYPTO_KHAZAD=m
   3.223  CONFIG_CRYPTO_SALSA20=m
   3.224 -# CONFIG_CRYPTO_SALSA20_X86_64 is not set
   3.225 +CONFIG_CRYPTO_SALSA20_X86_64=m
   3.226  CONFIG_CRYPTO_SEED=m
   3.227  CONFIG_CRYPTO_SERPENT=m
   3.228  CONFIG_CRYPTO_TEA=m
   3.229  CONFIG_CRYPTO_TWOFISH=m
   3.230  CONFIG_CRYPTO_TWOFISH_COMMON=m
   3.231 -# CONFIG_CRYPTO_TWOFISH_X86_64 is not set
   3.232 -# CONFIG_CRYPTO_TWOFISH_X86_64_3WAY is not set
   3.233 +CONFIG_CRYPTO_TWOFISH_X86_64=m
   3.234 +CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=m
   3.235  
   3.236  #
   3.237  # Compression
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/linux64-exofs/receipt	Fri Oct 24 10:25:36 2014 +0200
     4.3 @@ -0,0 +1,45 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="linux64-exofs"
     4.7 +VERSION="3.2.53"
     4.8 +CATEGORY="base-system"
     4.9 +SHORT_DESC="The Linux kernel OSD based file system module."
    4.10 +MAINTAINER="devel@slitaz.org"
    4.11 +LICENSE="GPL2"
    4.12 +DEPENDS="linux64"
    4.13 +WANTED="linux"
    4.14 +PROVIDE="linux-minix:linux64"
    4.15 +WEB_SITE="http://www.kernel.org/"
    4.16 +CONFIG_FILES="/etc/filesystems"
    4.17 +
    4.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.19 +genpkg_rules()
    4.20 +{
    4.21 +    local path
    4.22 +    install=$install/linux64
    4.23 +    path=lib/modules/$VERSION-slitaz64/kernel
    4.24 +    mkdir -p $fs/$path $fs/etc
    4.25 +    export src
    4.26 +    export install
    4.27 +    $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    4.28 +    	dir=$path/$(dirname $module)
    4.29 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    4.30 +        cp -a $install/$path/$module $fs/$dir
    4.31 +    done
    4.32 +    touch $fs/etc/filesystems
    4.33 +}
    4.34 +
    4.35 +# Post install/remove commands for Tazpkg.
    4.36 +post_install()
    4.37 +{
    4.38 +	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
    4.39 +		echo "${PACKAGE#*-}" >> $1/etc/filesystems
    4.40 +	chroot "$root/" depmod -a $VERSION-slitaz64
    4.41 +}
    4.42 +
    4.43 +post_remove()
    4.44 +{
    4.45 +	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
    4.46 +	chroot "$root/" depmod -a $VERSION-slitaz64
    4.47 +}
    4.48 +
     5.1 --- a/linux64/stuff/modules64.list	Thu Oct 23 19:09:03 2014 +0200
     5.2 +++ b/linux64/stuff/modules64.list	Fri Oct 24 10:25:36 2014 +0200
     5.3 @@ -1,10 +1,10 @@
     5.4  drivers/acpi/video.ko.xz
     5.5  drivers/acpi/button.ko.xz
     5.6 -drivers/char/genrtc.ko.xz
     5.7 +arch/x86/kernel/cpuid.ko.xz
     5.8  drivers/char/i8k.ko.xz
     5.9  drivers/char/lp.ko.xz
    5.10  drivers/char/ppdev.ko.xz
    5.11 -drivers/char/rtc.ko.xz
    5.12 +drivers/firmware/efivars.ko.xz
    5.13  drivers/regulator/fixed.ko.xz
    5.14  drivers/regulator/tps6105x-regulator.ko.xz
    5.15  drivers/mmc/host/tifm_sd.ko.xz
    5.16 @@ -252,10 +252,40 @@
    5.17  sound/ac97_bus.ko.xz
    5.18  sound/core/snd.ko.xz
    5.19  lib/lru_cache.ko.xz
    5.20 -lib/libcrc32c.ko.xz
    5.21  lib/crc8.ko.xz
    5.22  lib/cordic.ko.xz
    5.23  lib/raid6/raid6_pq.ko.xz
    5.24  lib/ts_bm.ko.xz
    5.25  lib/ts_fsm.ko.xz
    5.26  lib/ts_kmp.ko.xz
    5.27 +drivers/ata/acard-ahci.ko.xz
    5.28 +drivers/ata/ahci_platform.ko.xz
    5.29 +drivers/ata/pata_cmd64x.ko.xz
    5.30 +drivers/ata/pata_cs5520.ko.xz
    5.31 +drivers/ata/pata_cs5530.ko.xz
    5.32 +drivers/ata/pata_cs5536.ko.xz
    5.33 +drivers/ata/pata_cypress.ko.xz
    5.34 +drivers/ata/pata_efar.ko.xz
    5.35 +drivers/ata/pata_hpt366.ko.xz
    5.36 +drivers/ata/pata_hpt37x.ko.xz
    5.37 +drivers/ata/pata_hpt3x2n.ko.xz
    5.38 +drivers/ata/pata_hpt3x3.ko.xz
    5.39 +drivers/ata/pata_it8213.ko.xz
    5.40 +drivers/ata/pata_netcell.ko.xz
    5.41 +drivers/ata/pata_ninja32.ko.xz
    5.42 +drivers/ata/pata_ns87410.ko.xz
    5.43 +drivers/ata/pata_ns87415.ko.xz
    5.44 +drivers/ata/pata_opti.ko.xz
    5.45 +drivers/ata/pata_optidma.ko.xz
    5.46 +drivers/ata/pata_pcmcia.ko.xz
    5.47 +drivers/ata/pata_pdc2027x.ko.xz
    5.48 +drivers/ata/pata_pdc202xx_old.ko.xz
    5.49 +drivers/ata/pata_radisys.ko.xz
    5.50 +drivers/ata/pata_rdc.ko.xz
    5.51 +drivers/ata/pata_rz1000.ko.xz
    5.52 +drivers/ata/pata_serverworks.ko.xz
    5.53 +drivers/ata/pata_sil680.ko.xz
    5.54 +drivers/ata/pata_sl82c105.ko.xz
    5.55 +drivers/ata/pata_triflex.ko.xz
    5.56 +drivers/ata/pdc_adma.ko.xz
    5.57 +drivers/ata/sata_inic162x.ko.xz