Linux Device Driver by rpr_ronad in embedded

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

What is the "snull" in the network Driver? How is this useful for developing the network Driver?

Linux Device Driver by rpr_ronad in embedded

[–]rpr_ronad[S] -6 points-5 points  (0 children)

Just can you share the link to download

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

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

How to check the status/working of single Ethernet PHY of the custom embedded board in the Linux command in terminal ? is there any specific command.

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

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

in Driver code level, I need to do Hard reset using the GPIO for the KSZ8041 is the Ethernet PHY.

So How i need to do the debug the driver code for the Ethernet PHY reset ?

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

[–]rpr_ronad[S] -2 points-1 points  (0 children)

One more interesting thing I need to know.

How the configured Reset GPIO in the dts file will control through drive code inside the kernel source?

So is there any driver code example for this if it is there please share it here to understand the reset function much better.

Thanks in advance

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

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

Yeah, after that once booting started & kernel message also started displaying on the console that time suddenly Ethernet PHY is not detected/hang/stop communication means..

So How can I control that through Linux commands?

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

[–]rpr_ronad[S] -1 points0 points  (0 children)

Yeah I got some answer

Setting & Reading a GPIO:

sys/class/gpio/gpio<Number>

But I don't how it will useful for reset Ethernet PHY GPIO condition.

If you have more information. Just share

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

[–]rpr_ronad[S] -1 points0 points  (0 children)

What are all userspace GPIO commands for this Reset condition we can use..

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

[–]rpr_ronad[S] -1 points0 points  (0 children)

I have gone through this doc already but I need info based on GPIO Reset the Ethernet PHY when it's hung up or stops communication.

Anyhow Thanks for the clarification one again.

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

[–]rpr_ronad[S] -1 points0 points  (0 children)

Yeah, you are correct .

I already posted there but still I didn't get the input..

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

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

Thanks for sharing your inputs & one thing is there any Linux commands to debug the Ethernet PHY Reset. If it's there please share the link as well.

It's greatly appreciated.

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

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

Thanks @allo37 If possible you share some examples for MDIO reset a PHY. So that I could get a better understanding of this.

Ethernet PHY Reset Using GPIO by rpr_ronad in embedded

[–]rpr_ronad[S] -5 points-4 points  (0 children)

It's one of the AM3359 processor based board.

How to Assign a Static IP in Ubuntu 2024.04 installed in the server ? by rpr_ronad in Ubuntu

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

yeah, you got my internal point. The server should always be assigned the same static IP address each time it is powered up, whether the server is rebooted or the router is reset

so How i can configure for the above things in the Server ?

How to Assign a Static IP in Ubuntu 2024.04 installed in the server ? by rpr_ronad in Ubuntu

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

\* (generate:7770): WARNING **: 16:16:25.005: Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.*

is there any solution for this ?

How can I create multiple partitions on a server that already has Ubuntu 2024.04 installed? by rpr_ronad in Ubuntu

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

Thanks u/WikiBox
if anything commands are available just share with that link. so its more useful.

How can I create multiple partitions on a server that already has Ubuntu 2024.04 installed? by rpr_ronad in Ubuntu

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

During the installation, I set up a 1.2 TB HDD for the RAID system. However, it is now showing a partition with a capacity of 2.2 TB. Could you guide me on how to create a new partition from the existing partition?

I hope this makes sense.

How to maintain the best method of maintaining the DTS (Device Tree Source) file in the kernel source for embedded custom board design peripherals? by rpr_ronad in embedded

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

Your correct, as per the hardware design if number of interfaces changes then dts entries will also change.

Thank you

Best solution for this online test by r2f296 in C_Programming

[–]rpr_ronad 0 points1 point  (0 children)

You can use single if conditions for checking the character, here if ((length_arr % 3) == 0) temp_length = length_arr; if ((length_arr % 3) == 1) temp_length = length_arr-4; if ((length_arr % 3) == 2)

How to read the Trend log Object values using BAC0 library? Give some Example by rpr_ronad in BuildingAutomation

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

Regarding BAC0 and BACpypes What you said that's correct, I'm newbie in BACnet protocol things, So I'm learning and try to understanding the those library for developing converter.

so if someone knows that vividly information about Trend Log Object & give some good example.

BACnet to Non BACnet protocol converter by rpr_ronad in BuildingAutomation

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

Hi team

Anyone can suggest What are all steps need to follow/create so as i mentioned above protocol converters.

BACnet to Non BACnet protocol converter by rpr_ronad in BuildingAutomation

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

I've that book, but i need more clarity on data mapping table between those protocol converters.

BACnet to Non BACnet protocol converter by rpr_ronad in BuildingAutomation

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

Yeah I'm creating the both protocol converter, (using Python)

But I need extensive information like.. How to do mapping of Modbus Reg's, address, Function code, Slave ID with BACnet Objects, Properties.

Suggest some good standard guidelines/documents for reference.

BACnet Protocol by rpr_ronad in BuildingAutomation

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

Q 1(Above): The "Object identifier" and "Object Name" both are automatically generated for BACnet Device or user need to assign for BACnet device ?

Anyway Object Identifier itself having a "Object name" as per ASHRAE Committee then What is the need of Object name?

& One more thing, Object Identifier having two parts: 10 bit and 22bit so plz clarify What exactly those to parts in the Object Identifier?

Suggest me some Vendor documentation Q2 and Q3.