![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-26 00:23 |
47,815 topics / 349,928 posts / today 0 new / 48,288 members |
| 网络日志(Blog) » 3 Collection of hardware and related information of Loongson series computers <Bing Shen Sheep Year 20160206> |
| Printable Version 49,764 / 120 |
| Floor46 zzz19760225 | Posted 2017-06-14 01:56 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
http://www.loongson.cn/product/cpu/
Loongson Open Source Community (Base of Guerrillas?) http://www.loongnix.org/index.php/%E9%A6%96%E9%A1%B5 Loongson Forum http://bbs.lemote.com/forum.php ------------------------------------------------------------------------------------- 1, Loongson 1A http://www.loongson.cn/product/cpu/1/Loongson1A.html Loongson 1A Processor User Manual http://www.loongson.cn/uploadfile/cpu/1A/Loongson1A_processor_user_manual_V2.1.pdf ------------------------------------------------------------------------------------- 2, Loongson 1B http://www.loongson.cn/product/cpu/1/Loongson1B.html Loongson 1B Processor User Manual http://www.loongson.cn/uploadfile/cpu/1B/Loongson1B_processor_user_manual_V2.2.pdf ------------------------------------------------------------------------------------- 3, Loongson 1C http://www.loongson.cn/product/cpu/1/Loongson1C.html Loongson 1C300 Processor User Manual Version 1.4 http://www.loongson.cn/uploadfile/cpu/1C/Loongson_1C300_user.pdf Loongson 1C300 Processor Data Sheet Version 1.3 http://www.loongson.cn/uploadfile/cpu/1C/Loongson_1C300_data.pdf -------------------------------------------------------------------------------------- 4, Loongson 1D http://www.loongson.cn/product/cpu/1/103.html -------------------------------------------------------------------------------------- 5, Loongson 2H http://www.loongson.cn/product/cpu/2/Loongson2H.html Loongson 2H Processor User Manual V1.6 http://www.loongson.cn/product/cpu/2/Loongson2H.html Loongson 2H Processor Data Sheet V1.6 http://www.loongson.cn/uploadfile/cpu/2H/Loongson_2H_cpu_data.pdf Loongson Processor Application Frequently Asked Questions (FAQ) http://www.loongson.cn/uploadfile/cpumanual/loongsonseries_FAQ_V1.1.pdf ------------------------------------------------------------------------------------- 6, Loongson 2F http://www.loongson.cn/product/cpu/2/LOONGSON2F.html Loongson 2F Processor User Manual V1.5 http://www.loongson.cn/uploadfile/cpumanual/Loongson2F_UM_CN_V1.5.pdf Loongson 2F Processor Data Sheet V1.1 http://www.loongson.cn/uploadfile/cpumanual/Loongson2F_DS_CN_V1.1.pdf ------------------------------------------------------------------------------------- 7, Loongson 3A2000/3B2000 http://www.loongson.cn/product/cpu/3/Loongson3A2000.html Loongson 3A2000/3B2000 Processor User Manual Volume I Multi-core Processor Architecture, Register Description and System Software Programming Guide V1.7 http://www.loongson.cn/uploadfile/cpu/3A2000/Loongson3A2000_user1.pdf Loongson 3A2000/3B2000 Processor User Manual Volume II GS464E Processor Core V1.03 http://www.loongson.cn/uploadfile/cpu/3A2000/Loongson3A2000_user2.pdf Loongson 3A2000/3B2000 Processor Data Sheet V1.4 http://www.loongson.cn/uploadfile/cpu/3A2000/Loongson3A2000%20processor%20datasheet.pdf ------------------------------------------------------------------------------------- 8, Loongson 3A1000 http://www.loongson.cn/product/cpu/3/Loongson3A.html Loongson 3A1000 Processor User Manual Volume I Multi-core Processor Architecture, Register Description and System Software Programming Guide V1.15 http://www.loongson.cn/uploadfile/cpu/3A1000/Loongson_3A1000_cpu_user_1.pdf Loongson 3A1000 Processor User Manual Volume II GS464 Processor Core V1.4 http://www.loongson.cn/uploadfile/cpu/3A1000/Loongson_3A1000_cpu_user_2.pdf Loongson 3A1000 Processor Data Sheet V1.7 http://www.loongson.cn/uploadfile/cpu/3A1000/Loongson_3A1000_cpu_data.pdf Loongson Processor Application Frequently Asked Questions (FAQ) http://www.loongson.cn/uploadfile/cpumanual/loongsonseries_FAQ_V1.1.pdf -------------------------------------------------------------------------------------- 9, Loongson 3B1500 http://www.loongson.cn/product/cpu/3/Loongson3B1500.html Loongson 3B1500 Processor User Manual Volume I Multi-core Processor Architecture and Register Description V1.7 http://www.loongson.cn/uploadfile/cpu/3B1500/Loongson_3B1500_cpu_user_1.pdf Loongson 3B1500 Processor User Manual Volume II GS464 Processor Core V1.3 http://www.loongson.cn/uploadfile/cpu/3B1500/Loongson_3B1500_cpu_user_2.pdf Loongson 3B1500 Processor Data Sheet http://www.loongson.cn/uploadfile/cpu/3B1500/Loongson_3B1500_cpu_data.pdf Loongson Processor Application Frequently Asked Questions (FAQ) http://www.loongson.cn/uploadfile/cpumanual/loongsonseries_FAQ_V1.1.pdf --------------------------------------------------------------------------------------- 10, Loongson 3A3000/3B3000 http://www.loongson.cn/product/cpu/3/496.html Loongson 3A3000/3B3000 Processor User Manual Volume I Multi-core Processor Architecture, Register Description and System Software Programming Guide V1.3 http://www.loongson.cn/uploadfile/cpu/3A3000/Loongson3A3000_3B3000user1.pdf Loongson 3A3000/3B3000 Processor User Manual Volume II GS464E Processor Core V1.0 http://www.loongson.cn/uploadfile/cpu/3A3000/Loongson3A3000_3B3000user2.pdf Loongson 3A3000/3B3000 Processor Data Sheet V1.2 http://www.loongson.cn/uploadfile/cpu/3A3000/Loongson3A3000_3B3000data.pdf -------------------------------------------------------------------------------------- 11, Loongson Series Development Boards http://www.loongson.cn/product/system/ Loongson CPU Development System vxWorks BSP Development Specification http://www.loongson.cn/uploadfile/devsysmanual/LoongsonCPU_vxWorks%20BSP_1.02.pdf Loongson CPU Development System PMON Firmware Development Specification http://www.loongson.cn/uploadfile/devsysmanual/LoongsonCPU_PMON_V1.0.pdf Loongson CPU Development System Firmware and Kernel Interface Specification http://www.loongson.cn/uploadfile/devsysmanual/loongson_devsys_firmware_kernel_interface_specification.pdf Loongson Development System Linux Kernel Development Detailed Specification http://www.loongson.cn/uploadfile/devsysmanual/loongson_devsys_linux_develop_specification.pdf ---------------------------------------------- 12, Loongson 3A_2H Development Board http://www.loongson.cn/product/system/61.html Loongson 2H Processor User Manual http://www.loongson.cn/uploadfile/cpumanual/Loongson2H_Processor_User_Manual_v1.4.pdf Loongson 2H Processor Data Sheet V1.4 http://www.loongson.cn/uploadfile/cpumanual/Loongson2H_processor_data_sheet_v1.4.pdf Loongson 3A+2H Development Board Technical Specification http://www.loongson.cn/uploadfile/devsysmanual/Loongson3A_2H_mother_board_user_guide.pdf ---------------------------------------------, 13, Loongson 2H SoC Development Board http://www.loongson.cn/product/system/62.html Loongson 2H Processor User Manual http://www.loongson.cn/uploadfile/cpumanual/Loongson2H_Processor_User_Manual_v1.4.pdf Loongson 2H Processor Data Sheet V1.4 http://www.loongson.cn/uploadfile/cpumanual/Loongson2H_processor_data_sheet_v1.4.pdf Loongson 2H Development Board Technical Specification http://www.loongson.cn/uploadfile/devsysmanual/Loongson2HSoCTechnicalSpecification.pdf -------------------------------------------- 14, Loongson 3B1500 Dual-Core Development Board http://www.loongson.cn/product/system/57.html Loongson 3B1500 Processor User Manual Volume I Multi-core Processor Architecture and Register Description V1.5 http://www.loongson.cn/uploadfile/cpumanual/Loongson3B1500_processor_user_manual_P1_v1.5.pdf Loongson 3B1500 Processor User Manual Volume II GS464V Processor Core V1.1 http://www.loongson.cn/uploadfile/cpumanual/Loongson3B1500_processor_user_manual_P2_V1.1.pdf Loongson 3B1500 Processor Data Sheet V1.4 http://www.loongson.cn/uploadfile/cpumanual/Loongson3B1500_processor_data_sheet_V1.4.pdf Loongson 3B05+RS780E Dual-Core Development Board Technical Specification http://www.loongson.cn/uploadfile/devsysmanual/LS3B05-d-technical_mother_board_specification.pdf ----------------------------------------- 15, Loongson 3A780E Single-Core Development Board http://www.loongson.cn/product/system/60.html Loongson 3A1000 Processor User Manual Volume I Multi-core Processor Architecture, Register Description and System Software Programming Guide V1.14 http://www.loongson.cn/uploadfile/cpumanual/Loongson3A1000_processor_user_manual_P1_V1.14.pdf Loongson 3A1000 Processor User Manual Volume II GS464 Processor Core V1.4 http://www.loongson.cn/uploadfile/cpumanual/Loongson3A_processor_user_manual_P2_V1.4.pdf Loongson 3A1000 Processor Data Sheet V1.7 http://www.loongson.cn/uploadfile/cpumanual/Loongson3A1000_processor_data_sheet_V1.7.pdf Loongson 3A+RS780E Single-Core Development Board Technical Specification http://www.loongson.cn/uploadfile/devsysmanual/LS3A-RS780E-s-develop_board_user_manual.pdf ---------------------------------------- 16, Loongson 3A780E Dual-Core Development Board http://www.loongson.cn/product/system/59.html Loongson 3A1000 Processor User Manual Volume I Multi-core Processor Architecture, Register Description and System Software Programming Guide V1.14 http://www.loongson.cn/uploadfile/cpumanual/Loongson3A1000_processor_user_manual_P1_V1.14.pdf Loongson 3A1000 Processor User Manual Volume II GS464 Processor Core V1.4 http://www.loongson.cn/uploadfile/cpumanual/Loongson3A_processor_user_manual_P2_V1.4.pdf Loongson 3A1000 Processor Data Sheet V1.7 http://www.loongson.cn/uploadfile/cpumanual/Loongson3A1000_processor_data_sheet_V1.7.pdf Loongson 3A Dual-Core Processor Reference Board User Manual http://www.loongson.cn/uploadfile/devsysmanual/ls3a_2ways_mother_board_user_manual.pdf Loongson CPU DDR3 Wiring Design Guide and Software Debugging Instructions http://www.loongson.cn/uploadfile/devsysmanual/DDR3_desigin_guide_V1.3.pdf --------------------------------------, 17, Loongson 3B1500 Single-Core Development Board http://www.loongson.cn/product/system/58.html Loongson 3B1500 Processor User Manual Volume I Multi-core Processor Architecture and Register Description V1.5 http://www.loongson.cn/uploadfile/cpumanual/Loongson3B1500_processor_user_manual_P1_v1.5.pdf Loongson 3B1500 Processor User Manual Volume II GS464V Processor Core V1.1 http://www.loongson.cn/uploadfile/cpumanual/Loongson3B1500_processor_user_manual_P2_V1.1.pdf Loongson 3B1500 Processor Data Sheet V1.4 http://www.loongson.cn/uploadfile/cpumanual/Loongson3B1500_processor_data_sheet_V1.4.pdf Loongson 3B05+RS780E Single-Core Development Board Technical Specification http://www.loongson.cn/uploadfile/devsysmanual/LS3B05-s-technical_mother_board_specification.pdf ------------------------------------------------------------------------------------- 18, Processor-Related Manuals http://www.loongson.cn/product/dc/ -------------------------------------------------------------------------------------- ftp://ftp.loongnix.org ftp://ftp.loongnix.org/doc/01user%20manual http://jackslab.org/people/comcat http://dev.lemote.com/files/document/loongson/SIMD指令使用手册v0.1.pdf http://dev.lemote.com/cgit/linux-official.git/ ------------------------- ??? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?h=v4.12-rc1&qt=grep&q=lemote ----------------------- ??? English Loongson Assembly Language Programming ( Loongson MIPS64 Assembly Language Programming Video Tutorial ) https://www.bilibili.com/video/av14809674/?from=search&seid=276946050511750579 index ---> Category ---> tree ---> Category ---> plain ---> File ---> Code. index |---Category 1 |---Category 2 |---tree (Tree structure folders and files) |---Category 11 |---Category 12 |---plain (Single folder or file, simple?) |---File Name |---Code LOONGSON 3A Boot and Operating System Installation Instructions http://ftp.loongnix.org/ftp/os/usb_install/loongson3a780einstallguidev07.pdf [ Last edited by zzz19760225 on 2018-1-17 at 00:43 ] |
|
| Floor47 zzz19760225 | Posted 2017-06-14 01:56 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
Loongnix operating system
http://www.loongnix.org/index.php/Loongnix VxWorks real-time operating system http://www.loongnix.org/index.php/VxWorks [ Last edited by zzz19760225 on 2017-6-17 at 13:03 ] |
|
| Floor48 zzz19760225 | Posted 2017-06-14 01:57 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
Pmon is an open-source software with both BIOS and boot loader functions.
http://www.loongnix.org/index.php/PMON http://www.loongson.cn/uploadfile/devsysmanual/LoongsonCPU_PMON_V1.0.pdf Kernel http://www.loongnix.org/index.php/内核 Gcc Compiler http://www.loongnix.org/index.php/GCC [ Last edited by zzz19760225 on 2017-9-10 at 20:57 ] |
|
| Floor49 zzz19760225 | Posted 2017-06-14 01:57 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
The Loongson - ported OpenJDK version is fully compatible with PC - based JDK 6/8.
Loongson Java includes 64 - bit and 32 - bit versions, which are respectively used for server and desktop operating systems. http://www.loongnix.org/index.php/Java Firefox browser http://www.loongnix.org/index.php/Firefox火狐浏览器 chrome browser http://www.loongnix.org/index.php/Chrome浏览器 Currently, there are mainly two types of graphic operating systems supported on the Loongson platform. One is Linux desktop and terminal operating systems (such as Fedora, Kingsoft Kirin, PowerLinux, etc.), and the other is embedded operating systems (such as reWorks, vxWorks, etc.). http://www.loongnix.org/index.php/图形图像 The media - related open - source software that has been adapted on the Loongson platform currently includes: ffmpeg, mplayer, openh264, libvpx, smplayer, mpv, totem, gstreamer, etc., and the multimedia codec library has been optimized based on the LoongSIMD instruction set. The software currently being maintained includes: ffmepg, mplayer, openh264, libvpx. It is hoped that the majority of open - source software enthusiasts will actively participate. We will provide compilation development platforms, developer community accounts and other services. http://www.loongnix.org/index.php/媒体编解码 [ Last edited by zzz19760225 on 2017 - 6 - 17 at 13:11 ] |
|
| Floor51 zzz19760225 | Posted 2017-06-14 01:57 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
http://www.loongnix.org/cgit/
Name Description Owner Idl Name Description Owner Idl Automatic Test System Automatic Test System LOONGAT the LOONGAT repository loongson 19 months summarylogtree LOONGAT the LOONGAT repository loongson 19 months summarylogtree Graphic Graphic jpeg the jpeg repository loongson 14 months summarylogtree jpeg the jpeg repository loongson 14 months summarylogtree libdrm the libdrm repository loongson 14 months summarylogtree libdrm the libdrm repository loongson 14 months summarylogtree libpng the libpng repository loongson 14 months summarylogtree libpng the libpng repository loongson 14 months summarylogtree libxft the libxft repository loongson 14 months summarylogtree libxft the libxft repository loongson 14 months summarylogtree mesa the mesa repository loongson summarylogtree mesa the mesa repository loongson summarylogtree pixman the pixman repository loongson 14 months summarylogtree pixman the pixman repository loongson 14 months summarylogtree qt the qt repository loongson 14 months summarylogtree qt the qt repository loongson 14 months summarylogtree qt5 the qt5 repository loongson summarylogtree qt5 the qt5 repository loongson summarylogtree xorg the xorg repository loongson 14 months summarylogtree xorg the xorg repository loongson 14 months summarylogtree xorg-ati the xorg-ati repository loongson 14 months summarylogtree xorg-ati the xorg-ati repository loongson 14 months summarylogtree zlib the zlib repository loongson 14 months summarylogtree zlib the zlib repository loongson 14 months summarylogtree browser browser chrome31 the chrome31 repository loongson 19 months summarylogtree chrome31 the chrome31 repository loongson 19 months summarylogtree chrome39 the chrome39 repository loongson 24 months summarylogtree chrome39 the chrome39 repository loongson 24 months summarylogtree chrome52 the chrome52 repository loongson 8 weeks summarylogtree chrome52 the chrome52 repository loongson 8 weeks summarylogtree firefox-mips64 the firefox-mips64 repository loongson 23 months summarylogtree firefox-mips64 the firefox-mips64 repository loongson 23 months summarylogtree firefox24 the firefox24 repository loongson 11 months summarylogtree firefox24 the firefox24 repository loongson 11 months summarylogtree firefox40_Release the firefox40_Release repository loongson 19 months summarylogtree firefox40_Release the firefox40_Release repository loongson 19 months summarylogtree firefox45 the firefox45_Release repository loongson 8 weeks summarylogtree firefox45 the firefox45_Release repository loongson 8 weeks summarylogtree firefox52 the firefox52_Release repository loongson 2 weeks summarylogtree firefox52 the firefox52_Release repository loongson 2 weeks summarylogtree compiler compiler CLANG the CLANG repository loongson 21 months summarylogtree CLANG the CLANG repository loongson 21 months summarylogtree LLVM the LLVM repository loongson 24 months summarylogtree LLVM the LLVM repository loongson 24 months summarylogtree binutils-2.24 the binutils-2.24 repository for loongnix loongson 9 weeks summarylogtree binutils-2.24 the binutils-2.24 repository for loongnix loongson 9 weeks summarylogtree gcc-4.4.7-centos64 the gcc-4.4.7 repository loongson 20 months summarylogtree gcc-4.4.7-centos64 the gcc-4.4.7 repository loongson 20 months summarylogtree gcc-4.8.3-fedora19 the gcc-4.8.3 repository loongson 20 months summarylogtree gcc-4.8.3-fedora19 the gcc-4.8.3 repository loongson 20 months summarylogtree gcc-4.9.3 the gcc-4.9.3 repository for loongnix loongson 5 weeks summarylogtree gcc-4.9.3 the gcc-4.9.3 repository for loongnix loongson 5 weeks summarylogtree gcc4.4_loongson the gcc4.4_loongson repository loongson 20 months summarylogtree gcc4.4_loongson the gcc4.4_loongson repository loongson 20 months summarylogtree glibc-2.20 the glibc-2.20 repository for loongnix loongson 6 weeks summarylogtree glibc-2.20 the glibc-2.20 repository for loongnix loongson 6 weeks summarylogtree kernel kernel linux-2.6.32-el6 the linux-2.6.32-el6 repository loongson 4 months summarylogtree linux-2.6.32-el6 the linux-2.6.32-el6 repository loongson 4 months summarylogtree linux-3.10 the linux-3.10 repository loongson 4 days summarylogtree linux-3.10 the linux-3.10 repository loongson 4 days summarylogtree linux-3.10.84 the linux-3.10.84 repository loongson 2 weeks summarylogtree linux-3.10.84 the linux-3.10.84 repository loongson 2 weeks summarylogtree linux-4.4 the linux-4.4 repository loongson 3 weeks summarylogtree linux-4.4 the linux-4.4 repository loongson 3 weeks summarylogtree qemu-2.7.0 the linux-4.4 repository loongson 5 weeks summarylogtree qemu-2.7.0 the linux-4.4 repository loongson 5 weeks summarylogtree media media ffmpeg the ffmpeg repository loongson 10 months summarylogtree ffmpeg the ffmpeg repository loongson 10 months summarylogtree libav the libav repository loongson 10 months summarylogtree libav the libav repository loongson 10 months summarylogtree libvpx the libvpx repository loongson 5 months summarylogtree libvpx the libvpx repository loongson 5 months summarylogtree mplayer the mplayer repository loongson 17 months summarylogtree mplayer the mplayer repository loongson 17 months summarylogtree openh264 the openh264 repository loongson 10 months summarylogtree openh264 the openh264 repository loongson 10 months summarylogtree pmon ? pmon-2HSoc the pmon-2HSoc repository loongson 17 months summarylogtree pmon-2HSoc the pmon-2HSoc repository loongson 17 months summarylogtree pmon-loongson3 the pmon-loongson3 repository loongson 20 hours summarylogtree pmon-loongson3 the pmon-loongson3 repository loongson 20 hours summarylogtree uboot u-boot-2016 [ Last edited by zzz19760225 on 2017-8-5 at 13:06 ] |
|
| Floor52 zzz19760225 | Posted 2017-06-14 01:57 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
http://www.openloongson.org/forum.php?mod=forumdisplay&fid=69
Simple and peaceful, diligence is the foundation http://git.oschina.net/caogos/OpenLoongsonLib1c [ Last edited by zzz19760225 on 2017-8-16 at 17:27 ] |
|
| Floor53 zzz19760225 | Posted 2017-06-14 01:57 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
YLmf OS Compilation System
I. What is YBS? YBS refers to the packaging system of Ylmf OS (Ylmf OS Build System). It is a ports-like system used to compile software from source code. In Ylmf OS, yget is specifically for managing binary software packages, while YBS is specifically responsible for compiling source code and packaging it into installable ypk packages. Ports is a system used by FreeBSD that performs a series of operations such as downloading, decompressing, patching, compiling, and installing source code packages. A port contains some files to guide the download, compilation, and installation of the source code, and the system automatically completes the operations. YBS is composed of a directory tree located at /var/ybs/pbslib, which contains many subdirectories, each belonging to a certain category and named after the corresponding package that can be created. This directory does not contain packages or source code, but rather contains a pbs file and a files directory. The Package Build Script (referred to as pbs) is a script - a text file (containing instructions for the compilation and packaging process, including the download address of the source code package, etc.), and the files directory stores additional files, such as patch files, etc. The most important part of YBS is the pbs file. 1. Obtain the YBS tree Run as root 01. #ybs --sync The code can synchronize the YBS tree from the server, managed by git. With the YBS tree, users can customize and compile and package software from source code. YBS contains a complete toolbox of the following structures and tools: YBS directory tree: /var/ybs/pbslib, containing pbs files and related files of all software ybs command: reads the pbs file, compiles the source code, and creates a ypk package. pbs file: records instructions for creating the package and the source code address. 2. What YBS is used for: Compile software not in the official source of Ylmf OS from source code. Of course, you first need to write a pbs file. Customize existing packages to meet your specific needs, modify the existing pbs file, usually to enable or disable relevant configuration options Rebuild the entire system with other compiler flags. Cleanly compile and install your own customized kernel, just modify the pbs file of the kernel. Of course, you can also install software in the traditional way configure/make/make install, but ybs can automate this work. 3. Global compilation environment /etc/ybs.conf specifies environment variables and compiler flags. 01. $ cat /etc/ybs.conf 02. CC=gcc 03. CXX=g++ 04. #CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe" 05. CFLAGS="-march=i686 -mtune=i686 -O2 -pipe" # 06. CXXFLAGS="$CFLAGS" 07. MAKEOPTS="-j6" # Number of make processes 08. #YPINST_PREFIX="--prefix=/usr" 09. YPINST_PREFIX= 10. ACCEPT_REPO="stable" # Branch 11. #YP_I18N="en zh_CN" # Only the required languages, other languages will be discarded 12. YPPATH_DIST_URI="http://pkg.ylmf.com/sources" # Backup source code download server 13. AUTO_INSTALL="yes" # Automatically install to the system after successful compilation and packaging 14. YPPATH_PACKAGE="/var/ypkg/packages" # Storage address of the packaged ypk package Code II. Introduction to the pbs file: 1. The location and naming rules of the pbs file are fixed. Take leafpad as an example, run: 01. # ybs -w leafpad 02. /var/ybs/pbslib/app-editors/leafpad/leafpad_0.8.18.1.pbs app-editors Software category leafpad Software name leafpad_0.8.18.1.pbs Software name_Main version number.pbs leafpad_0.8.18.1-ylmf1.pbs Software name_Main version number-Corrected version number.pbs 2. Simple pbs file: Take leafpad as an example, run: 01. $ cat /var/ybs/pbslib/app-editors/leafpad/leafpad_0.8.18.1.pbs 02. # 03. # YLmf_OS package build script 04. # 05. 06. DESCRIPTION="GTK+ based simple text editor." 07. HOMEPAGE="http://tarot.freeshell.org/leafpad/" 08. LICENSE="GPL-2" 09. PACKAGER="<[email protected]>" 10. 11. SRC_URI="http://savannah.nongnu.org/download/"$N"/"$N-$V$R".tar.gz" 12. 13. RDEPEND="atk cairo expat fontconfig freetype gcc glib2 glibc gtk+ libpng libX11 libXau libxcb libXcomposite libXcursor libXdamage libXdmcp libXext libXfixes libXi libXrandr libXrender pango pixman zlib" 14. BDEPEND="libpng" 15. 16. pbs_unpack() { 17. ypkg_unpack 18.} 19. 20. pbs_config() { 21. ypkg_patch desktop-i18n.patch 22. YPB_CONFIG+="--disable-print" 23. ypkg_config 24.} 25. 26. pbs_build() { 27. ypkg_make 28.} 29. 30. pbs_install() { 31. ypkg_mkinstall 32.} Run: 01. #ybs -s leafpad You can query Run: 01. #ybs -i leafpad Start compiling and packaging leafpad 2. ybs can automate the compilation and packaging work, mainly because of the compilation rules of the pbs file. Let's learn more complex pbs files. /var/ybs/pbslib/template.pbs is a template with detailed rules. 01. $ cat /var/ybs/pbslib/template.pbs # 01. # YLmf_OS package build script 02. # # Simple description, recommended in English 01. DESCRIPTION="" # Software homepage 01. HOMEPAGE="" # Software branch, testing or stable, default is stable 01. REPO="" # License agreement 01. LICENSE="GPL" # Priority, set to required, then it cannot be deleted in the software center 01. PRIORITY="required" # Packager, write your own name and contact information 01. PACKAGER="Ylmf OS Developers <[email protected]>" # Source code package download address. # $N = software name, for example leafpad # $V = main version number, for example 0.8.1 # $R = sub-version number, for example -rc1 in 0.8.1-rc1 Support the following urls: 01. SRC_URI="http://foo.bar.com/$N-$V.tar.bz2" 02. SRC_URI="http://foo.bar.com/$N.deb" 03. SRC_URI="http://foo.bar.com/$N.rpm" 04. SRC_URI="git://foo.bar.com/$N.git" 05. SRC_URI="git://foo.bar.com/$N" If the source code package is manually compressed and copied to $YPPATH_SOURCE (/var/ybs/sources), it can be written as follows: 01. SRC_URI="" 02. SRC_URI="$N-$V.tar.bz2" # Absolute path 01. SRC_URI="$DIR/$N-$V.tar.bz2" # Dependencies Runtime dependencies, ybs will install in advance; yget install will also install automatically when processing binary packages. 01. RDEPEND="" Recommended dependencies, ybs does not process; yget install will install automatically when processing binary packages. 01. RECOMMENDED="" Compile dependencies, ybs will install in advance; yget install-dev will install, yget install does not process 01. BDEPEND="" Optional dependencies, here is just a record. 01. OPTIONAL="a: support a 02. b: support b" Conflict dependencies, ybs will automatically delete conflicting packages after successful compilation and installation, and yget install will also delete conflicting packages when processing binary packages 01. CONFLICT="" # Record some notes 01. NOTES="" # Specify desktop and icon files 01. DESKTOPFILE="glchess.desktop" or "/opt/test/test.desktop" 02. ICONFILE="test.png" or "/opt/test/test.png" # Split packages. Note the development package (-dev), which contains header files; the document package (-doc) is processed automatically. PROVIDE supports customized split packages, and the rules are handled by the following foo_install function 01. PROVIDE="foo" # Called before compilation, for example, some software needs to create users, etc. 01. pbs_init() { 02. #ypkg_useradd -c "$C" -d "$D" -s "$S" -g "$G" "$N" 03.} # Automatically unpack the source code package and cd into the unpacked directory 01. pbs_unpack() { 02. ypkg_unpack 03.} # Configure compilation options 01. pbs_config() { # Patch before configuration. $FILES_PATH is the directory where the pbs file is located, and the patch file will be automatically found if it is placed in $FILES_PATH/files/ or $FILES_PATH/files/patches. 01. ypkg_patch *.patch # Compilation options, the default is: 01. #YPB_CONFIG+=" --prefix=/usr 02. # --sysconfdir=/etc 03. # --localstatedir=/var 04. # --infodir=/usr/share/info 05. # --mandir=/usr/share/man 06. # --disable-static 07. # --enable-shared " # Add extra ones here: 01. YPB_CONFIG+="" 02. ypkg_config 03.} # Start compiling 01. pbs_build() { 02. ypkg_make 03.} # Test, generally not needed 01. pbs_check() { 02. make check 03.} # Install to the specified directory $YPPATH_DEST 01. pbs_install() { 02. ypkg_mkinstall # ybs also provides several tools: # Copy the systemd service file to the "$YPPATH_DEST"/lib/systemd/system directory 01. #ypkg_dounit "N".service # Copy desktop and icon files to the "$YPPATH_DEST"/usr/share/applications directory 01. #ypkg_dodesktop "*.desktop" "*.png" # Copy document files to the "$YPPATH_DEST"/usr/share/doc/"$N" directory 01. #ypkg_dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README # Automatically create the target directory when copying 01. #ypkg_docp "$FILES_PATH/files/XXXX" "dirname" 01. #ypkg_domv "$FILES_PATH/files/XXXX" "dirname" 02. #ypkg_docp_rename "$1" "$2" # 03. #ypkg_domv_rename "$1" "$2" # Automatically create the target when linking 01. #ypkg_doln "$1 "$2" # Copy man files to the specified directory 01. #ypkg_doman a.1 b.2 c.3 # When the SRC_URI suffix is a deb or rpm package, ybs automatically unpacks all files to the data/ directory. At this time, just use the following command. 01. #ypkg_docp data/* "$YPPATH_DEST" 01.} # Split package, the function name must be the same as PROVIDE. At this time, the $N, $YPPATH_DEST variables have become foo 01. foo_install() { 02. ypkg_mkinstall 03.} # Execute after installation: 01. pbs_postinst() { 02. #gnome2_install_schema "$1" 03. #gnome2_install_defaut_gconf "$1 $2 $3 04. #gnome2_rarian_sk_update 05. #gnome2_desktop_database_update 06. #gnome2_icon_cache_update /usr/share/icons/titans|titans $default is /usr/share/icons/hicolor 07. #gnome2_gconfd_reload 08. #gnome2_gtk_immodules_update 09. #gnome2_mime_database_update 10. #gnome2_gdk_pixbuf_loaders_update 11. #ypkg_dofont /usr/share/fonts/truetype/ttf-dejavu 12.} # Execute before deleting the package 01. pbs_prerm() { 02. 03.} # Execute after deleting the software 01. pbs_postrm() { 02. 03.} 3. For more examples, please refer to /var/ybs/pbslib III. Introduction to common ybs commands: Search: 01. $ ybs -s leafpad 02. * Searching for leafpad ... 03. leafpad 04. Installed: 0.8.18.1 2011-06-02,09:43:36 05. Available: 0.8.17 | 0.8.18.1 06. Homepage: http://tarot.freeshell.org/leafpad/ 07. Description: GTK+ based simple text means installed s means stable branch t means test branch Locate the pbs file and find the available pbs file of the highest version 01. $ ybs -w leafpad 02. /var/ybs/pbslib/app-editors/leafpad/leafpad_0.8.18.1.pbs Compile a certain package, and automatically compile dependent packages. Add the -p parameter to simulate execution: 01. # ybs -i -p leafpad 02. * Calculating dependencies... 03. sys-libs/zlib_1.2.5 04. dev-util/pkgconfig_0.23 05. app-admin/gamin_0.1.10 06. dev-libs/mpfr_2.4.2 07. dev-libs/gmp_4.3.2 08. x11-libs/xcb-util_0.3.6 09. x11-libs/gtk+_2.20.1 10. app-editors/leafpad_0.8.18.1 means installed, and no upgrade or downgrade is required means this package needs to be downgraded means this package needs to be upgraded The installed package is compiled forcefully, and the -F parameter is added. If the -p parameter is not added, leafpad will start to be compiled: 01. # ybs -i -F -p leafpad 02. * Calculating dependencies... 03. dev-util/pkgconfig_0.23 04. app-admin/gamin_0.1.10 05. sys-apps/linux-headers_2.6.37 ----> sys-apps/linux-headers_2.6.38.2 06. dev-libs/mpfr_2.4.2 07. dev-libs/gmp_4.3.2 08. x11-libs/xcb-util_0.3.6 09. x11-libs/gtk+_2.20.1 10. app-editors/leafpad_0.8.18.1 means installed, but still compiled forcefully Compile a single software package without automatically compiling dependencies. This method is under the premise that the dependencies are known to be fully satisfied. If the -p parameter is not added, leafpad will start to be compiled immediately without calculating dependencies. 01. # ybs -is -p leafpad 02. * Installing leafpad ... 03. app-editors/leafpad_0.8.18.1 For more options, please refer to ybs --help IV. The Ylmf OS system and the software running on it are composed of countless software packages. The compilation rules of each software package are controlled by the pbs file. It can be said that pbs is the soul of Ylmf OS. And the ybs method realizes automation to a certain extent, and at the same time, through the pbs file, complete transparency and control over the compilation and installation process are also maintained. In addition to sharing ypk packages, everyone is welcome to submit ybs files to us. At the same time, friends with the ability are welcome to join the development team. We will give you an account to maintain the ybs tree together with the developers. Please contact [email protected]. -------------------------------------------------------------------------------------------------------- The FHS standard makes many Linux distributions have a followable standard, so that software and users can predict the location of installed files and directories. It defines the following contents. Defines the use of each area in the file system Defines the minimum required files and directories Gives special examples of exceptions and contradictions --Meaning of file names /bin, binary binary files, executable commands, non-administrative commands /sbin, administrative commands, usually only administrators can use /lib, store library files /etc, location of configuration files /etc/sysconfig, additional configuration files for services, and configuration files related to network devices /etc/init.d service management script /usr, similar to the program file in Windows, the installation path of system daily management software /usr/include header file storage location /usr/local (installation path of third-party software) /usr/local/bin /boot, boot files, system startup, kernel, bootloader (grub) /dev, device file directory /home, /root, user home directory lost+found system unexpectedly powered off unsaved files /media (mount portable devices), /mnt, mount point /misc, miscellaneous /opt, option, some third-party software use this directory as the default installation location /proc, kernel-related information mapping in memory /sys, driver-related attribute information of storage devices such as disks or some bus devices; /srv, service, the intermediate storage location during service operation; /tmp, directory for storing temporary files /var, /var/log, log files /var/run, pid files /var/mail, location of user mail zzz19760225@zzz19760225-PC:~$ locale -a C C.UTF-8 en_US.utf8 POSIX zh_CN.utf8 zzz19760225@zzz19760225-PC:~$ locale -m ANSI_X3.110-1983 ANSI_X3.4-1968 ARMSCII-8 ASMO_449 BIG5 BIG5-HKSCS BRF BS_4730 BS_VIEWDATA CP10007 CP1125 CP1250 CP1251 CP1252 CP1253 CP1254 CP1255 CP1256 CP1257 CP1258 CP737 CP770 CP771 CP772 CP773 CP774 CP775 CP949 CSA_Z243.4-1985-1 CSA_Z243.4-1985-2 CSA_Z243.4-1985-GR CSN_369103 CWI DEC-MCS DIN_66003 DS_2089 EBCDIC-AT-DE EBCDIC-AT-DE-A EBCDIC-CA-FR EBCDIC-DK-NO EBCDIC-DK-NO-A EBCDIC-ES EBCDIC-ES-A EBCDIC-ES-S EBCDIC-FI-SE EBCDIC-FI-SE-A EBCDIC-FR EBCDIC-IS-FRISS EBCDIC-IT EBCDIC-PT EBCDIC-UK EBCDIC-US ECMA-CYRILLIC ES ES2 EUC-JISX0213 EUC-JP EUC-JP-MS EUC-KR EUC-TW GB18030 GB2312 GBK GB_1988-80 GEORGIAN-ACADEMY GEORGIAN-PS GOST_19768-74 GREEK-CCITT GREEK7 GREEK7-OLD HP-GREEK8 HP-ROMAN8 HP-ROMAN9 HP-THAI8 HP-TURKISH8 IBM037 IBM038 IBM1004 IBM1026 IBM1047 IBM1124 IBM1129 IBM1132 IBM1133 IBM1160 IBM1161 IBM1162 IBM1163 IBM1164 IBM256 IBM273 IBM274 IBM275 IBM277 IBM278 IBM280 IBM281 IBM284 IBM285 IBM290 IBM297 IBM420 IBM423 IBM424 IBM437 IBM500 IBM850 IBM851 IBM852 IBM855 IBM856 IBM857 IBM860 IBM861 IBM862 IBM863 IBM864 IBM865 IBM866 IBM866NAV IBM868 IBM869 IBM870 IBM871 IBM874 IBM875 IBM880 IBM891 IBM903 IBM904 IBM905 IBM918 IBM922 IEC_P27-1 INIS INIS-8 INIS-CYRILLIC INVARIANT ISIRI-3342 ISO-8859-1 ISO-8859-10 ISO-8859-11 ISO-8859-13 ISO-8859-14 ISO-8859-15 ISO-8859-16 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-9E ISO-IR-197 ISO-IR-209 ISO-IR-90 ISO_10367-BOX ISO_10646 ISO_11548-1 ISO_2033-1983 ISO_5427 ISO_5427-EXT ISO_5428 ISO_646.BASIC ISO_646.IRV ISO_6937 ISO_6937-2-25 ISO_6937-2-ADD ISO_8859-1,GL ISO_8859-SUPP IT JIS_C6220-1969-JP JIS_C6220-1969-RO JIS_C6229-1984-A JIS_C6229-1984-B JIS_C6229-1984-B-ADD JIS_C6229-1984-HAND JIS_C6229-1984-HAND-ADD JIS_C6229-1984-KANA JIS_X0201 JOHAB JUS_I.B1.002 JUS_I.B1.003-MAC JUS_I.B1.003-SERB KOI-8 KOI8-R KOI8-RU KOI8-T KOI8-U KSC5636 LATIN-GREEK LATIN-GREEK-1 MAC-CENTRALEUROPE MAC-CYRILLIC MAC-IS MAC-SAMI MAC-UK MACINTOSH MAC_CENTRALEUROPE MIK MSZ_7795.3 NATS-DANO NATS-DANO-ADD NATS-SEFI NATS-SEFI-ADD NC_NC00-10 NEXTSTEP NF_Z_62-010 NF_Z_62-010_(1973) NF_Z_62-010_1973 NS_4551-1 NS_4551-2 PT PT154 PT2 RK1048 SAMI SAMI-WS2 SEN_850200_B SEN_850200_C SHIFT_JIS SHIFT_JISX0213 T.101-G2 T.61-7BIT T.61-8BIT TCVN5712-1 TIS-620 TSCII UTF-8 VIDEOTEX-SUPPL VISCII WIN-SAMI-2 WINDOWS-31J zzz19760225@zzz19760225-PC: [ Last edited by zzz19760225 on 2017-11-11 at 18:11 ] |
|
| Floor54 zzz19760225 | Posted 2017-06-14 01:57 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
1
[ Last edited by zzz19760225 on 2017-11-11 at 18:11 ] |
|
| Floor55 zzz19760225 | Posted 2017-06-14 01:58 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
1
Is there any emulator/virtual machine that can run Loongson's desktop system? :thaiqi http://ask.loongnix.org/?/question/111 Running Loongson operating system in QEMU simulation : Loongson Melan WIKI http://dev.lemote.com/wiki/index.php?title=在_QEMU_模拟运行龙芯操作系统 Here is a courseware for running Loongson kernel with qemu. :iapcmloongson http://ftp.loongnix.org/toolchain/qemu/ 2 (Featured) (Docker Series One) Solving the exit problem of docker 1.12.2 on Loongson Fedora21 platform ------------------------ :loongnix http://ask.loongnix.org/?/article/80 (Featured) (Docker Series Two) Making docker image on Loongson Fedora21 platform and solving vi garbled code problem --------------- :huangxg http://ask.loongnix.org/?/article/81 (Featured) (Docker Series Three) Making feodra21-tools docker image on Loongson Fedora21 platform ------------------------ :huangxg http://ask.loongnix.org/?/article/82 (Featured) (Docker Series Four) Making feodra21-apache-php-mysql docker image on Loongson Fedora21 platform :huangxg http://ask.loongnix.org/?/article/85 (Featured) (Docker Series Five) Making feodra21-loongson-app docker image on Loongson Fedora21 platform ------------ :huangxg http://ask.loongnix.org/?/article/86 (Featured) (Docker Series Six) Building container management tool dockerUI on Loongson platform and solving the bug of dockerUI starting container :renyafei http://ask.loongnix.org/?/article/84 (Featured) (Docker Series Seven) Uploading docker image to docker hub on Loongson Fedora21 platform ------------------------- :huangxg http://ask.loongnix.org/?/article/87 (Featured) (Docker Series Eight) Deploying Docker registry on Fedora21 -------------------------------------------------- :mangoooo http://ask.loongnix.org/?/article/88 (Featured) (Docker Series Nine) Portainer deployment scheme on Loongson Fedora21 platform ---------------------------------------- :jiangxinshang http://ask.loongnix.org/?/article/90 (Featured) (Docker Series Ten) Building Loongson platform Docker Swarm cluster --------------------------------------------- :mangoooo http://ask.loongnix.org/?/article/91 (Featured) (Loongson Public Cloud Series One) Building distributed storage service etcd ------------------------------------------------- :renyafei http://ask.loongnix.org/?/article/93 (Featured) (Docker Series Eleven) Compiling and deploying scheme of kubernetes cluster on Loongson platform --------------------------------- :jiangxinshang http://ask.loongnix.org/?/article/105 [ Last edited by zzz19760225 on 2017-12-25 at 11:16 ] |
|
| Floor56 zzz19760225 | Posted 2017-06-14 01:58 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
Decimal Network Information Technology Co., Ltd.
http://www.em777.net/dnss.html Digital Domain Name Specification http://www.em777.net/1.html XV6 Teaching System https://th0ar.gitbooks.io/xv6-chinese/content/content/chapter0.html [ Last edited by zzz19760225 on 2017-10-12 at 06:19 ] |
|
| Floor57 zzz19760225 | Posted 2017-06-14 01:58 |
| 超级版主 Posts 2,020 Credits 3,673 | |
| Floor58 zzz19760225 | Posted 2017-06-14 01:58 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
Xiong Puxiang
Founder of RT-Thread Real-Time Embedded Operating System 21 people agreed with this answer It seems some people asked, let me generally talk about possible ways. First of all, what is your purpose of learning? It's best to have practice if you learn. Just learning without final practice will be forgotten soon. So the overall steps are: learn, practice; encounter problems in practice, then go back to study some details; repeat like this, and finally can master/expertly understand the whole system. Let's get down to business and talk about how to effectively learn RT-Thread. 0. Please prepare basic C language knowledge; know how to write basic C language code; when there are compilation errors in written code, know how to correct them; 1. Find a set of development boards to start with; because considering the reason of code debugging, it is recommended to choose development boards with stm32 or nxp lpc series processors. Spend some time, basically without much code modification, get the kernel + shell running. <This is also the process of familiarizing with the development environment and creating projects (you can also understand how to generate project files for Keil MDK/IAR and other tools using the command line)> 2. Being able to get the basic kernel + shell running has actually entered the threshold of RT-Thread. Adding a small code, printing "Hello RT-thread\n" should be no problem. On this basis, the next step is the scope of real-time operating system learning. Classic (real-time) operating system problems can be two: producer-consumer problem; philosopher problem. You can find the corresponding problem descriptions, and then implement them on the development board (preferably in multiple ways). <By using the mechanisms provided by RT-Thread to solve these problems, you should basically understand how to create multiple tasks in RT-Thread, how to synchronize between multiple tasks, and how tasks communicate with each other.> If there are still some basic knowledge of the operating system that you don't understand during this process, you can find some books to check. In 2017, there should also be a book based on RT-Thread, which can be read in parallel. 3. After solving the producer/consumer and philosopher problems, basically it can be said that you have entered the door of RTOS (this is not just for RT-Thread). Then you can browse and get familiar with and use other parts of RT-Thread, such as timers, memory management, etc. Of course, it is also necessary to understand the device framework of RT-Thread. The simplest: how to use a serial port device, and you can also see how the shell operates the serial port device. Here, that "RT-Thread Programming Guide" is the most important reference, you can read it carefully, and most problems can probably get answers in it. <If you plan to use RT-Thread for a long time, it is necessary to understand the device framework (not necessarily very familiar), because a principle of RT-Thread is to be able to use it as a whole, and they can integrate with each other; when the peripheral components need to involve underlying operations, they are all based on the RT-Thread device model to achieve portability of each chip platform> 4. Understand the components of RT-Thread. The core components of RT-Thread include: real-time kernel; command line shell; file system; TCP/IP network protocol stack, etc. Then, it is the standard interface trying to be compatible with POSIX. According to this principle, for the file system and TCP/IP network protocol stack, RT-Thread (tries) to provide standard interfaces, hoping to achieve quick start and quick migration. So when using these components and not knowing how to use them, it is also very helpful to cross-reference some POSIX materials. By this step, it is actually closely related to practice. Without practice, this part will also be forgotten very quickly. The steps to learn RT-Thread can basically be followed in a similar way. By step 4, it is entering the long-term process of learning/using. The entry time in the front should not be long, especially with certain guidance, this time should be shorter. In my previous experience, you can make small tasks one by one to carry out, complete them and quickly gain practical experience. I used to write a short "RT-Thread Experiment Manual", but there are only topics, no answers. It is publicly posted on the Internet, and everyone just browses it, lacking the actual hands-on link. https://www.zhihu.com/question/23147481#answer-50157520 Zhihu answer How to learn RT-Thread, it feels a bit half-baked! What recommended learning methods!? http://www.rt-thread.org Homepage http://www.rt-thread.org/book/book.html Manual http://www.rt-thread.org/dokuwiki/doku.php?id=Get RT-Thread source code https://github.com/RT-Thread/rt-thread RTLinux [ Last edited by zzz19760225 on 2017-8-19 at 20:11 ] |
|
| Floor59 zzz19760225 | Posted 2017-06-14 01:58 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
shawlee:
The PSP emulator is for MIPS, similar to Loongson. [ Last edited by zzz19760225 on 2017-12-8 at 12:45 ] |
|
| Floor60 zzz19760225 | Posted 2017-06-14 01:58 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
User Manual
DC Programmable Electronic Load Model IT8510 Copyright belongs to ETMUS Electronics (Nanjing) Co., Ltd. Ver2.0/Jan, 2010/ IT8500-401 http://www.go-gddq.com/down/2012-02/12022908078144.pdf All Army Weapon Equipment Procurement Information Network http://www.weain.mil.cn/gfzl/ [ Last edited by zzz19760225 on 2017-8-21 at 12:49 ] |
|
| Prev 1 2 3 4 5 6 7 … 9 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |