Tiny Core Base > CorePlus
Problem with rtl8188EUS wifi USB adapter
nick65go:
@jazzbiker: About your "he tells something interesting about for example kick-starting the new platform without writing the cross-compiler? Or the point is not to use gcc as the cross-compiler?"
Rob Landley is the pioneer of tempfs (init in RAM) and busybox. He hit and solved many corner-cases (in cross compiling) in reducing the "build from itself from scratch" of linux, with minimum original tools (kernel, shell, libc, compiler-tools).
He actually provides a mini/trimmed-kernel and a shell (toybox, static compiled), plus the static-compiled GCC, FOR EVERY architecture you want (supported by qemu simulator). It is READY to use it.
So YOU can compile everything you want. ex: using a x86-64 OS host, to compile for an ARM guest, etc.
He (already) compiled (the a mini-host OS, smaller than TC) so that you do NOT need to cross-compile :)
http://landley.net/toybox/downloads/binaries/toolchains/latest/
Basically you start qemu and load the desired HOST OS in qemu as the SAME architecture you want to compile for. ex: on TC14_64 host you run qemu with "OS" of 32 bits to compile for 32 bits; you can ever compile, inside that qmeu, a NEW kernel version, a new shell (busybox), a new licb (musl), because you natively compile, in an isolated "host".
aus9:
Hi notferrari
I am going to have the spit the dummy on further attempts to build this 32 bit kernel in qemu.
I am getting each time errors for module symbols such that
--- Code: ---[code]make all
# gives errors for unknown symbols
# but still makes the module
file 8188eu.ko
8188eu.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), BuildID[sha1]=37af6fa1c74e6a0cf8db905a071e2807b1a49979, not stripped
mkdir -p /lib/modules/6.1.2-tinycore/kernel/drivers/net/wireless
root@box:/tmp/rtl8188eu# make install
install -p -m 644 8188eu.ko /lib/modules/6.1.2-tinycore/kernel/drivers/net/wireless/
/sbin/depmod -a 6.1.2-tinycore
root@box:/tmp/rtl8188eu# modprobe 8188eu
modprobe: can't load module 8188eu (kernel/drivers/net/wireless/8188eu.ko): unknown symbol in module, or unknown parameter
#######
go into /usr/src/linux*
make modules# takes hours and I bork it at this point
# MODPOST modules-only.symvers
WARNING: vmlinux.o is missing.
Modules may not have dependencies or modversions.
You may get many unresolved symbol warnings.
WARNING: modpost: "device_destroy" [arch/x86/kernel/msr.ko] undefined!
SNIP
WARNING: modpost: suppressed 94945 unresolved symbol warnings because there were too many)
--- End code ---
If other people think they can do better......let them help, I am giving up.
If no-one will help you, and I am assuming you can not run a 64 bit kernel
consider buying a better dongle, or a long ethernet cable
sorry to have wasted everyone's time. And yes time is valuable to me which is why I am spitting the dummy
jazzbiker:
Hi patrikg! Thanks for the input.
--- Quote from: patrikg on September 24, 2023, 03:40:40 PM ---... i like to make make a small Linux that fit on floppy. Just with lilo kernel busybox.
--- End quote ---
Sounds too sweet to be possible :-) Still nice as the direction to move. But who knows what may happen? Linux is not the only kernel on our planet. And, maybe some new platforms will appear.
--- Quote from: patrikg on September 24, 2023, 03:40:40 PM ---But i see some light in the tunnel, with clang and llvm.
--- End quote ---
In which way llvm is better than gcc? Both use some internal representation language, the difference is that gcc don't expose it. Both became monsters.
--- Quote from: patrikg on September 24, 2023, 03:40:40 PM ---And even with new new language that can compile c and c++ to different targets without compile the compiler. I am talking about ZIG. Don't know if this compiler can compile with diffrent width.(32/64), haven't tested that yet.
--- End quote ---
c++ demands huge compiler by itself. And appetite grows and doesn't tends to stop. I see the light on the asm + C + Lua way.
Regards!
jazzbiker:
@nick65go, thanks for an abstract!
gadget42:
--- Quote from: aus9 on September 25, 2023, 04:40:57 AM ---...
spitting the dummy
--- End quote ---
https://en.wiktionary.org/wiki/spit_the_dummy
learned a new potential jeopardy question.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version