#
…

2021-01-19

00:02jamadazi has quit [Ping timeout: 264 seconds]
00:15amw2 has joined #asahi-dev
00:20amw2 has quit [Ping timeout: 256 seconds]
00:27linkmauve has joined #asahi-dev
00:31amw2 has joined #asahi-dev
00:36amw2 has quit [Ping timeout: 256 seconds]
01:18jamadazi has joined #asahi-dev
04:37jamadazi has quit [Ping timeout: 260 seconds]
05:31modwizcode has quit [Quit: Later]
05:42massoud has quit [Ping timeout: 272 seconds]
05:42massoud has joined #asahi-dev
06:26DarthCloud has quit [Ping timeout: 268 seconds]
06:27DarthCloud has joined #asahi-dev
08:33bostjan has joined #asahi-dev
08:54liur[m] has joined #asahi-dev
09:33mogery has joined #asahi-dev
09:51marcanstarting soon
09:54j`eystarting now ^
09:57jn__hmm, make.sh, i do that too :)
09:58j`eyjn__: hm?
09:59jn__on my linux projects, i use a similar make.sh wrapper script
09:59jn__i.e. the same approach for always setting ARCH and CROSS_COMPILE when i run make
09:59j`eyoh i must have missed that
10:00j`eyI just have a makefile currently, but maybe make.sh is better..
10:00jn__(or maybe i misinterpreted the script?)
10:00Shizmarcan: this is x86 menuconfig
10:00j`eyso I run: make -C .. linux_arm64_menuconfig, but its a bit clumsy
10:00Shiz(and nconfig is better :p)
10:02j`eyjn__: can you paste your make.sh?
10:04jn__j`ey: here's the one for my ebook reader stuff. it's for arm32 though, and it has a bug in a corner case: https://susepaste.org/view/raw/88798578
10:04jn__marcans was simpler
10:04j`eyI'll go back and view his later
10:05j`eyI basically just made a few makefile rules, but I need one that can run abritrary make commands
10:10maor26 has joined #asahi-dev
10:13jn__i wonder if interrupts can be configured in the AIC to be routed either to FIQ or to IRQ. i've seen that in a different interrupt controller
10:13frode_0xa has joined #asahi-dev
10:13frode_0xa has quit [Client Quit]
10:14frode_0xa has joined #asahi-dev
10:14frode_0xa has joined #asahi-dev
10:15j`eyjn__: yeah, I was wondering the same thing
10:17konradybcio has quit [Quit: authenticating]
10:17konradybcio has joined #asahi-dev
10:18mogery has quit [Quit: Leaving]
10:18mogery has joined #asahi-dev
10:18frode_0xa has quit [Client Quit]
10:19klaus has joined #asahi-dev
10:20frode_0xa has joined #asahi-dev
10:23mogery has quit [Client Quit]
10:23klaus has quit [Client Quit]
10:24mogery has joined #asahi-dev
10:24mogery has quit [Remote host closed the connection]
10:24mogery has joined #asahi-dev
10:28_whitelogger has joined #asahi-dev
10:35zkrx has joined #asahi-dev
10:40Axenntio has joined #asahi-dev
11:02Gaelanmarcan: need close curly on line 24
11:09yrlfmarcan: you sometimes need to do .buffer.flush() on python3 IIRC
11:10yrlfdon't know if that actually is needed, but let me check that
11:11amboar has joined #asahi-dev
11:28dottedmagmarcan: If CPU is running so slow at boot, wouldn't it be faster to upload uncompressed file than to decompress?
11:38mogery has quit [Quit: Leaving]
11:39mogery has joined #asahi-dev
11:50Shizmarcan: just gonna casually link https://github.com/Shizmob/unimgc/blob/master/lzo.c here :)
11:51ant__ has joined #asahi-dev
11:55TheLemonMan has joined #asahi-dev
11:57ant__ has quit [*.net *.split]
11:57justMaku has quit [*.net *.split]
11:57superk has quit [*.net *.split]
11:57browzing_ has quit [*.net *.split]
11:57djhuk has quit [*.net *.split]
11:57spikebike has quit [*.net *.split]
11:58superk has joined #asahi-dev
11:58ant__ has joined #asahi-dev
11:58mogeryy has joined #asahi-dev
11:58spikebike has joined #asahi-dev
11:58browzing_ has joined #asahi-dev
11:58bostjan has quit [Read error: Connection reset by peer]
11:58crucifix has joined #asahi-dev
11:59justMaku has joined #asahi-dev
11:59djhuk has joined #asahi-dev
12:01mogery has quit [Ping timeout: 256 seconds]
12:01mogeryy is now known as mogery
12:01jixthis is an inflate impl I wrote 12 years ago for an avr which kept the output in externally connected ram: https://github.com/optixx/quickdev16/tree/deflate/avr/usbload/neginf it's probably quite slow but it is small and simple
12:02plainbits has joined #asahi-dev
12:02q3k|m has quit [Ping timeout: 246 seconds]
12:03jixthe code is probably horrible though, I blame me from 12 years ago
12:04Shizcan't be worse than gzip code
12:04jn__since both transfer (via uart) and decompression are slow, i wonder if interleaving them could speed up the end result. this would probably require a FIFO in the UART or DMA, though, so the CPU doesn't have to poll for input bytes all the time. and also, no flow control on the uart makes this a bit risky
12:05dottedmagmarcan: incomplete type z_stream, prolly
12:06dottedmagtypo? missing m
12:06dottedmagat line 101
12:08suskun has joined #asahi-dev
12:09suskun is now known as lucid_0x80
12:09lucid_0x80 has quit [Remote host closed the connection]
12:10suskun has joined #asahi-dev
12:10suskun is now known as lucid_0x80
12:11lucid_0x80 has quit [Remote host closed the connection]
12:12TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
12:13suskun has joined #asahi-dev
12:13suskun is now known as lucid_0x80
12:15q3k|m has joined #asahi-dev
12:19jixraw deflate vs gz? (or did he handle that at some point I was distracted?)
12:22jixI think it's not using a header at all because the stored/fixed/dynamic thing is a single deflate block already
12:24lucid_0x80 has quit [Ping timeout: 264 seconds]
12:28ant__ is now known as ayehavgunne
12:30Shizmarcan: oy, just realised that lzo.c is noncompliant
12:39Shizmarcan: you want to do tinf_gzip_uncompress
12:39Shiznot tinf_uncompress
12:53suskun has joined #asahi-dev
12:53Necrosporus has joined #asahi-dev
12:53Necrosporus is now known as Guest35351
12:54suskun has quit [Read error: Connection reset by peer]
12:54suskun has joined #asahi-dev
12:54suskun is now known as lucid_0x80
12:55lucid_0x80 has quit [Remote host closed the connection]
12:56Guest35351 has quit [Read error: Connection reset by peer]
12:57suskun has joined #asahi-dev
12:57suskun has quit [Remote host closed the connection]
13:14opticron has quit [Ping timeout: 264 seconds]
13:22Axenntio has quit [Quit: Leaving]
13:27opticron has joined #asahi-dev
13:43ayehavgunne has quit [Quit: Lost terminal]
14:06modwizcode has joined #asahi-dev
14:08mogerymarcan: wrong putc?
14:08mogeryit was graham and michiel i just relayed to irc :D
14:10jamadazi has joined #asahi-dev
14:12Axenntio has joined #asahi-dev
14:13j`eymarcan: in menuconfig, after you search the results are numbered. pressing 1 (for example), takes you directly to result 1
14:21jamadazi has quit [Ping timeout: 264 seconds]
14:24frode_0xa has quit [Quit: leaving]
14:28Emantor has joined #asahi-dev
14:30mogerymarcan: you copied base not fb
14:33j`eyhttps://github.com/torvalds/linux/blob/master/drivers/of/fdt.c#L902 you need CONFIG_SERIAL_EARLYCON (might have it already?) and a chosen/stdout-path.
14:34suskun has joined #asahi-dev
14:35jn__somehting on the screen turned blue
14:35jn__now white
14:38suskun has quit [Remote host closed the connection]
14:45j`eymarcan: can you check that ^
14:46davidrysk[m]jn__: is your stream behind?
14:46modwizcodeThat was in reference to the earlier bit I think
14:46j`eymarcan: yes, check the link
14:47jn__davidrysk[m]: no, 6s delay
14:56Necrosporusmarcan, maybe you have some UART to be set to software flow control? Then it might be dropping Xon/Xoff bytes?
15:05snalty has joined #asahi-dev
15:07jixdid anyone see whether glasgow reports any framing errors when this stuff happens? I missed it
15:08jixah ok nope
15:30jamadazi has joined #asahi-dev
15:47qyousef has quit [Ping timeout: 256 seconds]
15:49qyousef has joined #asahi-dev
15:57Shizmarcan: did you actually recompile the DTS
16:13ransom has joined #asahi-dev
16:16ransom_ has joined #asahi-dev
16:18ransom has quit [Ping timeout: 256 seconds]
16:18j`eysetup_arch calls cpu_uninstall_idmap
16:22jn__hmm, i was about to suggest looking into CONFIG_DEBUG_LL, but it doesn't exist on arm64
16:24EmantorYeah, ARM64 only supports earlycon.
16:48linkmauve has quit [Ping timeout: 256 seconds]
16:49djhuk has quit [Ping timeout: 256 seconds]
16:49crucifix has quit [Ping timeout: 256 seconds]
16:49djhuk1 has joined #asahi-dev
16:49bostjan has joined #asahi-dev
17:06linkmauve has joined #asahi-dev
17:10Hakon has joined #asahi-dev
17:11manawyrm has joined #asahi-dev
17:11yrlfmarcan: Graham Sutherland in the YT chat says according to some docs "Options are not yet supported." on the Samsung uart drivers
17:11marcanI saw that
17:11marcanbut it's *getting to the options parser*
17:11marcanand *mapping the memory*
17:11yrlfoh, then that's really wierd
17:13volpe has joined #asahi-dev
17:13yrlfwait, so if I understand that code correctly you added some putc code into the regster_earlycon, and it doesn't show up, right?
17:13jn__yrlf: that's from Documentation/admin-guide/kernel-parameters.txt, as far as i can see
17:13diddledan has joined #asahi-dev
17:16Ristovski has joined #asahi-dev
17:17volpe has quit [Quit: Leaving]
17:18hatf0 has joined #asahi-dev
17:21volpe has joined #asahi-dev
17:23jn__boots to panic \o/
17:23jn__congrats :)
17:26yrlfat least you had framebuffer debug
17:26yrlfwithout that that would have been even wore
17:26yrlf*worse
17:26jn__debug colors saved the day
17:26jn__(somewhat)
17:28yrlfkind of reminds me of HBC boot on 3DS
17:28j`eyits going to be interesting to see the xnu code for m1 now
17:31fewfewwe has joined #asahi-dev
17:33yrlfso "early acknowledge" is pretty much "dev null all register writes" on the M1?
17:34Hakonthat's crazy
17:34jamadazi has quit [Read error: Connection reset by peer]
17:35jamadazi has joined #asahi-dev
17:37arthanks for the stream
17:41volpe has quit [Remote host closed the connection]
17:42volpe has joined #asahi-dev
17:43j`ey"ob1cannoli
17:43j`ey​there's fabric config to make it work"
17:44Axenntio has quit [Ping timeout: 272 seconds]
17:45yrlfj`ey: of course there's vendor specific config. oh boy, this is gonna be """fun"""
17:46Shizaw shit, i missed the boot
17:47j`eyShiz: it panics!
17:47VinDuv has joined #asahi-dev
17:49fewfewwe has quit [Quit: Connection closed]
17:55mogery"Apple M1: A Special Level Of Fail"
17:56Shiznot particularly special, silicon errata exist everywhere
18:00ransom has joined #asahi-dev
18:03segherin some places more than in others
18:03ransom_ has quit [Ping timeout: 260 seconds]
18:03jn__the overall implementation quality probably evens out, but this issue is kind of spectacular
18:03segherapple is not the worst. take that either way :-)
18:04mogerysoo it paniced to "i have no clock" right?
18:06marcanit crashed with a SError
18:07marcandon't know why, but that's for tomorrow to figure out
18:07jixit said "SError Interrupt on CPU0, code 0xbe000000 -- SError"
18:07marcan[ 0.000000] pc : memmap_init_zone+0x11c/0x190
18:07marcancould just be because I didn't remove the idmap
18:07davidrysk[m]marcan, go to bed
18:07marcanI made a lot of garbage changes, those all have to be reverted now
18:08Shizpetition to make a hammer irc trigger that bonks marcan :3
18:08Shizfor bed
18:08davidrysk[m]marcan: push those garbage changes to a wip branch or something just for backup :)
18:08marcanI have HA, I could literally give you an API endpoint that locks my computer, turns off the screen, sleeps the laptop, and turns off the lights
18:09Shizhahaha
18:09Shiz!votesleep
18:11modwizcodeIt should monitor how long he's been using his computer past bed and start like playing louder and louder white noise until he stops :p
18:11yrlf"YouTube plays sleep schedule"
18:11yrlfor IRC
18:11ransom_ has joined #asahi-dev
18:13ransom has quit [Ping timeout: 256 seconds]
18:21browzing_ is now known as browzing
18:22plainbits has quit [Ping timeout: 244 seconds]
18:22browzing has quit [Quit: WeeChat 3.0]
18:26ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:28browzing has joined #asahi-dev
18:49bostjan has quit [Quit: Leaving]
18:54ransom has joined #asahi-dev
18:56ransom has quit [Read error: Connection reset by peer]
18:56ransom has joined #asahi-dev
18:56volpe_ has joined #asahi-dev
18:57volpe_ has quit [Client Quit]
19:02plainbits has joined #asahi-dev
19:04ransom has quit [Read error: Connection reset by peer]
19:04plainbits has quit [Client Quit]
19:05ransom has joined #asahi-dev
19:26ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:29ransom has joined #asahi-dev
19:52snalty has quit [Read error: Connection reset by peer]
20:16djhuk1 has quit [Quit: The Lounge - https://thelounge.chat]
20:20prabinspkt has quit [Quit: Connection closed for inactivity]
20:46ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:56acelogic has joined #asahi-dev
20:57ransom has joined #asahi-dev
21:04mogery has quit [Read error: Connection reset by peer]
21:18ransom_ has joined #asahi-dev
21:19ransom has quit [Ping timeout: 246 seconds]
21:20browzing has quit [Ping timeout: 256 seconds]
21:20VinDuv has quit [Quit: Leaving.]
21:30acelogic has quit [Ping timeout: 256 seconds]
21:33thresh has quit [Quit: I'm a quit message virus. Please replace your old line with this line and help me take over the world]
21:49volpe has quit [Ping timeout: 260 seconds]
21:50sirn has quit [Ping timeout: 260 seconds]
21:51sirn has joined #asahi-dev
21:51jamadazi has quit [Read error: Connection reset by peer]
22:02ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:04browzing has joined #asahi-dev
22:21ransom has joined #asahi-dev
22:24snalty has joined #asahi-dev
22:50DarthCloud has quit [Remote host closed the connection]
22:51DarthCloud has joined #asahi-dev
23:17robinp has joined #asahi-dev
23:21robinp_ has quit [Ping timeout: 258 seconds]
23:46ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:47maor26 has quit [Ping timeout: 272 seconds]
23:53snalty has quit [Quit: Leaving]
23:56robinpso is the nGnRnE thing related to "Write XOR execute, Kernel Integrity Protection, Pointer authentication or Device Isolation" features somehow?
23:56r3n has joined #asahi-dev
23:57winocmnGnRnE refers to a type of ARM memory mapping
…