Kernel as your base kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Kernel as your base kernel

Post by Solar »

Radian wrote:But at least we can make driver development comfortable, both technically and legally, for everyone. The point is you can't write the driver for every device in this planet yourself. Let people write driver for device they like (mostly) independently from the other part of OS.
That was the whole point of projects like UDI - cross-platform driver development.

However, Microsoft won't have it (as their driver base is one of their main leverages to the market), and GNU / Linux won't have it either because of their skewed view on "freedom".

So when the dotcom bubble burst and funding of the project dried up, there was not enough momentum behind it to really keep it going.

I still say that UDI is the key to having the decision for a specific OS being made on technical merit, not hardware driver support. If you really want to make the world a better place, UDI is a good point to start working on it. Porting the UDI reference implementation to the current Linux kernel would be an awesome feat.
This is the very first step we should take. Market is the next step.
Every good solution is obvious once you've found it.
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: Kernel as your base kernel

Post by Yoda »

Radian wrote:But at least we can make driver development comfortable, both technically and legally, for everyone.
Agreed. IMHO, successful OS in modern world must have two keystone points to compete:
1. Step-by-step driver development documentation.
2. Binary driver interface.
First is obvious. Second is because many OEMs prefer to hide the internals of their devices and driver know-hows to survive in competitive world and will prefer not to release driver at all than to release open-source.
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Kernel as your base kernel

Post by Combuster »

Yoda wrote:
TylerH wrote:I have no idea where you get the idea that Linux doesn't have utilities and libraries, but it does. *BSD and Linux are almost too similar to tell the difference, in terms of system design. (In fact, I don't really know of any differences, other than directory layout and boot mechanisms.)
Linux community at kernel.org is aware only of kernel and drivers. But AFAIK, Linux distributions use set of standard utilities that come under FreeBSD license.
Both systems intend to present the same front-end to the user with separate codebases. Linux' choice of those utilities are of course provided by GNU and therefore GPLed. In fact, it was the Linux kernel that got added to RMS's shopping list because none of his drones had an alternative, with the current division as a result.

If you care about licensing, go get the BSD versions because Linux hasn't got too much to offer:
The package manager wrote: * sys-apps/coreutils
Homepage: http://www.gnu.org/software/coreutils/
Description: Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)
License: GPL-3
And it's primary non-Stallman contender:
The package manager wrote:* sys-apps/busybox
Homepage: http://www.busybox.net/
Description: Utilities for rescue and embedded systems
License: GPL-2
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: Kernel as your base kernel

Post by gravaera »

Radian wrote: 1. X window ...
... There is Wayland project http://wayland.freedesktop.org/architecture.html...
Wow, very nice, thanks for that link :O
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: Kernel as your base kernel

Post by Yoda »

