Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
<Sabotender>
I am asking this because I am so used to apt choosing the correct headers that is compatible for my system. this one tells me that I should select one from a massive list
<Sabotender>
thats the result of my attempt to get the kernel headers
<Sabotender>
so I don't know.
<c0rnelius>
someone knows... doesn't armbian-config have kernel options?
<Herc>
yup, even stable and edge
<Herc>
I told Sabotender some hours ago
<Sabotender>
I don't remember installing the specific headers for the kernel that I am using. I can't understand why the makefile was trying to cross-compile the driver
<Sabotender>
I am just doing my best to avoid the same error messages that I received hours ago I don't think whatever headers that I installed was workingor perhaps I should try to make this driver without the use of dkms?
<Sabotender>
I am really wanting to explore other methods for compiling this driver
<Sabotender>
yes I believe it is I just wanted a cli with no de included
<Armbian-Discord>
<IgorPec> cli comes with normal "server" and minimal (stripped out)
<Armbian-Discord>
<IgorPec> server has compilers, python, armbian-config, ...
<Sabotender>
I did choose the bullseye version
<Armbian-Discord>
<IgorPec> all have the same
<Armbian-Discord>
<IgorPec> logic
<Sabotender>
oh hehe
<Sabotender>
should I download this armbian-config tool?
<Armbian-Discord>
<IgorPec> i don't know what is your aim
<Armbian-Discord>
<IgorPec> what you need?
<Sabotender>
hmm or, a different distro version?
<Sabotender>
I just want my usb wireless adapters to properly work in AP mode
<Armbian-Discord>
<IgorPec> ahaaa
<Armbian-Discord>
<IgorPec> most should just work
<Armbian-Discord>
<IgorPec> as armbian build many out of the tree drivers by defaukt
<Sabotender>
the drivers that are included with armbian distros are roken and won't correctly operate in ap mode because even though I can enable ap mode in nm-cli there is no broadcast SSID.
<Armbian-Discord>
<IgorPec> ahaa ... well, those drivers quality is anyway questionable
<Sabotender>
this has caused me extreme frusturation
<Armbian-Discord>
<IgorPec> welcome to the club 🙂 LOL
<Sabotender>
I am going mad over this issue
<Armbian-Discord>
<IgorPec> this is linux
<Armbian-Discord>
<IgorPec> you need to have thick skin to survive
<Armbian-Discord>
<IgorPec> change repository in armbian build system, adjust patches (if needed) and build kernel
<Armbian-Discord>
<IgorPec> dkms is fragile
<Sabotender>
please forgive me but I am a Linux novice and so I don't understand any of that. the best I can do is follow a guide or walkthrough. I can use google to research various methods, thats what I've been doing, but only if I know the correct search term
<Sabotender>
do you think I should be using a non-minimal version?
<Armbian-Discord>
<IgorPec> guides might not work as this code is usually half broken
<Armbian-Discord>
<IgorPec> with non-minimal you won't need to install anything, here you will need to
<Armbian-Discord>
<IgorPec> probably
<Sabotender>
okay I will try a more robust version. I just don't want a desktop enviornment
rpardini has joined #armbian
<Armbian-Discord>
<IgorPec> yes, you don't need that
<Sabotender>
I think I am running minimal for some reason. I am choosing the bullseye cli version from this website https://www.armbian.com/odroid-xu4/
<Armbian-Discord>
<IgorPec> even our desktop is really clean and minimal. no junk, no snap, nothing
<Sabotender>
okay, I promise I am not using a minimal version this time
Net147 has joined #armbian
<Sabotender>
hehe
<Sabotender>
I need to update everythig again, install build essential, etc
<Sabotender>
wow it came with build-essentil pre-installed, I am impressed!
<Armbian-Discord>
<IgorPec> i am testing if this driver builds everywhere so we will just change it
junaid_ has joined #armbian
<Sabotender>
armbian-config is now open!
lyri has quit [Remote host closed the connection]
<Sabotender>
how do I operate this utility?
<Sabotender>
"warning firmware packages frozen"
<Armbian-Discord>
<IgorPec> this is to protect you to bring board when you run update and upgrade
<Armbian-Discord>
<IgorPec> yes, that is possible
<Sabotender>
hmmm In that case, I'll try that driver compile guide/ should I continue with installing dkms too?
<Sabotender>
I just fear its going to get confused again, but I'll find out. perhaps I'll get lucky. and even though that script is for raspberry pis, it should still be okay for this odroid, because its 32 bit too?
<Armbian-Discord>
<doomberg 🦀> Hey, I own a Firefly ITX-3588J which comes with an SDK for compiling things like their custom kernel and building an Ubuntu or Debian rootfs which can then be flashed onto the board.
<Armbian-Discord>
<doomberg 🦀> How difficult would it be to build Armbian for it based on that?
<Armbian-Discord>
<doomberg 🦀> If I do manage to get it to run, does contributing it back to the Armbian repo make much sense if I'm not able to maintain it regularly?
<Armbian-Discord>
<doomberg 🦀> Since the board is currently unsupported and I couldnt find anyone mentioning it in Armbian forums, Id assume the community isnt too interested in it :dogchoke:
<Sabotender>
I will run the script but try to build without dkms
<Armbian-Discord>
<IgorPec> community is interested for free stuff, but that 0.1% of people that do something is not really looking for more work
<Armbian-Discord>
<doomberg 🦀> yeah
<Armbian-Discord>
<IgorPec> it makes sense adding it as there are many configurations in there that are not supported but still operational
<Armbian-Discord>
<IgorPec> there is also a lot of hardware ... its getting cheaper and cheaper to make it
<Armbian-Discord>
<doomberg 🦀> Since there is already official support for other RK3588-based boards, how much of the custom kernel and package patches by Firefly would I have to add, if any?
<Armbian-Discord>
<IgorPec> sabotender: yeah, you need to fix the code, try my approach by generating whole armbian kernel
<Armbian-Discord>
<doomberg 🦀> Referring to this quote specifically
<Armbian-Discord>
<doomberg 🦀> > We don't need new family. Use rk3328 and only add u-boot patch for this particular board if needed. U-boot is unique for each board and userspace changes are packed into boards support package. Specifics can be added to family config -> sources/rk3328.conf
<Armbian-Discord>
<IgorPec> doomberg: nobody knows how much without research and code comparission
<Armbian-Discord>
<IgorPec> this is your work if you go into this direction
<Armbian-Discord>
<IgorPec> i wish we could afford to provide such assistance, but we can0t
<Armbian-Discord>
<doomberg 🦀> Alright, I'll see how much I'll have to add until it runs :dogchoke:
<Armbian-Discord>
<doomberg 🦀> Thanks for the help
<archetech>
doomberg id just grab a rock5b img and adapt it to your firefly
<archetech>
vs other way around
<Armbian-Discord>
<doomberg 🦀> My plan was to get armbian/build and add the uboot and kernel configs from the Firefly SDK, without any patches, and see how that runs
<Sabotender>
oh I'm so sorry, so I should just wait for some updates?
<archetech>
my point is armbian already has a working img for rk3588
<Armbian-Discord>
<doomberg 🦀> not sure how i'd adapt an existing image without messing with the build scripts :ferrisThink:
<Armbian-Discord>
<IgorPec> Sabotender: build image from my pull request ... or wait that its merged. someone has to test on hardware before.and this is something you could do as you have this wifi adapter
<archetech>
by learning the builder or just install and image and hack it
<archetech>
id do the latter
<Armbian-Discord>
<doomberg 🦀> like actually flash it onto the device and see if it works?
<archetech>
yup
<archetech>
id use an sdcard
<Armbian-Discord>
<doomberg 🦀> i dont think it has an SD slot
<Armbian-Discord>
<doomberg 🦀> USB could possibly work?
<archetech>
or emmc
<Armbian-Discord>
<doomberg 🦀> the intended way to install images is to connect via USB-C and then run their flashing tool with an image file
<archetech>
ok try that for emmc
<Sabotender>
I will test whatever you would like me to. I have time. seriously. hehe
<Armbian-Discord>
<IgorPec> i don't have time. that's the problem
<Sabotender>
oh, 😦
<Sabotender>
well, highlight me if you need me to test something
<Sabotender>
please
<Sabotender>
I just ask that you be very specific if you want me to type anything because a lot of this goes way over my head.
<Armbian-Discord>
<IgorPec> i don't have time to deal with this problem, not with testings. this is something you need, i helped you what i could, i am done
<Sabotender>
oh, I see. I apologise that I am not smart enough to understand a lot of these things. I basically expect things to just work. Someone recommended Armbian to me because the adapter was supposed to be supported out of the box, but it seems to be broken with AP mode because it does not boradcast a SSID even withthe mode enabled. That is why I am doing this. I am not sure, but it might be best for me to try the hardkernel image because I may have
<Sabotender>
better luck compiling this driver because I really don't know what to do.
riotz has quit [Ping timeout: 248 seconds]
<Armbian-Discord>
<IgorPec> Adaptor works, just not AP. With other linux distros this problem would be just harder to resolve
<Armbian-Discord>
<IgorPec> There dkms wouldn also failz stop jumping
<Armbian-Discord>
<IgorPec> What to do - i gave you directions but can explain or lead.
archetech has quit [Quit: Konversation terminated!]
califax has quit [Ping timeout: 255 seconds]
riotz has joined #armbian
califax has joined #armbian
rpardini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Sabotender>
yes, I would greatly appreciate any help that is offered. I'm not shameful to admit that I am floundering What I've been doing is googling error messages hoping there might be something that could be done
archetech has joined #armbian
<Sabotender>
Oh and I wanted to clarify, when I said that I have time, I meant that literally. I understand that everyone has their lives and things going on and I'm not doing a whole lot these days and I have no problems with waiting if people are busy. I didn't say that as if I were trying to rush anyone. That's why I asked if you would please highlight me to get my attention
<Sabotender>
I feed my chickens, tend to my garden and greenhouse and that's about it
Mangix has quit [Ping timeout: 264 seconds]
alekksander has quit [Quit: Konversation terminated!]
rpardini has joined #armbian
rpardini has quit [Client Quit]
<Armbian-Discord>
<IgorPec> i would also rather feed chickens. Constant "customers" questions are extreme stress that is never paid off
<Armbian-Discord>
<IgorPec> so if you have time, voolonteert for us and i will have moral obligation to help you. now, i don't have anythi
Mangix has joined #armbian
riotz has quit [Ping timeout: 256 seconds]
<Sabotender>
yes, I completely understand
<Armbian-Discord>
<Tenkawa> @<Sabotender> I will be able to help Monday if you are still having problems... I'm available most days all day too... just not today/tomorrow
<c0rnelius>
burning the img now to check
<Armbian-Discord>
<Tenkawa> <c0rnelius> I think its that goofy thing with arm7 not creating the right link to the headers
<Armbian-Discord>
<Tenkawa> for 7l
<Armbian-Discord>
<Tenkawa> I've seen it before
<Armbian-Discord>
<Tenkawa> I think I usually fixed it either by manually creating a link or fixing it in the Makefile
<Sabotender>
oh, so does that mean that the headers are actually there somewhere within the file system?
<Armbian-Discord>
<Tenkawa> yes
<Armbian-Discord>
<Tenkawa> you already showed them to me
<Armbian-Discord>
<Tenkawa> the build for that module though isn't picking them up correctly
rpardini has joined #armbian
<Armbian-Discord>
<Tenkawa> the third party module's Makefile isn't the best..
rpardini has quit [Client Quit]
<Armbian-Discord>
<Tenkawa> (in my opinion)
<Armbian-Discord>
<IgorPec> this is hardkernel privately maintained 5.4.y kernel, can be broken to some degree
<Armbian-Discord>
<IgorPec> and 32b
<Armbian-Discord>
<Tenkawa> @IgorPec even worse its a third party module being added to it
<Armbian-Discord>
<IgorPec> yes, but our current driver works, just not AP
<Armbian-Discord>
<Tenkawa> (One I have here too)
<Armbian-Discord>
<IgorPec> i have switched to another one and now it could just work
<Armbian-Discord>
<IgorPec> op has to build an image and try, that's all
<Armbian-Discord>
<Tenkawa> Compiling this driver has changed repos 3-4 times in recent months
califax has quit [Ping timeout: 255 seconds]
califax has joined #armbian
rpardini has joined #armbian
<Armbian-Discord>
<c0rnelius> something with the headers are dirty. after running the following it will compile ```
<Armbian-Discord>
<c0rnelius> cd /usr/src/linux-headers-5.4.225-odroidxu4
<Armbian-Discord>
<c0rnelius> sudo make ARCH=arm M=scripts clean
<Armbian-Discord>
<c0rnelius> sudo make ARCH=arm -j8 -s scripts
<Armbian-Discord>
<c0rnelius> sudo make ARCH=arm -j8 -s M=scripts/mod/
<Armbian-Discord>
<c0rnelius> ```
<Armbian-Discord>
<c0rnelius> at the end it still gives me an error though. ```