Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 23 Apr 2019, 18:16
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Slaxer_Pup 4.12 solid and stable non woof build
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 26 of 32 [470 Posts]   Goto page: Previous 1, 2, 3, ..., 24, 25, 26, 27, 28, 29, 30, 31, 32 Next
Author Message
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Tue 15 Dec 2009, 17:55    Post subject:  

Here it is - first time I've got wifi working on the eBox-2300. Check out the attached screenshot. Razz

Thanks Joe. This driver should be included in SlaxerPup.

Gotta go - after bedtime...
ebox2300-vt6655-3.png
Description  SlaxerPup running on eBox-2300 and connected via wlan (vt6655)
png

 Download 
Filename  ebox2300-vt6655-3.png 
Filesize  140.4 KB 
Downloaded  548 Time(s) 

_________________
Puppy unofficial tester (off and on) since v0.9.2
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Wed 16 Dec 2009, 03:22    Post subject:  

About the sound card driver, if you are using kernel >= 2.6.25 the driver is already in the kernel sources. The sources you linked to are for backporting the driver to earlier kernel versions.
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Wed 16 Dec 2009, 13:35    Post subject:  

Hey Paul (pakt)


Quote:
Here it is - first time I've got wifi working on the eBox-2300. Check out the attached screenshot. Razz



EXCELLENT! Very Happy Very Happy

and just a reminder a big thanks for fixing the USB install

anything else for those mini systems let me know
love to see Slaxer_Pup on those




-------------------------------------

@Gilbert (amigo)
Quote:
About the sound card driver, if you are using kernel >= 2.6.25 the driver is already in the kernel sources. The sources you linked to are for backporting the driver to earlier kernel versions.


Thanks Gilbert I was going to check that out today

------------------------------------



if you need the slaxer kernel sources
here they are its a *.tgz because you wont have symlink problems
and it is all writeable and if you wanted to strip it down its easier to do
also it will install in the correct place and uninstall without any problems to your system



UPDATED 12-29-2009 lite version
src-kernel-slxr-2.6.27.7 Now 71MB 250 MB installed make sure you have the space first though

http://puppy2.org/slaxer/src-kernel-slxr-2.6.27.7-i486-2-slxr.tgz

if anyone compiles extra drivers let me know I will include them for slaxer pup
and upload them also
Thanks


Joe

Last edited by big_bass on Tue 29 Dec 2009, 14:58; edited 1 time in total
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Wed 16 Dec 2009, 14:55    Post subject:  

Joe, I think you must be distributing the kernel sources with all the objects built which, if so, is unnecessary. The unpacked sources should be in the range of 200-250MB.
for them to be fully functional, they only need to be configured and then packed up:
'make clean oldconfig prepare'
That will make them usable for compiling out-of-tree sources and also make them available for re-compiling the kernel or any in-tree modules in the exact form in which you used them to produce your kernel and modules.
Packing them should give you a tgz package in the range of ~80MB or so, and if your use txz then probably about 65MB.
You might have a look at delivering them as an iso image as I metioned before -that will keep them to 65/80MB installed. the only caveat is that you can't build directly in the (read-only) tree. You could create a zisofs image (using mkzftree) to keep the gzip compression. Then deliver it installed as:
/usr/src/linux/.linux-sources.iso
Then you could have the packages' doinst.sh create an entry in /etc/rc.d/rc.local which would loop-mount the image -something like this:
Code:
if [[ -f /usr/src/linux/.linux-sources.iso ]] ; then
# losetup /dev/loop-whatever /usr/src/linux/.linux-sources.iso
# mount /dev/loop-whatever /usr/src/linux
mount -o loop -t iso9660 /usr/src/linux/.linux-sources.iso /usr/src/linux
fi


You could use losetup, but if you are using loop devices you'd need to do a losetup -f to find a free device first. This method shows how to 'overmount' a directory with the contents of the directory in such a way that the original content (the *.iso) is invisible.
Since you are probably more comfortable with sfs files/mounts, you could do it that way. I worked out the above trick long ago -one of the priorities was to be able to use an unpatched kernel, and at the time squashfs was not a part of the kernel, so that's why zisofs was used.

Anyway, even if you don't do that, you can still deliver read-write sources at under 100MB *unpacked*.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Thu 17 Dec 2009, 06:03    Post subject:  

Quote:
Still some room for you to learn more here Smile , as I can't do it all for you at the moment.

