00:04
Slimey has quit [Remote host closed the connection]
00:37
Slimey has joined #openwrt-devel
00:38
minimal has quit [Quit: Leaving]
00:43
fakuivan has quit [Remote host closed the connection]
00:44
fakuivan has joined #openwrt-devel
00:47
fakuivan has quit [Remote host closed the connection]
00:51
fakuivan has joined #openwrt-devel
01:00
skynet2 has quit [Quit: Leaving]
01:20
bodski has quit [Remote host closed the connection]
02:01
tSYS has quit [Quit: *squeak*]
02:01
tSYS has joined #openwrt-devel
03:09
gch981213 has joined #openwrt-devel
04:05
torv has quit [Remote host closed the connection]
04:06
torv has joined #openwrt-devel
04:29
rua has quit [Remote host closed the connection]
04:30
rua has joined #openwrt-devel
05:20
ChriChri has quit [Ping timeout: 480 seconds]
05:53
ChriChri has joined #openwrt-devel
06:19
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
06:47
goliath has joined #openwrt-devel
07:48
mcbridematt has quit [Remote host closed the connection]
08:08
guidosarducci has joined #openwrt-devel
08:23
noahm has quit [Ping timeout: 480 seconds]
08:33
ynezz has joined #openwrt-devel
08:41
robimarko has joined #openwrt-devel
08:47
noahm has joined #openwrt-devel
09:05
nixuser has quit [Remote host closed the connection]
09:17
nixuser has joined #openwrt-devel
10:30
tSYS has quit [Quit: *squeak*]
10:31
tSYS has joined #openwrt-devel
11:30
<
robimarko >
Anbody having issues with UART on AR9342?
11:31
<
robimarko >
I resurected and old RB912 to test out NVMEM on Big Endian and UART is working until earlycon gets disabled and handed over to the full console
11:37
<
tmn505 >
do You have more than one console+ on kernel command line?
11:38
<
robimarko >
Thats the thing, cmdline looks fine: Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
11:42
<
tmn505 >
weird. Try to remove console from kernel cmdline and add alias in dts, maybe that'l help.
11:46
xback has joined #openwrt-devel
11:47
<
xback >
robimarko: hi, quick question regarding wallys's dr40x9
11:48
<
xback >
robimarko: in your initial work for this board, you've added gpio 423 as sim select, but it seems that gpio is not defined in dts? any idea how you came up with the gpio nr?
11:48
<
xback >
robimarko:
https://git.openwrt.org/?p=openwrt /openwrt.git;a=blobdiff;f=target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches;h=f76fe9402df322c9b1c0805a394c32ecde5ad78f;hp=4918e2ccc1b23f4d5c9b162f79d3f978d98de618;hb=eb564690c995b284204aa762c0f77f3064419a9c;hpb=7699a5b1d77bcab3d63f6fb94b6f89f093db6395
11:49
<
robimarko >
Well, its been ages since I touched that board
11:49
<
robimarko >
But, I think the datasheet lists the SIM selection GPIO
11:51
<
xback >
robimarko: see bottom of the page. looks like it's GPIO 11 these days
11:52
<
xback >
i'll try it out in a minute
11:52
<
robimarko >
Then the UCI switch is still correct
11:52
<
robimarko >
As 412 is the GPIO base AFAIK
11:52
<
robimarko >
+11 and you get 423
11:54
<
xback >
i'm wondering it kernel 6.6 changed anything in that behaviour
11:54
<
robimarko >
xback: Yeah, the base changed
11:55
<
robimarko >
That is a common issue as its dynamic and we have no way to pin a UCI GPIO on a certain controler
11:55
<
xback >
I noticed this during 6.6 testing on it: [ 24.176183] export_store: invalid GPIO 423
11:55
<
robimarko >
Yes, cause there is no controller that covers that GPIO number space
11:55
<
xback >
any idea what the new number would be?
11:56
<
xback >
i'll adapt it and test it otherwise :-)
11:56
<
robimarko >
From the print, the new base is simply 512
11:56
<
robimarko >
Simply adding +100 on the curent numbers should work
11:56
<
xback >
i'll give it a try. thanks a lot :-)
12:00
<
robimarko >
tmn505: Well, it seems that my issue is with the reference clock input as 40MHz is decleared while my board uses 25MHz XO
12:00
<
robimarko >
Thus clocks are completely wrong
12:01
<
robimarko >
CPU is running at 960MHz instead of 600MHz
12:01
<
robimarko >
But funnily it works overclocked
12:02
<
robimarko >
[ 0.914555] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
12:02
<
robimarko >
[ 0.928009] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
12:02
<
robimarko >
[ 0.922966] printk: console [ttyS0] disabled
12:02
<
robimarko >
Well, now it hangs on:
12:02
<
xback >
Mikrotik stuff?
12:02
<
robimarko >
Yeah, old Basebox2/RB912UG
12:03
<
robimarko >
I need it to get my NVMEM layout driver to work on Big Endian as well
12:03
<
xback >
I have a patch in my staging for the same issue which popped up last year
12:03
<
robimarko >
Yeah, we have the same issue then
12:05
<
tmn505 >
funny, was watching git history and looking at the exact commit changing the clocks (a716ac5564).
12:05
<
robimarko >
Ok, procd was unhappy with missing stdout-path even though cmdline is correct
12:05
<
robimarko >
Now console works
12:06
<
xback >
I recall i exchanged pictures from the xtal's with the submitter back then both proving we were both right :-p
12:06
<
robimarko >
Yes, I think MikroTik did batches with both
12:07
<
robimarko >
Also, I hate the fact that it seems RouterBoot only knows about 40MHz XO
12:07
<
robimarko >
Since UART doesnt work in it despite toggling the NO_UART bit in hard_config
12:08
<
tmn505 >
does every board have NO_UART bit at the same offset?
12:08
<
xback >
robimarko: altering the GPIO nr +100 fixes it properly (y)
12:09
<
robimarko >
tmn505: Its not at the same offset, but its all encoded in hard_config in a TLV style config
12:09
<
robimarko >
But its always bit 0 of tag 0x15
12:09
<
robimarko >
xback: Great, can you please update all of the boards then?
12:09
<
tmn505 >
ok, thanks
12:10
<
robimarko >
xback: Yes
12:10
<
xback >
robimarko: will do now. feel free to drop your SoB or Suggested-by
12:10
<
robimarko >
xback: Suggested-by: Robert Marko <robimarko@gmail.com>
12:17
<
robimarko >
xback: Well, I think that cellc device has more issues
12:17
<
robimarko >
Cause, previous base was 412
12:17
<
robimarko >
And it was using 398 for the number
12:17
<
xback >
ah .. right ..
12:17
<
robimarko >
That WPJ device is also wrong for sure
12:18
<
xback >
i'll revert those and add a comment for them
12:18
<
robimarko >
Yeah, please do
12:18
<
robimarko >
Maybe even comment them out cause they are wrong for sure
12:23
damo22 has quit [Ping timeout: 480 seconds]
12:23
<
xback >
I would propose to comment them out in a different commit
12:23
<
robimarko >
I am fine with that
12:33
<
russell-- >
can anybody point me at how to "name" gpios such that gpiod-tools's gpioinfo reports something other than "unnamed"?
12:37
<
robimarko >
I think you to use gpio-lines or similar in DT
12:39
<
russell-- >
git grep finds gpio-line-names
12:43
xback has quit [Ping timeout: 480 seconds]
12:45
owrt-images-builds has quit [Remote host closed the connection]
12:52
owrt-images-builds has joined #openwrt-devel
12:53
<
russell-- >
hmm. adding line-name = "myname"; to a gpio-export didn't do it.
12:59
guidosarducci has quit [Ping timeout: 480 seconds]
13:03
minimal has joined #openwrt-devel
13:08
xback has joined #openwrt-devel
15:24
Slimey has quit [Ping timeout: 480 seconds]
15:35
Slimey has joined #openwrt-devel
15:37
PaulFertser has quit [Ping timeout: 480 seconds]
15:38
<
robimarko >
Hm, did we run out of space?
15:39
<
Ansuel >
seems so? the error is in creating a link
16:05
hitech95 has joined #openwrt-devel
16:25
PaulFertser has joined #openwrt-devel
16:36
goliath has quit [Quit: SIGSEGV]
17:27
SlimeyX has joined #openwrt-devel
18:29
xback has quit [Remote host closed the connection]
18:31
xback has joined #openwrt-devel
18:56
<
johnf >
russell--: I can confirm that this name method works properly:
https://git.openwrt.org/?p=openwrt /openwrt.git;a=blob;f=target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts;h=5e722bbc26c0c5508793c6908c148567a77608fa;hb=252466a0ced3ec9f58b213ffd34a900fe3834cab#l48
18:57
<
johnf >
though I'm not familiar with gpioinfo, do you see something different in /sys/class/gpio than it shows you?
19:05
swalker has quit [Remote host closed the connection]
19:10
swalker has joined #openwrt-devel
19:52
<
russell-- >
johnf: yeah, not the same thing
20:44
hitech95 has quit [Ping timeout: 480 seconds]
20:54
skynet2 has joined #openwrt-devel
21:06
goliath has joined #openwrt-devel
21:20
xback has quit [Remote host closed the connection]
21:20
xback has joined #openwrt-devel
21:32
xback has quit [Remote host closed the connection]
21:33
xback has joined #openwrt-devel
22:03
nixuser has quit [Ping timeout: 480 seconds]
22:16
nixuser has joined #openwrt-devel
22:25
hitech95 has joined #openwrt-devel
22:50
vincejv has quit [Ping timeout: 480 seconds]
22:54
hitech95 has quit [Read error: Connection reset by peer]
22:57
nixuser has quit [Ping timeout: 480 seconds]
22:57
goliath has quit [Quit: SIGSEGV]
23:00
nixuser has joined #openwrt-devel
23:14
lucenera has joined #openwrt-devel