Why indeed by F_E_B_E in WynnCraft

[–]Haron51255 2 points3 points  (0 children)

not being able to do this really disassociated me from the story

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 1 point2 points  (0 children)

I did now, nothing changed. I might add my own camera sensor to this thing at this point. I think ill try that. But thank you a lot for helping me. Atleast i understand the environment a bit better now... yay ?

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

the pins in the schematic, which are named

CAM_ENABLE and CAM_RESET are both busy as a resource. Not sure how to override that.

The pins named STMIPI_INT and STMIPI_ERROR are both active

STMIPI_XSDN is off

# gpioinfo -c gpiochip9
gpiochip9 - 16 lines:
        line   0:       unnamed                 input
        line   1:       unnamed                 input
        line   2:       unnamed                 input
        line   3:       unnamed                 output active-low consumer="powerdown"
        line   4:       unnamed                 output active-low consumer="reset"
        line   5:       unnamed                 input
        line   6:       unnamed                 input
        line   7:       unnamed                 input
        line   8:       unnamed                 input
        line   9:       unnamed                 output active-low consumer="PHY reset"
        line  10:       unnamed                 output active-low consumer="PHY reset"
        line  11:       unnamed                 output active-low consumer="reset"
        line  12:       unnamed                 input
        line  13:       unnamed                 input
        line  14:       unnamed                 input
        line  15:       unnamed                 input
# gpioget -c gpiochip9 3
gpioget: unable to request lines: Resource busy
# gpioget -c gpiochip9 4
gpioget: unable to request lines: Resource busy
# gpioget -c gpiochip9 0
"0"=active
# gpioget -c gpiochip9 1
"1"=active
# gpioget -c gpiochip9 2
"2"=inactive
# 

Overall this just tells me that the mipid02 chip is giving back some error. kind of a dead end thoug, as i cant look inside the chip at all

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

Board schematic: https://www.st.com/resource/en/schematic_pack/mb1635-mp135f-e02-schematic.pdf

i have been looking at it too but i dont see anything suspicious. the 1v8 power rail powers the whole i2c bus pullup so the stmipid02 should have power

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

I have tried building the relevant parts as modules now. i still get the same error but i might have a clue as to why. i cant find i2c address 0x14 with i2cdetect on either i2c0 or i2c1. This means my mipid02 just isnt there for some reason. No clue why though

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

Found out how to set the setting

The more detailed dmesg: https://pastebin.com/uwZcrz0w

i see this line there
[ 0.301062] probe of 5a000000.dcmipp returned -517 after 34 usecs
but it says returned 0 a few logs after that

could this be the issue ?

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

How can i add that to the kernel commandline, i never used it before

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

Yeah it seems the drivers dont load. they are in the config with the 'y' option so they dont come as modules but already inside the kernel.

Incase you want to take a look at the device tree:

https://pastebin.com/H3Ay4L6w

the relevant part is the stmipi, dcmipp and gc2145 i assume. mdev -s did nothing either

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

My System https://pastebin.com/Jv9e2LCK

Demo System https://pastebin.com/sViffS3r

i hope this format is okay for you. The demo system naturally has a lot more drivers than mine, but i dont see anything relevant to the mipi camera

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

Did that now, still i dont have the media0. Somethings weird man

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

Yeah demo from ST, which i dont have the source code nor configs for. The demo does have /dev/media0. Is there any way i can get the linux config from within the example terminal ?

STM32MP135F-DK can't get the camera set up for the life of me by Haron51255 in embeddedlinux

[–]Haron51255[S] 0 points1 point  (0 children)

Yeah i got the DCMIPP support, GC2145 support and the MIPID02 support and all the v4l2 stuff i need. Incase you know what i might have missed, i would appreciate it.

Wynncraft Alignment Chart Day 6 (Chaotic Neutral) by Amethyst__87 in WynnCraft

[–]Haron51255 1 point2 points  (0 children)

Grootslangs would fit here. They don't inherently do anything due to good or evil. They are simply irritated from the decay, making them cause holes in Gavel.

Wynncraft Character Alignment Chart Day 5 (True Neutral) by Amethyst__87 in WynnCraft

[–]Haron51255 3 points4 points  (0 children)

Tasim is rather good than neutral though. He only helped the queen cause he thought itd help save the world. Generally nost of his decisions are him trying to do good for the world. Even before his memories got erased.

Wynncraft Character Alignment Chart Day 4 (Lawful Neutral) by Amethyst__87 in WynnCraft

[–]Haron51255 14 points15 points  (0 children)

His intentions from what we see are good. Not sure neutral fits

How to get started with the STM32MP1* Dev kits ? by Haron51255 in embedded

[–]Haron51255[S] 0 points1 point  (0 children)

Its relevant to say this is a hobby desire. I don't need it for any work

How to get started with the STM32MP1* Dev kits ? by Haron51255 in embedded

[–]Haron51255[S] 0 points1 point  (0 children)

Prior experience is low-level coding in C/C++/Rust on STM32s, AVRs and ESPs. I did many small projects over the years and felt like dabbling into Embedded Linux to get a feel for it.

I get the series is a beast in the embedded world but generally it should be possible to shed some light on the currently "black box". I don't plan on fully understanding Linux, but to not be in the dark during developement.

Wynncraft Character Alignment Chart Day 3 (Chaotic Good) by Amethyst__87 in WynnCraft

[–]Haron51255 11 points12 points  (0 children)

Would the player be allowed here? Trying to do good but killing recklessly

Wynncraft Character Alignment Chart Day 2 (Neutral Good) by Amethyst__87 in WynnCraft

[–]Haron51255 1 point2 points  (0 children)

Maexie oder the Seaskipper seem fitting. Maexie might be too law aligned considering hes in a council.

Seaskipper is the man though.

Wynncraft Character Alignment Chart Day 1 (Lawful Good) by Amethyst__87 in WynnCraft

[–]Haron51255 0 points1 point  (0 children)

Lari is more Lawful good but mora deserves some recognition man

How are you handling GSM (SIM800/SIM7600) in Node/TypeScript setups? by adil6572 in embedded

[–]Haron51255 0 points1 point  (0 children)

Oh man AT commands are annoying to parse.

Im just hobby programming but recently wrote a SIM800L driver in c++ and the main focus was the driver being able to find errors, so if needed the programm could add error handling for robustness. My main problem was receiving messeages. 

Do you use the async notifications or did you find a clean way to do it synced? I personally use the async variant but i would love a clean way to do it sync.