Cov txheej txheem:
- Kauj Ruam 1: Cov khoom siv
- Kauj ruam 2: Npaj SD Card
- Kauj ruam 3: Muab faib rau SD Card
- Kauj ruam 4: Muab faib SD Card (txuas ntxiv)
- Kauj Ruam 5: Tsim Cov Ntaub Ntawv System
- Kauj Ruam 6: Tau txais Distro thiab Kernel
- Kauj ruam 7: Nruab OS
- Kauj Ruam 8: Kho Fstab
- Kauj Ruam 9: Rov Pib Dua Tus Password
- Kauj ruam 10: Hloov kho Network Configuration
- Kauj Ruam 11: Npaj Koj Lub Box Linux kom Hloov Kho Lub Kernel
- Kauj ruam 12: Hloov Boot Parms
- Kauj Ruam 13: Tshaj Tawm Cov Lus Cim
Video: Yuav Ua Li Cas Nruab Fedora ntawm SheevaPlug thiab Boot Tawm SD Card: 13 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Kuv pom ib qho kev tshaj tawm ntawm SheevaPlug ntawm Slashdot thiab tom qab ntawd hauv Mechanics Nrov. Nws zoo li cov cuab yeej nthuav nws ua haujlwm @ 2.5w, tsis muaj kiv cua, lub xeev ruaj khov thiab tsis xav tau lub ntsuas.
Tau ntau xyoo kuv tau nqa ib puag ncig qub CRT saib hauv qhov xwm txheej kuv lub thawv linux poob, tsis xav tau vim qhov no muaj cov khoom siv tiag tiag ua hauv. Cov lus qhia no yuav nthuav qhia yuav ua li cas tsim SheevaPlug nrog Fedora (v12), rau ob qho tib si khiav thiab khau raj tawm ntawm SD daim npav. Kuv tau txais ntau cov ntaub ntawv zoo los ntawm PlugComputer Forum thiab FedoraProject Wiki
Kauj Ruam 1: Cov khoom siv
Koj yuav xav tau: SheevaPlug Dev Kit (Kuv yuav kuv li los ntawm Ntiaj Teb Nplai) SD CardSD Card ReaderA linux lub thawv txhawm rau nruab OS ntawm daim npav SD.
Kauj ruam 2: Npaj SD Card
Ntxiv SD Card rau koj lub thawv linux koj tab tom tsim qhov no thiab khiav: dmesg | tail Qhov tso tawm ntawm no qhia kuv tias nws tau raug teeb tsa ua /dev /sdc.
Kauj ruam 3: Muab faib rau SD Card
Peb yuav faib daim npav SD tam sim no.fdisk /dev /sdc Tshem tawm cov faib uas twb muaj lawm. d 1 yib
Kauj ruam 4: Muab faib SD Card (txuas ntxiv)
Tsim qhov muab faib tshiab. caccept defaultsMake it bootableaVerify it pWrite the new parition tablew
Kauj Ruam 5: Tsim Cov Ntaub Ntawv System
Tsim cov fileystem. mkfs.ext2 /dev /sdc1
Kauj Ruam 6: Tau txais Distro thiab Kernel
Rub lub Kernel thiab Distrowget https://ftp.linux.org.uk/pub/linux/arm/fedora/platforms/sheevaplug/uImage-2.6.30-sheevaplugwget https://ftp.linux.org.uk/pub/ linux/caj npab/fedora/rootfs/rootfs-f12.tar.bz2
Kauj ruam 7: Nruab OS
Tsim ib qho mountmkdir /media /flash Mount SD Card mount /dev /sdc1 /media /flash Uncompress the filesystemtar -jxf rootfs -f12.tar.bz2 Luam the fileystem mus rau sd cardcp -r rootfs -f12 /* /media /flash/Luam cov ntsiav mus rau sd cardcp uImage-2.6.30-sheevaplug/media/flash/boot/
Kauj Ruam 8: Kho Fstab
Fstab yuav tsum tau kho kom taw tes rau daim npav SD. Sheevaplug pom daim npav SD li /dev /mmcblk0p X vi /etc /fstab hloov /hauv paus rau /dev /mmcblk0p1 /ext2 txuas ntxiv 10
Kauj Ruam 9: Rov Pib Dua Tus Password
Kuv tsis muaj lub tswv yim dab tsi hauv paus lo lus zais tau teeb tsa. Yog li peb yuav tshem nws. vi/media/flash/etc/shadow Hloov qhov tshem tus password: hauv paus: 65946945gkfhkfjghkfghfkngdfshgt843: 14495: 0: 99999: 7::: toroot:: 14495: 0: 99999: 7:::
Kauj ruam 10: Hloov kho Network Configuration
Kho lub network teeb tsa rau koj lub network vi/media/flash/etc/sysconfig/network NETWORKING = yog HOSTNAME = YourHostnameHerevi/media/flash/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0 BOOTPROTO = zoo li qub ONBOOT = yog NETMASK = 255.255.255.0 IPADDR = 10.0.0.2 GATEWAY = 10.0.0.1 DNS1 = 10.0.0.1 TYPE = Ethernet USERCTL = tsis muaj PEERDNS = tsis muaj IPV6INIT = tsis muaj NM_CONTROLLED = tsis Unmount daim npav SD umount /media /flash Muab tso rau hauv SheevaPlug
Kauj Ruam 11: Npaj Koj Lub Box Linux kom Hloov Kho Lub Kernel
SheevaPlug nkoj nrog lub khoos phis tawj uas tuaj yeem khau raj ntawm SD daim npav. Yog li koj yuav tsum hloov kho nws dua TFTP Nruab tftp serveryum nruab tftp-server Tau txais u-boot duab thiab ua rau nws muaj rau sheevaplug cd/var/lib/tftpboot/wget https://www.cyrius.com/tmp/ u-boot.bin-3.4.19 mv u-boot.bin-3.4.19 uboot.bin vi /etc/xinetd.d/tftp hloov "lov tes taw = yog" rau "lov tes taw = tsis" Ntxiv tsab ntawv los thauj cov ftdi tus tsav tsheb thaum SheevaPlug txuas nrog: vi /etc/udev/rules.d/85-sheevaplug.rules # yog tias tsis muaj tus tsav tsheb tau thov lub interface tsis tau, ntsaws ftdi_sio ACTION == "ntxiv", SUBSYSTEM == "usb", ENV { DEVTYPE} == "usb_interface", / ATTRS {idVendor} == "9e88", ATTRS {idProduct} == "9e8f", DRIVER == "", RUN+= "/sbin/modprobe -b ftdi_sio" # ntxiv sheevaplug VID thiab PID rau cov npe khoom siv txhawb los ntawm ftdi_sio ACTION == "ntxiv", SUBSYSTEM == "tsav tsheb", / ENV {DEVPATH} == "/bus/usb-serial/drivers/ftdi_sio", / ATTR { new_id} = "9e88 9e8f" # xaiv qhov tsim tau yooj yim symlink rau lub console ntaus ACTION == "ntxiv", KERNEL == "ttyUSB*", / ATTRS {interface} == "SheevaPlug JTAGKey FT2232D B", / ATTR S {bInterfaceNumber} == "01", / SYMLINK+= = "sheevaplug" *** Plug rau hauv cov kab ntawv txuas los ntawm Sheevaplug, yog tias a /dev /ttyUSBx tsis tau tsim, rov pib dua koj li linux system
Kauj ruam 12: Hloov Boot Parms
Nqa tus xov tooj usb txuas rau lub txuas me me usb ntawm SheevaPlug mus rau qhov chaw nres nkoj usb ntawm koj lub thawv linux. screen /dev /ttyUSBX 115200 Hloov kho firmware Marvell >> setenv serverip 192.168.1.2 # IP ntawm koj li TFTP server Marvell >> setenv ipaddr 192.168.1.200 #IP ntawm sheevaplug Marvell >> bubt uboot.bin ** Ceeb Toom ** Yog U- Boot Endiannes tab tom yuav hloov (LE-> BE lossis BE-> LE), Tom qab ntawd Env tsis yuav tsum tau thim.. Override Env tsis? (y/n) n Tom ntej no koj yuav tsum teeb tsa lub bootloader kom khau raj tawm ntawm SD daim npav SD mainetLinux yog setenv arcNumber 2097 setenv bootargs_console console = ttyS0, 115200 setenv bootargs_root 'rw root =/dev/mmcblk0p1 rootdelay = 10 rootfstype = ext2 bootcmd_mmc 'mmcinit; ext2load mmc 0 0x800000 /boot /uImage-2.6.30-sheevaplug 'setenv bootcmd' setenv bootargs $ (bootargs_console) $ (bootargs_root); khiav bootcmd_mmc; bootm 0x0800000 'saveenv pib dua Nws yuav tsum khau raj tam sim no.
Kauj Ruam 13: Tshaj Tawm Cov Lus Cim
Koj yuav tsum tau hloov lub hauv paus lo lus zais. IP Tables tsis thauj khoom raug cai ntawm kuv f12 teeb tsa. Yog li hloov /etc/hosts.allow thiab hosts.deny kom txog thaum ib tus neeg tuaj yeem txiav txim siab nws … Kuv khiav Apache/PHP/DNSmasq/samba/etc rau nws thiab tsis tuaj yeem pom tiag tiag qhov ua tau zoo ntaus.
Pom zoo:
Yuav Ua Li Cas Tsim Linux Boot Drive (thiab Yuav Siv Li Cas): 10 Cov Kauj Ruam
Yuav Ua Li Cas Tsim Linux Boot Drive (thiab Yuav Siv Li Cas): Nov yog cov lus qhia yooj yim yuav pib li cas nrog Linux, tshwj xeeb yog Ubuntu
Yuav Ua Li Cas Thiaj Li Tawm Tawm Tawm Tawm Rau Hauv Kev Hloov Pauv Hloov?: 6 Cov Kauj Ruam
Yuav Ua Li Cas Thiaj Li Ua Tus Tawm Tawm Tawm Rau Hauv Kev Hloov Transformer?: Yog tias koj xav tau tus tswv lub zog hloov pauv, tom qab ntawd koj yuav tsum tau nyeem kab lus no. Peb yuav xav ua kom tus neeg hloov pauv ntawm txhais ceg txav mus, ua haujlwm yooj yim thiab hais ob peb yam, lossis tseem paub yuav ua li cas sawv, zaum thiab yoj tes. Lub zog los ntawm
Kho Ob Chav Tawm Tawm Tawm Tawm Tawm Cov Khoom Siv Hluav Taws Xob: 10 Cov Kauj Ruam (nrog Duab)
Kho Ob Chav Tawm Tawm Tawm Tawm Tawm Tawm Cov Khoom Siv Hluav Taws Xob: Nta: AC-DC Hloov pauv ob npaug tso tawm qhov hluav taws xob (Zoo-Hauv av-Tsis Zoo) Kho txoj kab zoo thiab tsis zoo Tsuas yog Ib Leeg Ib Leeg AC hloov pauv cov suab nrov (20MHz-BWL, tsis muaj thauj khoom): Ib puag ncig 1.12mVpp Tsawg suab nrov thiab cov txiaj ntsig ruaj khov (zoo tagnrho
Yuav Ua Li Cas Nruab thiab Boot Damn Me Linux ntawm USB Flash Drive: 6 Cov Kauj Ruam
Yuav Ua Li Cas Txhim Kho thiab Boot Damn Me Me Linux ntawm USB Flash Drive: Xav paub yuav ua li cas rau nruab thiab khau raj Damn Me Linux ntawm koj lub USB flash drive tom qab ntawv nyeem. koj yuav tsum tau tig koj cov neeg hais lus zoo li txhua txoj hauv kev rau cov vis dis aus kuv tau muaj teeb meem nrog lub ntim mic
Yuav Ua Li Cas Txuas Tus Fader Nrog Kev Tawm Suab thiab Tawm Tawm: 14 Cov Kauj Ruam
Yuav Ua Li Cas Txuas Tus Fader Nrog Suab Tawm Tswv Yim thiab Tawm Tawm: Tus fader yog ib qho ntawm cov hauv paus ntsiab lus rau kev sib xyaw ua ke. Koj tuaj yeem tswj hwm koj lub hauv paus nrog kev txav ntawm fader. Muaj ntau txoj hauv kev los siv cov khawm thawb hauv koj cov phiaj xwm (piv txwv li nyiag nkas nas thiab keyboard, lossis Arduino, tau txais, MC