Learning

From Renesas.info
Revision as of 16:38, 1 April 2022 by Seebe (talk | contribs)

Introduction

This section is for general information regarding Linux, Software Development and Open Source.


Shoshinsha Mark 🔰

Linux

Using SD Card, MMC Card or USB Flash Drive

Networking

Use ifconfig to find your IP address

  • In Windows, you use ipconfig. In Linux, you use ifconfig.
  • The ifconfig command will show you your IP address and MAC address as well as how many packets have been sent/received.

Using Ethernet

The Linux OS used on the RZ boards brings up the Ethernet interface automatically during startup. This is done by the "systemd-networkd" service that is automatically start each time you boot. If your RZ board is connected to a network that has a DHCP server, the board will obtain an IP address from it automatically. You just need to execute ‘ifconfig’ to see what the assigned IP address is.

$ ifconfig

In some scenarios the Ethernet interface may not be active (meaning "systemd-networkd" is not started or used). In this case, you would enter the follow to enable it and use the ifconfig to show what interfaces are active.

$ ifconfig
$ ifconfig eth0 up
$ ifconfig

After the interface is enabled, you will need to assign an IP address. You can either do that manually or use DHCP if it is available on the network.

Manual:

$ ifconfig eth 1925.168.0.55

DHCP:

$ udhcpc -i eth0

NOTE: After ‘ifconfig eth0 up’, you may notice that it already has an IPv6 address even though it doesn’t have a IPv4 address yet. No one really assigned that IPv6 address. In IPv6, you can always assign yourself a 'link local' address by just taking your MAC address and putt putting "fe80" at the beginning and "fe00" in the middle.


Work with SSH

🚧 coming soon

Working with Files in Linux

🚧 coming soon

Edit a text file on the board using vi

🚧 coming soon

Partitioning and Formatting an SD Card

🚧 coming soon

Using PuTTY for your Serial Terminal

🚧 coming soon

Showing CPU Usage While Executing an Application

🚧 coming soon