[debian-non-standard] 2.6.30 kernel for ASUS WL-500g*

Tomasz Chmielewski mangoo at wpkg.org
Tue Sep 15 21:56:59 CEST 2009


Aryanto Rachmad schrieb:

> I am sorry I think I missed the idea of this debian-non-standard. If we 
> would not do any chroot to a storage, e.g. USB hard disk for WL-500g*, 
> then we would have to put all the Debian modules and packages that we 
> need into the Flash, which I don't it is possible. So how would we have 
> some Debian Lenny packages like web server, etc., if we would not do 
> chroot?
> 
> On the other hand, I agree with you that chroot environment has a lot of 
> disadvantages. But how would we boot the kernel directly from the USB 
> hard disk?

No, with ASUS WL-500g* (and most, if not all similar routers) it is not 
possible to boot the kernel directly from a USB-stick (or USB hard disk).

Here, we flash the kernel on device's internal flash.

Then, when the device boots, the bootloader reads the kernel and 
executes it. Later, the kernel continues to boot userspace from a 
USB-stick (or hard disk).


>>> 2. Is the kernel 2.6.30 on http://www1.wpkg.org/debian-asus/2.6.30/ 
>>> compiled with glibc or uclibc?
>>
>> Linux Kernels use neither glibc nor uclibc.
> I think somewhere we have to specify the type of libc to be used in 
> compiling the kernel (or maybe kernel modules, I forgot), so that we can 
> re-compile Openwrt packages in Debian environment.

No, not with the kernel.
C library is used with userspace.



-- 
Tomasz Chmielewski
http://wpkg.org




More information about the debian-non-standard mailing list