OrangePi_CM5/external/cache/sources/linuxpg
orangepi-xunlong 9d1ca3ddaa Support RK3588 Orange Pi 5 Plus 2023-05-19 14:47:18 +08:00
..
8125.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125.map Add linuxpg 2023-04-21 17:12:13 +08:00
8125AG.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125AG.map Add linuxpg 2023-04-21 17:12:13 +08:00
8125AGEF.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125APEF.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125APFL.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125B.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125BEF.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125BG.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
8125BGEF.cfg Support RK3588 Orange Pi 5 Plus 2023-05-19 14:47:18 +08:00
8125BGEF.cfg-orig Add linuxpg 2023-04-21 17:12:13 +08:00
8125EF.cfg Add linuxpg 2023-04-21 17:12:13 +08:00
DPFLASH.bin Add linuxpg 2023-04-21 17:12:13 +08:00
Makefile Add linuxpg 2023-04-21 17:12:13 +08:00
README Add linuxpg 2023-04-21 17:12:13 +08:00
pgdrv.c Add linuxpg 2023-04-21 17:12:13 +08:00
pgdrv.h Add linuxpg 2023-04-21 17:12:13 +08:00
pgload.sh Add linuxpg 2023-04-21 17:12:13 +08:00
rtnicpg Support RK3588 Orange Pi 5 Plus 2023-05-19 14:47:18 +08:00
sccm.csv Add linuxpg 2023-04-21 17:12:13 +08:00

README

	  This is the package for pgtool of Realtek. There are two methods to use
	this tool. The method 1 is through a script file. However, you have to use
	the Method 2 if the Method 1 doesn't work.
	  If you use the embedded system, you maybe have to build "pgdrv.ko" first
	for the target platform. Please reference the Step 2 of Method 2. And the
	steps may be different.

Method 1:
	Step 1: Run the script file to load the necessary elements.
	# ./pgload.sh

	Step 2: Run the pgtool "rtnicpg". Use /h to show user guide.
	# ./rtnicpg /h | more

	Step 3: Choose the cmd to pg.
	Example: Read the EEPROM for the first NIC card.
	# ./rtnicpg /r /eeprom /# 1

	Step 4: Unload the elements of pgtool.
	# rmmod pgdrv


Method 2:
	Step 1: Unload all the NIC driver for Realtek.
	# rmmod r8169
	# rmmod r8168
	# rmmod r8101

	Step 2: Build the pgdrv.ko and install it.
	# make clean all
	# insmod pgdrv.ko

	Step 3: Run the pgtool "rtnicpg". Use /h to show user guide.
	# ./rtnicpg /h | more

	Step 4: Choose the cmd to pg.
	Example: Read the EEPROM for the first NIC card.
	# ./rtnicpg /r /eeprom /# 1

	Step 5: Remove the pgdrv.
	# rmmod pgdrv

[NOTICE]
	1. The applications are only for little-endian platform.
	2. Must login with "root".
	3. The NIC driver must be unload first or the pgdrv.ko cannot work.