<damo22>
if the rootfs is 0xfa0000 in size, do i make the IMAGE_SIZE := 16000k ? uboot is having trouble decompressing the initramfs+kernel
damo22 has quit [Quit: Leaving.]
damo22 has joined #openwrt-devel
<damo22>
i tried not using lzma to compress the kernel, i just used the vmlinux-initramfs file and tftpbooted that and i got somewhat of an early console, but it crashed early after printing CPU type
<damo22>
maybe i was missing the dtb?
damo22 has quit [Read error: Connection reset by peer]
<damo22>
i dont understand what u-boot expects to see. mktplinkfw2 seems be a tool that prepends a header to the top of the firmware that is tplink specific...
<damo22>
but my vendor u-boot seems to boot a plain kernel + initramfs + dtb, can i just use that?
<jow>
stintel: the error in the commit message makes no sense
<jow>
stintel: the original code does not cast, and the rrd.argv expression is a char *[] (char **)
<jow>
stintel: so where is the `(const char *)` in the quoted compiler error coming from? Maybe from an earlier fix attempt of yours?
<stintel>
no, I have that error on the upstream dev branch
<stintel>
but is it a clean fix (I'd say it's a lazy fix :P)
<stintel>
but you can't malloc a const char *argv[MAX_RRD_ARGV]
<jow>
correct
<stintel>
so it would need a helper function maybe
<jow>
the cast is correct
<jow>
the intent of the const char ** in the function is to signify that it does not alter the vactor passed to it
<jow>
*vector
<jow>
passing a char * to function taking const char * also works fine
<jow>
but passing a char ** to a const char ** taking one does not since a pointer to const char pointer is not the same as a pointer to a char pointer
<stintel>
alright, thanks, I'll submit the PR
* stintel
misses rust :P
<stintel>
then the next error I can fix by adding -ltinfo after -lncurses but I suspect that might cause breakage when ncurses is not split in ncurses and tinfo
<stintel>
and as there's no configure script ... how do I detect that
<jow>
not easily
<jow>
if all you have is a makefile, you need to perform a link test there and decide whether to add -ltinfo or not
<jow>
but maybe it is simpler to just add -ltinfo to OpenWrt's package LDFLAGS
<jow>
given that they already use pkg-config elsewhere, the fix looks like a sane upstreamable proposal
<stintel>
this way of using pkg-config is already used in the Makefile
<stintel>
alright, thanks again!
damo22 has quit [Quit: Leaving.]
<stintel>
now I hope I spammed the guy enough to take the PRs and tag a new version so I can package it for OpenWrt without carrying patches ;)
<jow>
sneaky
<stintel>
:P
<stintel>
and also create an ebuild for my gentoo overlay
<stintel>
I'm actually running this program on a gentoo riscv musl host
<stintel>
I should order a few more VisionFive 2 to run OpenWrt
<stintel>
ahh but the 4GB version is sold out, the 8GB version is maybe a bit pricy
* stintel
compares to rpi3
<stintel>
I just like that it runs vanilla OpenSBI, U-Boot and Linux kernel
<stintel>
wigyori: are you working on 6.6 support for starfive target?
<wigyori>
stintel: started to - the vf guys promised that they'll bump up their sdk kernel to 6.6
<stintel>
ah
<wigyori>
that was promised for may - technically they still have 2 days
<stintel>
well I had it running on vanilla 6.6 or 6.7 with only backports for the PCIe controller (which I suspect will land in 6.11)
<stintel>
so probably bumping to 6.6 will greatly reduce the amount of patches for the target
<stintel>
which is always nice
<wigyori>
absolutely
<wigyori>
same happened to d1 as well
<wigyori>
gone down from 100+ patches to 15
<stintel>
nice
<stintel>
and while this thing is not quite fast, it's perfectly usable for a load of tasks
<stintel>
it's currently handling my Zigbee network in my house
<stintel>
do you happen to know if there is a compatible PoE module available for it? rvspace forum post seems to claim it's pin incompatible with the RPi PoE modules
xback has joined #openwrt-devel
<wigyori>
haven't checked - but given the chinese community around it, i wouldn't be surprised if something pops up on aliex
<wigyori>
talking about speed - i've got that new spacemit k1 board, the one with the 8-core, rva22-compatible soc
<stintel>
me too
<wigyori>
nice
<stintel>
but the sdks are horrible (monster commits)
<stintel>
but not sure I wanna run that sdk kernel on my main router in my house ;)
<stintel>
I might just get another VF2 for that, with 2x gigE (I have only 1 with 1x gigE and 1x FE
<stintel>
currently don't have a fast enough uplink here so would be a good option for now
<enyc>
Hrrm, what Devel works/ideas are on the way for 'deplayment' config tools and so-on, ooi ?
<enyc>
There may WELL be current good workable FOSS for this; I was wondering anyhow!
<enyc>
e.g. Deploy 5* APs with particular set of VLANs/SSIDs/config, and centrally set the Channel frequencies, on a whoe load of AP55/AP100 with new OpenWRT ...
<enyc>
I see OpeNWISP and other such things I"ll now look into, but was wondering on the Devel side hat 'abstractions' and so-on might be being put into place to assisnt
<stintel>
so there's a datacenter less than 2km from my address but no fiber between there and here, and we need to cross a river so it will be not cheap
xback has quit [Remote host closed the connection]
<stintel>
but I just requested a cost estimate
xback has joined #openwrt-devel
<stintel>
if it's not too crazy I'm going to have to be looking at 10G capable hardware again :P
bwitte has joined #openwrt-devel
<wigyori>
stintel: that's not bad, yep
<tmn505>
damo22: https://github.com/xdarklight/mktplinkfw3, if I'm reading it right, using v2 header should suffice for U-boot to boot it (beacause it doesn't check signature)? I think checking TD-W8980 image recipe should give some hints how to approach this.
goetz has quit [Quit: goetz]
goetz has joined #openwrt-devel
goetz is now known as Guest7950
goetz has joined #openwrt-devel
<stintel>
wigyori: I'm surprised by the onboard Wi-Fi on the BPI-F3
<Habbie>
> reported that Arm was lobbying politicians for restrictions on RISC-V.
<Habbie>
i was actually reading that exact article until i opened my irc client :D
<dwfreed>
reminds me of my ISP
<dwfreed>
instead of actually competing with FTTH, they just "bought" the property, so they're the only internet provider (except DSL, which, well...)
<Habbie>
what property?
<dwfreed>
apartment complex
<Habbie>
-what-
<Habbie>
that's amazing and terrible
<dwfreed>
by bought, I mean paid off the landlord so they'd be the only ones allowed to provide service
<Habbie>
oh got it
<Habbie>
just terrible then
<dwfreed>
yeah
<Habbie>
reminds me of a story i read today, where a coffee shop opened near an office building, and the office building removed all free coffee machines
<Habbie>
"you can go over there now"
<dwfreed>
I don't drink coffee, but I would not go to that coffee shop at all just out of spite
<Habbie>
same and also same
<dwfreed>
(doubt it would help much, though)
<Habbie>
in our office, there's a coffee machine, where i can pay by NFC (and it's not my money), including hot water
<Habbie>
but our new neighbours just put a kettle next to it :D
<dwfreed>
seems odd to charge for hot water
<Habbie>
it's hot water, clean cups, a tea selection
<dwfreed>
ah
<Habbie>
on the coffee side, my manager is -super happy- we can just pay, like, 85 cents per cup and have no work
<dwfreed>
definitely
<Habbie>
and on the tea side, works out for me at least :)
tidalf has joined #openwrt-devel
bluew has quit [Quit: Leaving]
bluew has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]