Combuster wrote:If you care about licensing, go get the BSD versions because Linux hasn't got too much to offer...
I incorrectly formulated my point. Better to say that Linux uses a basic set of utils (ls, cd, etc., - all that /bin/* stuff) known as BSD utils and that must be included to any (even lightweight) distribution, that claims to be called an "OS". I didn't mean licensing question.
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Kernel as your base kernel

Post by Brynet-Inc »

Yoda wrote:
Combuster wrote:If you care about licensing, go get the BSD versions because Linux hasn't got too much to offer...
I incorrectly formulated my point. Better to say that Linux uses a basic set of utils (ls, cd, etc., - all that /bin/* stuff) known as BSD utils and that must be included to any (even lightweight) distribution, that claims to be called an "OS". I didn't mean licensing question.
Most Linux distributions do not use BSD utilities, they use GNU coreutils.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Kernel as your base kernel

Post by Combuster »

(...) known as BSD utils and that must be included to any (even lightweight) distribution, that claims to be called an "OS"
That's nonsense. An OS is a set of components that is sufficient to run the tasks intended for the system. You do not need the posix userspace to meet that criterium. If you wrote your shell in Java, you'd just call the kernel functions directly instead of fork/exec into busybox for each such operation.

Windows lacks bsd utils as well :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: Kernel as your base kernel

Post by Yoda »

Combuster wrote:An OS is a set of components that is sufficient to run the tasks intended for the system.
Only?? Tell that to BG which claims that IE is the part of OS :)
Combuster wrote:Windows lacks bsd utils as well :wink:
Windows has an adequate replacement.
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
User avatar
brain
Member
Member
Posts: 234
Joined: Thu Nov 05, 2009 5:04 pm
Location: UK
Contact:

Re: Kernel as your base kernel

Post by brain »

berkus wrote:
Yoda wrote:
Combuster wrote:Windows lacks bsd utils as well :wink:
Windows has an adequate replacement.
I seriously LOL'd.
Windows command prompt: For those who like broken glass in their cornflakes.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Kernel as your base kernel

Post by Solar »

berkus wrote:
Yoda wrote:
Combuster wrote:Windows lacks bsd utils as well :wink:
Windows has an adequate replacement.
I seriously LOL'd.
Why? With Cygwin Windows does have an adequate... wait, that's the same userspace. :twisted:
Every good solution is obvious once you've found it.
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: Kernel as your base kernel

Post by Yoda »

brain wrote:Windows command prompt: For those who like broken glass in their cornflakes.
Boss to secretary:
- Kate, my dear, please, copy monthly report to our partners, they are coming to you.
- Good morning. Is that you who waits for report?
- Good morning. Yes, we are. Here is the blank floppy.
- OK.
Inserts floppy and...
# mkfs -t vfat -c /dev/fd0h1440
# mount -t vfat -o iocharset=koi8-r,codepage=866 /dev/fd0 /mnt/floppy
# find / -noleaf -type f -name Report_april. [a-zA-Z] -exec cp ?{ }?; /mnt/floppy ;
# ls -la /mnt/floppy/Report_april. [a-z][A-Z] && sync && sleep 3
- Take that, please!
Partners:
- Oh, ****!!!
Kate:
- What's happened?!... I forgot to dismount it again?!
:D
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Kernel as your base kernel

Post by Solar »

<humorless mode>

Code: Select all

# mkfs -t vfat -c /dev/fd0h1440
Floppys have been default-formatted since the 80ies.

Code: Select all

# mount -t vfat -o iocharset=koi8-r,codepage=866 /dev/fd0 /mnt/floppy
Should be in /etc/fstab. Do use Unicode.

Code: Select all

# find / -noleaf -type f -name Otchet_april. [a-zA-Z] -exec cp ?{ }?; /mnt/floppy ;
# ls -la /mnt/floppy/Report_april. [a-z][A-Z] && sync && sleep 3
Should be:

Code: Select all

# copy_reports --current
Don't use floppies. Do use GUIs. ;-)

Besides, AmigaOS was capable to detect the removal of a not-yet-unmounted floppy, and tell you in very precise terms what to do to recover from the situation. Since 1985. One of the things I never understood why other systems didn't copy that.
Every good solution is obvious once you've found it.
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: Kernel as your base kernel

Post by Yoda »

Solar, don't turn on humorless mode, cause it's just a joke and not needed to be parsed line-by-line. Disciples of Linux are LOLing (or just trolling?? :D) at Windows, So why it's prohibited for me?
I see that a (not simple) question of "what-part-of-package-could-be-called-an-OS" become a new point of Holy War between Windows and Linux disciples. I don't like verbalism and don't see what to discuss more in this scope.
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Kernel as your base kernel

Post by Solar »

So you missed the implied <irony> flag?

Just for the papers: I am one of the few who claims that Windows and Linux suck both. It's just that for what I do, Linux sucks marginally less. ;-)
Every good solution is obvious once you've found it.
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: Kernel as your base kernel

Post by gravaera »

Y'all need to get on my level -- reppin Vtech 24/7 son :wink:
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
Post Reply