Posts

Getting Started Raspberry Pi 4 | Part 2 | Know Linux Image running in target

Image
Getting Started Raspberry Pi 4 | Part 2 | Know Linux Image   In part1: we have installed Raspberry PI OS.  https://embeddedcraft.blogspot.com/2022/09/getting-started-raspberry-pi-1.html Once Linux OS is booted and running properly, let us review OS image.  We need to run following command and keep the output. this will be useful during development process... pi@raspberrypi:~ $ uname -a Linux raspberrypi 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l GNU/Linux pi@raspberrypi:~ $  pi@raspberrypi:~ $ df -h Filesystem      Size  Used Avail Use% Mounted on /dev/root        29G  6.7G   22G  24% / devtmpfs        430M     0  430M   0% /dev tmpfs           463M     0  463M   0% /dev/shm tmpfs           463M  6.3M  456M   2% /run tmpfs  ...

Getting Started Raspberry Pi -1 : Installing Raspberry PI OS

Image
Getting Started Raspberry Pi -1:  Installing Raspberry PI OS Topics  Option 1 : Using online installer  Option 2 : offline Installation   Following steps have been done on Ubuntu 22.04 host OS. we will be installing Raspberry Pi OS 64 bit.  Option 1 : Using online installer  Raspberry PI provide Raspberry PI Imager to install Raspberry Pi OS on SD -Card.  We need to install Raspberry Pi Imager  in Machine, type following command... $ sudo apt install rpi-imager Open Raspberry Pi Imager $ rpi-imager choose following ... Operating System: Raspberry PI OS (64 Bit) Storage: choose correct SD Card  Let  us select 64 bit OS. or  choose default, at the time of writing Raspberry Pi OS (32 bit) was default.  click on setting button in bottom right  . this will open Advanced options  window . Here you can customise following options... - hostname  - Enable SSH - User name and Password  - Configuration of Wi...

Webserver on Linux running in Raspberry PI | NGINX

Image
  NGINX WebServer on Linux on Raspberry PI  NGINX is web server, reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server https://nginx.org/en/ Documentation of NGINX  https://nginx.org/en/docs/install.html Commercial version  of NGINX is available at ... https://www.nginx.com/      Installation of Nginx Web Server Installation in Raspberry PI OS    $  sudo apt install nginx Checking version of nginx Server  $  nginx -v First test  As soon as we will install nginx, it is almost ready to work.  Open browser in different computer and enter either IP address of RSP or hostname in web browser. you should able to view default webpage. Now, as our web browser is running. It means Nginx webserver is installed and running successfully.  Now, we should review configuration files available .. Nginx Configuration Nginx need to be configured. Configuration step involved setting of location of web-pages...

Linux commands - Understand Linux Image running in Board (Part 1)

Image
Linux commands - Understand Linux Image running in Board (Part 1)  Before knowing anything know what is running running in Board. if Linux Operating system is running here are the command which can tell us key OS parameters required during programming.  Command #1: Which OS is running on our board  pi@raspberrypi:~ $ uname -a                                                                                                         Linux raspberrypi 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l GNU/Linux Let us know what we understand   from the outcome of this command.  Linux : Name of Operating System Kernel raspberrypi: Host name 5.10.17-v7+ : Linux release version #1414 SMP...

Uboot MMC Commands - View content of directory from uboot

Image
Watch at YouTube :  Uboot MMC Commands - View content of directory from uboot   List of available MMC devices  => mmc list  Display info of the current MMC device => mmc info Select MMC device  => mmc dev [dev] List partitions  => mmc part View content of partition => ls mmc [<dev[:part]> [directory]]   Display content of directory in partition, example content of "home" directory in device 1, partition 2 => ls mmc 1:2 home => ls mmc 1:2 home/debian  View File system type  => fstype <interface> <dev>:<part> File system specific list commands  => fatls / ext4ls / ext2ls  view content of home/debian  About EmbeddedCraft EmbeddedCraft is the information portal for Embedded System and IOT. We are running Website, Blog, YouTube Channel. Stay in touch and many new informative articles are going to publish. Visit us at … Our Website: http://embeddedcraft.org/ Embeddedcraft blog ...