Thanks for the pointers on changing kernels in Slackware, Gilbert. I'll put that on the backburner for now and concentrate on using the kernel headers with SlaxerPup Wink

I downloaded the kernel source for SlaxerPup (Thanks Joe Razz ) and checked the contents. If I'm not mistaken these branches can be removed:

- All branches off arch/ except for /x86, i.e. remove branches alpha, arm, avr32, blackfin, cris, frv, h8300, ia64, m32r, m68k, mips, mn10300, parisc, powerpc, s390, sh, sparc, um and xtensa.
- The /Documentation branch
- All .o* files (includes .o.cmd, .o.uu, etc files. I assume these are all object files)

I'm just familiar with a few tar commands. Any tips on the tar command options to (easily) remove the above branches from the compressed tarball Wink

Last question: I found sis7019.c and sis7019.h in the source. How would I compile just the sis7019 module and not the rest of the source?

Paul

_________________
Puppy unofficial tester (off and on) since v0.9.2
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Thu 17 Dec 2009, 09:44    Post subject:  

big_bass wrote:
anything else for those mini systems let me know
love to see Slaxer_Pup on those

[Getting on soapbox]
Just like Barry loves software that is lean and fast, I love hardware that is small and efficient. Apart from not working as a heating element and also contributing to a lower electricity bill Wink , all electronics last longer when running at a lower temperature. The life span of an electronics component shortens exponentially with increasing temperature, something I learned early on as an electronics professional. I'm retired now due to poor health but I still love working with these gadgets.

The SiS Vortex86 SoC (System on Chip) in the eBox-2300 almost makes up a complete 200MHz, i586-compatible PC, only memory needs to be added, in this case 128MB. Measuring with a simple power meter, the eBox-2300 (including the AC adapter, the inserted CF card (with SlaxerPup) and the wireless module) draws only 11W (max).

This pocket-sized unit was never designed to run as a complete PC but only as a thin client. That's why it's so enjoyable to be able to run Puppy Linux on it albeit rather slowly mainly due to the X-Window GUI. Quitting X and just running a CLI makes this box run acceptably fast. And with SlaxerPup running in RAM, there is still more then 50MB RAM free.

Looking at the future, ARM-based devices promise to be more power efficient than ones based on x86. If windows XP had run on the ARM architecture, I believe we would already have had ARM-based netbooks for sale on the market and not just prototypes displayed at conventions. The demand for netbooks with Linux is simply too low. Who knows, perhaps ARM-based netbooks will appear soon in stores, but running Linux-based Google Chrome OS instead Razz
[Getting off soapbox]

Paul

_________________
Puppy unofficial tester (off and on) since v0.9.2
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11249

PostPosted: Thu 17 Dec 2009, 11:15    Post subject:  

Neat stuff...x86 was always the most inefficient architecture yet became the most common...like vhs was the worst format for video tape...I guess it's where big business controls technology these illogical happenings occur
...falls off soapbox
mike
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Thu 17 Dec 2009, 13:58    Post subject:  

Gilbert (amigo)

Thanks for posting how to reduce the kernel down to a much smaller size

and the optional overmounting way (I can think of a few other good things to do with that ) thanks

I will be pretty busy until at least January 7th when my kids go back to school from vacation. They start vacation today

so I hope people only down load the sources if they really need them
and I´ll repackage it up later to the smaller size [cleaned up] I´ll take a look at the overmounting of the sources also
that looks like good option

Gilbert is Cool


@Paul (pakt)
I am very thankful that you took the time to go through the initrd and
add the delay fix so that the using the USB install option the USB save file is now detected
since I use USB most of the time I really needed that working
I kind of cut it short in the above post because I was in a hurry


I also love the electronics side of things (an electronics tech )
at 11W of power a solar powered Slaxer
would open many possibilities Very Happy

so I would take any of your good suggestions
and include it in Slaxer

many times if someone doesnt have the hardware to test on
they just forget about trying to build for it because it makes it much more difficult to test and there is usually alot of trial and error until it finally works but if I know that someone really wants something to work I´ll do my best to help out

thanks for testing and if you had to add a special script or something
to make the wifi work correctly it would help the next guy getting his box running also

ahh about slackware now that you have that also installed it will help to test build anything first using src2pkg in its native home slackware



Joe
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Fri 18 Dec 2009, 14:53    Post subject:  

