Go to advanced search

by Sharvin
Tue Jul 23, 2019 1:26 pm
Forum: Beginners
Topic: How to configure wireless client and AP on Raspberry Pi 3
Replies: 1
Views: 241

How to configure wireless client and AP on Raspberry Pi 3

Hello, I am using Raspberry pi 3 B+ with Raspbian OS configured on it. Problem => I want to configure Connman as a wireless client so that I can connect raspberry to the wifi networks and a standalone AP on the Raspberry Pi through which clients ( i.e. Mobile application, etc ) can connect to the Ra...
by Sharvin
Fri Jun 21, 2019 12:40 pm
Forum: Networking and servers
Topic: Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ [buildroot]
Replies: 2
Views: 522

Re: Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ [buildroot]

Maybe the paper was written for 3B and the recipe has not been ported to 3B+ There might be differences in the default platform defconfigs, e.g. (jumpnow_)rpi3_defconfig vs. rpi3bplus_defconfig. I assume this, I have no idea if 3B+ needs a different defconfig nor its name. If JumpnowTech's buildroo...
by Sharvin
Fri Jun 21, 2019 6:03 am
Forum: Networking and servers
Topic: Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ [buildroot]
Replies: 2
Views: 522

Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ [buildroot]

Hello I am building a Custom OS using Buildroot. I am following this article https://jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Buildroot.html to build the custom os. Author of that article gave a sample image https://jumpnowtek.com/downloads/rpi/buildroot/ of the os that will be created after the...
by Sharvin
Wed May 29, 2019 2:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How to enable CTS RTS for Raspberry Pi 3 b+ UART
Replies: 5
Views: 823

Re: How to enable CTS RTS for Raspberry Pi 3 b+ UART

Thanks a lot it worked You can do this with a small, custom device tree overlay file. A couple of months ago I faced the same issue and created a bunch of overlays - you can download them from here https://github.com/HiassofT/AtariSIO/tree/master/contrib/rpi For ttyS0 you need to copy "miniuart-ctsr...
by Sharvin
Wed May 29, 2019 11:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How to enable CTS RTS for Raspberry Pi 3 b+ UART
Replies: 5
Views: 823

How to enable CTS RTS for Raspberry Pi 3 b+ UART

I have a Raspberry Pi 3 b+ with Raspbian Stretch Lite. I want to enable CTS RTS for UART ttySO. To achieve this I have followed the following steps:- 1. I have enabled the UART ( Note I have tested the UART and it is working perfectly. ) I have configured UART using this link https://www.circuits.dk...
by Sharvin
Fri Mar 01, 2019 12:09 pm
Forum: Debian
Topic: Facing issues in configuring soft link for connman Directory ( Debian )
Replies: 0
Views: 3694

Facing issues in configuring soft link for connman Directory ( Debian )

I am using a Debian OS. I have 4 Partitions on a disk. mmcblk0p1 has the boot configuration. mmcblk0p2 has a Debian Os. ( Let's name OS1 ) mmcblk0p3 has another Debian Os. ( Let's name OS2 ) mmcblk0p4 is persistent storage. I am using connman as a network manager. Now all my networks that are connec...
by Sharvin
Fri Feb 22, 2019 12:18 pm
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Re: Doubt related to the OTA update Mechanism for Debian Operating System

Article is a bit old. The file do will get marked deleted in the file system’s meta data. But in the past the controller did not know that the page that contains the contents of the text file no longer is data we want to keep. The OS knows the file system and therefore knows which pages are free an...
by Sharvin
Fri Feb 22, 2019 5:25 am
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Re: Doubt related to the OTA update Mechanism for Debian Operating System

