Current Server Time: 04:08 (Central Europe)

#apertus IRC Channel Logs

2020/10/18

Timezone: UTC


04:30
Bertl_oO
off to bed now ... have a good one everyone!
04:30
Bertl_oO
changed nick to: Bertl_zZ
05:44
apoorva_arora
left the channel
05:48
apoorva_arora
joined the channel
08:28
BAndiT1983|away
changed nick to: BAndiT1983
09:21
mumptai
joined the channel
10:49
EmilJ
https://cdn.discordapp.com/attachments/546466238608703488/767338331204878346/IMG_20201018_124739478_HDR.jpg
10:49
EmilJ
is this just unitialized RAM that I'm seeing?
10:50
EmilJ
Currently running a camera.py without the camera
10:52
EmilJ
(from nmigen-gateware)
10:56
RexOrCine1
joined the channel
10:56
RexOrCine
left the channel
10:57
EmilJ
Writing 0xFFFFFFFF to the RAM frame buffer totally did make the screen white! But also crashed the pynq linux
11:01
vup
Well thats seems like a good start :)
11:02
vup
How did you prevent the linux kernel from using the memory region you are using for the framebuffer?
11:03
EmilJ
I kinda forgot
11:03
EmilJ
to do that
11:03
vup
Doing that should help :)
12:37
anuejn
that sounds quite nice :)
12:37
anuejn
maybe that code even works ;)
12:51
se6ast1an
fingers crossed :)
12:55
EmilJ
so when I get into u-boot, the fdt isn't set up at all so I can't just "modify" its allocation by excluding a memory region
13:29
BAndiT1983
changed nick to: BAndiT1983|away
14:38
Bertl_zZ
changed nick to: Bertl
14:38
Bertl
morning folks!
15:23
Umori
left the channel
15:24
vup
EmilJ: where is the fdt coming from on Pynq?
15:28
Umori
joined the channel
15:29
Bertl
maybe the u-boot just doesn't have the fdt specific commands?
15:29
vup
otherwise, if you can set the kernel cmdline you could use `memmap=SIZE$OFFSET`
15:35
EmilJ
It does have fdt *commands*, I just have no clue what commands automatically run in u-boot after it's not interrupted by my keypress
15:36
EmilJ
It's some cursed Petalinux flavor
15:37
Bertl
did you check the environment?
15:38
Bertl
most likely there are 'some' commands there which get executed based on the zynq boot config
15:38
EmilJ
Where would I find this config though
15:41
Bertl
the zynq boot config is determined by harware pins, i.e. most likely boot jumpers on your board
15:41
EmilJ
oh yeah, that's in the SD position. I am booting from microSD
15:42
Bertl
so check the environment when you interrupted u-boot
15:42
Bertl
see if there is an sdboot or sdcmd or similar
15:42
Bertl
most likely this one will be the one executed
15:45
vup
(printenv to print the environment)
15:45
EmilJ
so I typed boot and it just, booted, huh
15:45
EmilJ
no sdboot or sdcmd though
15:46
EmilJ
oh thanks vup
15:46
EmilJ
so there *is* supposed to be an uEnv.txt but I don't see it in either partition
15:46
EmilJ
does that live in the u-boot image?
15:46
EmilJ
(image.ub)
15:47
vup
not sure what pentalinux is up to now, but the xilinx stuff used to read a uEnv.txt when it is present (try creating it?)
15:47
vup
it should not live in the image.ub file
15:48
Bertl
the environment can come from many places, e.g. flash, eeprom, sd card, etc
15:48
EmilJ
I have two partitions, should I use the one with the actual linux root?
15:48
vup
usually its on the partition that contains the image.ub / the kernel
15:48
Bertl
usually there is also a default environment compiled in
15:49
vup
now they recently changed things up and it no longer uses uEnv.txt, but instead the more standard boot.scr
15:49
EmilJ
https://gitlab.com/-/snippets/2030928
15:50
Bertl
uenvboot is a good hint
15:50
vup
well thats looks like it should read a uEnv.txt if it is present
15:51
EmilJ
yeah I'll try the uenvboot, my pynq just oddly froze...
15:52
Bertl
note that uEnv.txt needs to define uenvcmd
15:52
Bertl
(which will then get executed)
16:08
vup
(also you should be able to set bootargs in the uEnv.txt to something containing memmap to reserve the memory that way)
16:10
EmilJ
Looks like I'm also dealing with a dead microSD card, yay...
16:11
EmilJ
dd from the device (not a partition, entire device) stops after 2.5MB, always after the exact same count of bytes
16:11
vup
ouch
16:12
vup
working with zynq I also have killed atleast two sdcards now :)
16:35
Umori
left the channel
16:39
Umori
joined the channel
16:53
Bertl
off for now ... bbl
16:53
Bertl
changed nick to: Bertl_oO
17:20
BAndiT1983|away
changed nick to: BAndiT1983
18:20
lexano
left the channel
19:42
lexano
joined the channel
21:34
aombk
left the channel
21:35
aombk
joined the channel
22:19
BAndiT1983
changed nick to: BAndiT1983|away
23:01
Bertl_oO
off to bed now ... have a good one everyone!
23:01
Bertl_oO
changed nick to: Bertl_zZ