src2pkg is now getting up to en even higher level of functionality in KISS-Linux along with the new pkgtools Smile. I've rolled in some ideas from slitaz, but without some of the problems of their packaging system. Getting fairly close to having enough kiss packages to release a version for developing on, Joe. Also, a new release of src2pkg shuld be out this weekend -just in time to help Santa with some of his packaing needs LOL.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sat 19 Dec 2009, 08:34    Post subject:  

Ok, I've got the kernel source tgz down to 122MB Cool

I trimmed off all branches from /arch except x86, the /Documentaion branch and all object (.o) files.

I also made a 99MB sfs file from the trimmed source but discovered I forgot to add the links in doinst.sh. I think I can add the links manually ... hmm, probably need to use chroot...

Anyway, I'll report back once I've tested the sfs.

EDIT: Seems I need to leave branch i386 on /arch so I've put it back.

Didn't need chroot to make links, just made relative links with rox.

_________________
Puppy unofficial tester (off and on) since v0.9.2

Last edited by pakt on Sat 19 Dec 2009, 13:16; edited 2 times in total
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sat 19 Dec 2009, 12:48    Post subject:  

The 99MB kernel-source sfs works with my frugal install Smile . Now to try it out.

The sis7019 module might be a good choice. I think I saw somewhere how to compile a single kernel module but googling didn't help.

Well, seem to have made an object file:
Code:
# make sound/pci/sis7019.ko
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  GEN     include/linux/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/asm/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      sound/pci/sis7019.o
include/asm/io_32.h: In function 'memcpy_fromio':
include/asm/io_32.h:151: warning: passing argument 2 of '__memcpy' discards qualifiers from pointer target type
include/asm/io_32.h: In function 'memcpy_toio':
include/asm/io_32.h:157: warning: passing argument 1 of '__memcpy' discards qualifiers from pointer target type
  MODPOST 0 modules
#

Not quite a module though. Do I know what I'm doing? Uh, no Laughing

_________________
Puppy unofficial tester (off and on) since v0.9.2
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Sun 20 Dec 2009, 02:34    Post subject:  

You need to be using clusty.com instead of google.com -search 'compile single kernel module' --first hit:
http://www.debian-administration.org/article/Rebuilding_a_single_kernel_module

# compile
make -M=Path/To/Module
# test
insmod Path/To/Module/Module.ko
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sun 20 Dec 2009, 10:13    Post subject:  

Thanks amigo, but that doesn't seem to work:
Quote:
# make -M=sound/pci/sis7019.ko
make: invalid option -- M
make: invalid option -- =
Usage: make [options] [target] ...
<snip>

I decided to start fresh and generally follow Barry's instructions http://puppylinux.com/development/compilekernel.htm and just compile all the modules.

Unfortunately, I couldn't find a .config file in /usr/src/linux-2.6.27.7/ so I don't think I can compile either the kernel or drivers.

Maybe Joe has the .config file for SlaxerPup?

Paul

_________________
Puppy unofficial tester (off and on) since v0.9.2
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Sun 20 Dec 2009, 15:27    Post subject:  

Hey Paul
I been busy setting up a USB FLASH for compiling with kernel sources

the config is here
Code:
geany /usr/src/linux-2.6.27.7/.config


or if you don't have the kernel sources installed you can check here too
Code:
rox -s /proc/config.gz



*I'll keep at it but this week I have less free time
but now you have the tools to compile and others so
more help on the way

manual ebox
http://www.compactpc.com.tw/files/eBOX_2300_Manual_%20v0r0.pdf

found the problem Confused
edit # CONFIG_SND_SIS7019 is not set
to read

CONFIG_SND_SIS7019=m


I did it with geany but you could do it the official way


*I verified it with amigos post below it is activated


Joe

Last edited by big_bass on Sun 20 Dec 2009, 16:45; edited 4 times in total
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Sun 20 Dec 2009, 15:58    Post subject:  

zcat /proc/config.gz > .config
Then: 'make silentoldconfig'
Then: 'make menuconfig' and drill down to where the options for that module are to be sure it is turned on and set any available options. Save configuration when exiting menuconfig and you should be set.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 26 of 32 [470 Posts]   Goto page: Previous 1, 2, 3, ..., 24, 25, 26, 27, 28, 29, 30, 31, 32 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0912s ][ Queries: 13 (0.0453s) ][ GZIP on ]