Update > Install(s) An install can be a failure (e.g. bad download, signature doesn't check) or a success If the install is a failure the update is a failure. If the install is a success, An update can be a failure (e.g. boot failed 3 times, fallback) or a success. You only know if the update was a...
by Sharvin
Fri Feb 22, 2019 5:23 am
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Re: Doubt related to the OTA update Mechanism for Debian Operating System

For simplicity look at how consumer websites explain how SSDs work. https://www.anandtech.com/show/2738/8 Works the same with other flash storage like SD cards. You cannot simply overwrite individual bytes of flash memory that already has data in it. The OS may only intend to replace a 4 KB block o...
by Sharvin
Thu Feb 21, 2019 2:04 pm
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Re: Doubt related to the OTA update Mechanism for Debian Operating System

This is the basic mode of operation for A/B OTA updating. What is your question? If this design exists and is used in so many devices I guess it has some merit. It's not magic either: - If you install garbage to the machine it will reboot (hopefully) into garbage. What happens next is open. - Reboo...
by Sharvin
Thu Feb 21, 2019 1:27 pm
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Re: Doubt related to the OTA update Mechanism for Debian Operating System

You are now assuming that on power loss only the single file you were replacing can get corrupted, and that can be simply fixed by overwriting said file again. Do keep in mind that it is also modifying directory listings and other file system meta data though... And that due to the way flash storag...
by Sharvin
Thu Feb 21, 2019 11:44 am
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Re: Doubt related to the OTA update Mechanism for Debian Operating System

scruss wrote:
Thu Feb 21, 2019 11:32 am
Sharvin wrote:
Thu Feb 21, 2019 8:24 am
I have 3 Partitions on my MMC ( Sd card ) and one on the eMMC. …
I guess you're using the CM3? Regular Raspberry Pis don't have eMMC.
Yes, I am using CM3.
by Sharvin
Thu Feb 21, 2019 10:36 am
Forum: Debian
Topic: Flashing Debian Image on SD card Partition
Replies: 6
Views: 5178

Re: Flashing Debian Image on SD card Partition

There is no officially supported Debian ARMHF for the Raspberry Pi. Raspbian Stretch download is an .IMG file which is zipped: https://www.raspberrypi.org/downloads/raspbian/ .IMG are written to the SD Card and creates the required partitions. The Raspberry Pi SBC on boot up can only natively read ...
by Sharvin
Thu Feb 21, 2019 9:26 am
Forum: Debian
Topic: Flashing Debian Image on SD card Partition
Replies: 6
Views: 5178

Re: Flashing Debian Image on SD card Partition

There is no officially supported Debian ARMHF for the Raspberry Pi. Raspbian Stretch download is an .IMG file which is zipped: https://www.raspberrypi.org/downloads/raspbian/ .IMG are written to the SD Card and creates the required partitions. The Raspberry Pi SBC on boot up can only natively read ...
by Sharvin
Thu Feb 21, 2019 8:28 am
Forum: Debian
Topic: Flashing Debian Image on SD card Partition
Replies: 6
Views: 5178

Flashing Debian Image on SD card Partition

I have an sd card with 2 Partitions. mmcblk0 is the disk and mmcblk0p1, mmcblk0p2 are the 2 partitions I have created. I am trying to flash the Debian OS on the Partition using the dd command. dd if=os.img bs=10M of=/dev/mmcblk0p1 I am getting the following output 3565158400 bytes (3.6 GB, 3.3 GiB) ...
by Sharvin
Thu Feb 21, 2019 8:24 am
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Re: Doubt related to the OTA update Mechanism for Debian Operating System

How attached are you to Debian? In embedded development it is more common to build a custom operating system with tools like Buildroot, containing just the software you really need, and no extra's like documentation and man pages. That typically results in images that are say 25 MB instead of 250 M...
by Sharvin
Tue Feb 19, 2019 1:29 pm
Forum: Compute Module
Topic: Doubt related to the OTA update Mechanism for Debian Operating System
Replies: 20
Views: 2000

Doubt related to the OTA update Mechanism for Debian Operating System

I am working on the OTA update for an embedded system project. My hardware is Raspberry Pi and the operating system is a Debian 9. This OTA update mechanism will be A + B Redundancy update. Where there will be 3 total partitions available. Partition A will have a Debian Operating system and Partitio...

Go to advanced search