Yuklash - Booting

Yilda hisoblash, yuklash boshlash jarayoni kompyuter. Bu tomonidan boshlanishi mumkin apparat masalan, tugmachani bosish yoki a dasturiy ta'minot buyruq. U yoqilgandan so'ng, kompyuter markaziy protsessor (CPU) tarkibida hech qanday dastur yo'q asosiy xotira, shuning uchun ba'zi jarayonlar bajarilishidan oldin dasturiy ta'minotni xotiraga yuklashi kerak. Buni apparat yoki proshivka protsessorda yoki kompyuter tizimidagi alohida protsessor tomonidan.

Kompyuterni qayta yoqish ham chaqiriladi qayta yuklash, bu "qattiq" bo'lishi mumkin, masalan. protsessorga elektr quvvati o'chirilgandan yoki yoqilgandan so'ng, "yumshoq" bo'lib, u erda quvvat kesilmaydi. Ba'zi tizimlarda yumshoq yuklash ixtiyoriy ravishda o'chirilishi mumkin Ram nolga. Ikkala qattiq va yumshoq yuklash tugmachani bosish yoki dastur buyrug'i kabi qo'shimcha qurilmalar tomonidan boshlanishi mumkin. Operatsion vaqtida yuklash tugallanadi ish vaqti tizimi, odatda operatsion tizim va ba'zi ilovalar,[nb 1] erishildi.

Kompyuterni holatidan qaytarish jarayoni qish uyqusi yoki uxlash yuklashni o'z ichiga olmaydi. Minimal, ba'zilari o'rnatilgan tizimlar ishlashni boshlash uchun sezilarli yuklash ketma-ketligini talab qilmang va yoqilganda shunchaki ROM-da saqlanadigan operatsion dasturlarni ishga tushirishingiz mumkin. Barcha hisoblash tizimlari davlat mashinalari, va qayta yuklash kutilmagan, qulflangan holatdan belgilangan nol holatiga qaytishning yagona usuli bo'lishi mumkin.

Operatsion tizimni yoki mustaqil yordam dasturini yuklashdan tashqari, yuklash jarayoni operatsion tizimdagi muammolarni tashxislash uchun saqlash damp dasturini ham yuklashi mumkin.

Yuklash qisqa bootstrap[1][2] yoki bootstrap yuki va iboradan kelib chiqadi o'zini bag'ridan ushlab tortmoq.[3][4] Foydalanish, agar dasturiy ta'minotning aksariyati kompyuterga allaqachon o'rnatilgan boshqa dasturiy ta'minot tomonidan kompyuterga yuklangan bo'lsa, dastlabki dasturiy ta'minotni kompyuterga yuklash uchun qandaydir mexanizm mavjud bo'lishi zarurligiga e'tiborni qaratadi.[5] Dastlabki kompyuterlar ushbu muammoni hal qilish uchun kichik dasturni xotiraga olish uchun turli xil maxsus usullardan foydalanganlar. Ixtirosi faqat o'qish uchun xotira (ROM) har xil turdagi ushbu paradoksni kompyuterlarni o'chirib bo'lmaydigan ishga tushirish dasturi bilan etkazib berishga imkon berish orqali hal qildi. ROM quvvatining o'sishi boshlang'ich protseduralarni yanada puxta amalga oshirishga imkon berdi.

Tarix

Dasturlash uchun ishlatiladigan kalit va kabellar ENIAC (1946)

Qisqa boshlang'ich dasturni kompyuterga yuklash uchun juda ko'p turli xil usullar mavjud. Ushbu usullar oddiy, jismoniy kirishdan olinadigan ommaviy axborot vositalariga, ular murakkabroq dasturlarni o'z ichiga oladi.

Oldindan o'rnatilgan elektron-ROM misollari

Dastlabki kompyuterlar

Dastlabki kompyuterlar 1940 va 50-yillarda dasturlash uchun bir necha hafta vaqt ketishi mumkin bo'lgan yagona muhandislik harakatlari edi va dasturni yuklash hal qilinishi kerak bo'lgan ko'plab muammolardan biri edi. Dastlabki kompyuter, ENIAC, xotirada hech qanday dastur saqlanmagan edi, lekin har bir muammo uchun o'zaro bog'langan kabellar konfiguratsiyasi orqali o'rnatildi. Bootstrapping ENIAC-ga taalluqli emas edi, uning apparati konfiguratsiyasi kuch ishlatilishi bilanoq muammolarni hal qilishga tayyor edi.

The EDSAC tizim, qurilishi kerak bo'lgan ikkinchi saqlanadigan dasturiy kompyuter o'tish tugmachalari ishga tushirish tugmasi bosilganda sobit dasturni xotiraga o'tkazish. Ushbu qurilmada saqlangan dastur, qaysi Devid Uiler 1948 yil oxirida yakunlandi, qo'shimcha ko'rsatmalar yuklandi perforator keyin ularni qatl qildilar.[6][7]

Birinchi tijorat kompyuterlari

Kabi tijorat sotuvi uchun birinchi dasturlashtiriladigan kompyuterlar UNIVAC I va IBM 701[8] ularning ishlashini soddalashtirish uchun xususiyatlarni o'z ichiga olgan. Ular odatda to'liq kirish yoki chiqish ishini bajaradigan ko'rsatmalarni o'z ichiga olgan. Xuddi shu apparat mantig'idan a tarkibini yuklash uchun foydalanish mumkin punch karta (eng tipik) yoki boshqa kirish muhiti, masalan magnit baraban yoki magnit lenta, bitta tugmani bosib bootstrap dasturini o'z ichiga olgan. Ushbu yuklash tushunchasi turli xil nomlar deb nomlangan IBM 1950-yillar va 1960-yillarning boshlaridagi kompyuterlar, ammo IBM tomonidan "Dastlabki dastur yuki" atamasi ishlatilgan IBM 7030 Stretch[9] va keyinchalik uni mainframe liniyalari uchun ishlatgan Tizim / 360 1964 yilda.

Dastlabki dastur uchun perforator IBM 1130 (1965)

The IBM 701 kompyuterda (1952–1956) birinchi o'qishni boshlagan "Yuklash" tugmasi mavjud edi 36-bit so'z ichiga asosiy xotira a .da joylashgan perchkadan kartani o'quvchi, magnit lenta lenta drayveri, yoki magnit baraban birligi, yukni tanlash tugmachasining holatiga qarab. Keyinchalik chap 18-bitli yarim so'z buyruq sifatida bajarildi, odatda qo'shimcha so'zlarni xotiraga o'qiydi.[10][11] Keyinchalik yuklangan yuklash dasturi amalga oshirildi, bu esa o'z navbatida, ushbu vositadan kattaroq dasturni inson operatorining yordamisiz xotiraga yukladi. "Boot" atamasi bu ma'noda kamida 1958 yildan beri qo'llanilgan.[12]

1970-yillardan IBM System / 3 konsol. Dastur yukini tanlash tugmasi pastki chap tomonda; Dastur yuklagichi pastki o'ng tomonda.

O'sha davrdagi boshqa IBM kompyuterlari o'xshash xususiyatlarga ega edi. Masalan, IBM 1401 tizimi (1958 y.) zımbalalı kartadan dasturni yuklash uchun kartani o'quvchi ishlatgan. Perchin kartasida saqlangan 80 ta belgi 001 dan 080 gacha bo'lgan xotira joylarida o'qildi, so'ngra kompyuter o'zining birinchi saqlangan ko'rsatmasini o'qish uchun 001 xotiraga joylashadi. Ushbu ko'rsatma har doim bir xil edi: ushbu 80 ta xotira joyidagi ma'lumotlarni yig'ish maydoniga ko'chiring, u erda 2, 3, 4 va hokazo zımbalama kartalaridagi ma'lumotlar birlashtirilib, saqlangan dasturni yaratishi mumkin edi. Ushbu ma'lumot yig'ilish maydoniga o'tkazilgandan so'ng, mashina 080 (ko'rsatma kartani o'qish) joyidagi ko'rsatma bo'yicha tarqaladi va keyingi karta o'qiladi va uning ma'lumotlari qayta ishlanadi.

Yana bir misol IBM 650 (1953), operatsion panelida xotira so'zi sifatida (manzil 8000) manzilga ega bo'lgan va ko'rsatma sifatida bajarilishi mumkin bo'lgan o'nta 10-holatli kalitlarga ega bo'lgan kasrli mashinalar. Shunday qilib, kalitlarni 7004000400 ga o'rnatish va tegishli tugmani bosish kartani o'quvchi ichidagi birinchi kartani xotirada o'qiydi (op kod 70), 400 manzildan boshlab 400 ga o'tib, ushbu kartadagi dasturni bajarishni boshlaydi.[13]

IBM raqobatchilari, shuningdek, bitta tugmachali dasturni yuklashni taklif qilishdi.

  • The CDC 6600 (taxminan 1964 yilda) a o'lik boshlanish 144 o'tish tugmachasi bo'lgan panel; tugmachani o'chirish tugmasi xotiradan o'tish tugmachasidan 12 ta so'zni kiritdi periferik protsessor (PP) 0 va yuk ketma-ketligini boshladi. PP 0 kerakli kodni o'z xotirasiga yukladi va keyin boshqa PP-larni ishga tushirdi.
  • The GE 645 (taxminan 1965 y.) "SYSTEM BOOTLOAD" tugmachasi bo'lgan, u bosilganda Kirish-chiqarish boshqaruvchilardan biri 64 so'zli dasturni diodadan xotiraga yuklashiga sabab bo'lgan faqat o'qish uchun xotira va ushbu dasturni ishga tushirishni boshlash uchun uzilishni etkazing.[14]
  • Ning birinchi modeli PDP-10 "O'QING" tugmachasi bor edi, u bosilganda protsessorni qayta tikladi va boshqaruv panelidagi kalitlar tomonidan belgilangan qurilmada I / U ishini boshladi, maqsadli manzilni 36 bitli so'z bilan o'qish va keyingi so'zlarni o'qish uchun hisoblash ; o'qish tugagandan so'ng, protsessor o'qilgan kodni oxirgi o'qilgan so'zga o'tish orqali bajarishni boshladi.[15]

Buning diqqatga sazovor o'zgarishi Burrouz B1700 bu erda na bootstrap ROM, na qattiq IPL operatsiyasi mavjud. Buning o'rniga, tizim tiklangandan so'ng, u old panelga o'rnatilgan lenta haydovchisidan opkodlarni ketma-ket o'qiydi va bajaradi; bu RAM-da yuklash moslamasini o'rnatadi va keyinchalik bajariladi. Biroq, bu tizim haqida ozgina taxminlarni keltirib chiqarganligi sababli, u erda tushunarli kodni ko'rsatadigan diagnostika (Texnik sinovlar muntazamligi) lentalarini yuklash uchun bir xil darajada foydalanish mumkin. old panel protsessorning qo'pol ishlamay qolish holatlarida ham.

IBM System / 360 va vorislari

In IBM System / 360 va uning davomchilari, shu jumladan hozirgi z / Arxitektura mashinalari, yuklash jarayoni sifatida tanilgan Dastlabki dastur yuki (IPL).

IBM ushbu atamani 7030 (cho'zish),[9] uni System / 360 dizayni uchun qayta tikladi va bugungi kunda ushbu muhitda foydalanishda davom etmoqda.[16] System / 360 protsessorlarida IPL kompyuterning operatori tomonidan uchta o'n oltita raqamli qurilmaning manzilini (CUU; C = I / O Channel manzili, UU = Boshqarish birligi va Qurilma manzili) tanlash orqali boshlanadi.[nb 2]) ni bosib, keyin YUK tugmasi Yuqori qismida Tizim / 360 modellar, eng ko'p[nb 3] Tizim / 370 va ba'zi keyingi tizimlar, kalitlarning funktsiyalari va LOAD tugmasi grafik konsol ekranidagi tanlanadigan joylar yordamida simulyatsiya qilinadi, ko'pincha[nb 4] an IBM 2250 o'xshash qurilma yoki an IBM 3270 o'xshash qurilma. Masalan, System / 370 Model 158-da 0-7-X klaviatura ketma-ketligi (nol, etti va X, shu tartibda) kirish maydoniga kiritilgan qurilma manzilidan IPL-ga olib keladi. The Amdahl 470V / 6 va unga tegishli protsessorlar ixtiyoriy ikkinchi kanal birligi o'rnatilgan protsessorlarda to'rtta o'n oltita raqamni, jami 32 kanalni qo'llab-quvvatladilar. Keyinchalik IBM ham 16 dan ortiq kanallarni qo'llab-quvvatlaydi.

System / 360-dagi IPL funktsiyasi va uning izdoshlari hamda Amdahl's kabi mos keladigan narsalar operator tomonidan belgilangan qurilmadan asosiy xotiraga noldan boshlab 24 bayt o'qiydi. Sakkiz baytdan iborat ikkinchi va uchinchi guruhlar sifatida qabul qilinadi Kanal buyrug'i so'zlari (CCW) ishga tushirish dasturini yuklashni davom ettirish uchun (birinchi CCW har doim CPU tomonidan simulyatsiya qilinadi va Read IPL buyrug'idan iborat, 02 soat, buyruq zanjiri bilan va noto'g'ri uzunlik ko'rsatkichi bajarilishini bostirish bilan). Kiritish-chiqarish kanalining buyruqlari tugagach, sakkiz baytdan iborat birinchi guruh protsessorga yuklanadi Dastur holati Word (PSW) va ishga tushirish dasturi ushbu PSW tomonidan belgilangan joyda bajarilishini boshlaydi.[16] IPL qurilmasi odatda disk drayveri hisoblanadi, shuning uchun 02 soat o'qish turi buyrug'i, lekin xuddi shu protsedura, masalan, operatsion tizimni o'rnatishga imkon beradigan qurilmadan mustaqil ravishda lenta drayverlari yoki hatto karta o'quvchilar kabi boshqa kirish tipidagi qurilmalardan IPL uchun ishlatiladi. yangi boshlang'ich tarqatish magnit tasmasidan yangi kompyuterda. Disk tekshirgichlari uchun 02 soat buyruq, shuningdek tanlangan qurilmaning silindrni qidirishiga olib keladi 0000 soat, bosh 0000 soat, Seek silindrini va bosh buyrug'ini simulyatsiya qilish, 07 soatva yozuvni qidirish uchun 01 soat, Search ID Equal buyrug'ini simulyatsiya qilish, 31 soat; izlash va qidirish lenta va karta tekshirgichlari tomonidan simulyatsiya qilinmaydi, chunki ushbu qurilma sinflari uchun an 02 soat buyruq shunchaki ketma-ket o'qish buyrug'i, Read IPL buyrug'i emas.

Disk, lenta yoki karta maydonchasida haqiqiy operatsion tizimni yoki mustaqil yordam dasturini asosiy xotiraga yuklash uchun maxsus dastur bo'lishi kerak va shu maqsadda "IPL Text" mustaqil DASDI (Direct Access Storage Device) tomonidan diskka joylashtirilgan Initialization) dasturi yoki operatsion tizim ostida ishlaydigan unga tenglashtirilgan dastur, masalan, ICKDSF, lekin IPL-ga ega lentalar va karta maydonchalari odatda mavjud bo'lgan "IPL Text" bilan tarqatiladi.

Minikompyuterlar

PDP-8 / E bootstrap dasturini yuklash uchun ishlatiladigan kalitlarni ko'rsatadigan old panel

Minikompyuterlar bilan boshlanadi Raqamli uskunalar korporatsiyasi (DEC) PDP-5 va PDP-8 (1965) kirish va chiqish operatsiyalariga yordam berish uchun protsessor yordamida soddalashtirilgan dizayn. Bu xarajatlarni tejashga imkon berdi, ammo yuklashni bitta tugmani bosishdan ko'ra murakkablashtirdi. Minikompyuterlarda odatda biron bir yo'l bor edi almashtirish old paneldagi bir qator kalitlarni boshqarish orqali qisqa dasturlar. Dastlabki minikompyuterlar ishlatilgan magnit yadro xotirasi, o'chirilgan paytda o'z ma'lumotlarini yo'qotmagan, ushbu yuklash moslamalari o'rnatgichlari o'chirilmasa, o'z joylarida qoladi. Ba'zan o'chirish, tasodifan dastur xatolari tufayli barcha xotiraning ustiga yozilgan ko'chadan paydo bo'lganda yuz berdi.

Bunday oddiy yuklash shakliga ega bo'lgan boshqa minikompyuterlarga Hewlett-Packard's kiradi HP 2100 seriya (1960 yillarning o'rtalari), asl nusxasi Ma'lumotlar umumiy Nova (1969) va DEC-lar PDP-11 (1970).

Keyinchalik DEC ixtiyoriy ravishda qo'shib qo'ydi diodli matritsa 32 so'zgacha (64 bayt) bootstrap dasturini saqlagan PDP-11 uchun faqat o'qish uchun xotira. U ulangan M792 bosilgan elektron kartasidan iborat edi Unibus va 32 dan 16 gacha bo'lgan yarimo'tkazgichli diodalarni ushlab turdi. Barcha 512 diod mavjud bo'lganda, xotirada barcha "bitta" bitlar mavjud edi; karta biti "nol" bo'lishi kerak bo'lgan har bir diyotni kesib dasturlashtirildi. Shuningdek, DEC kartaning BM792-Yx seriyali versiyasini, keraksiz diodalarni qoldirib, ko'plab standart kirish moslamalari uchun oldindan dasturlashtirilgan holda sotdi.[17]

Eski yondashuvdan so'ng, avvalgi PDP-1-da apparat yuklagichi mavjud bo'lib, operatorga "yuklash" tugmachasini bosish kerak qog'oz lenta dasturni to'g'ridan-to'g'ri yadro xotirasiga yuklash uchun o'quvchi. Data General Supernova oldingi panel kalitlari yordamida kompyuterning ko'rsatmalarini avtomatik ravishda oldingi panel ma'lumotlari kalitlari tomonidan belgilangan qurilmadan xotiraga yuklashi va keyin yuklangan kodga o'tishi uchun foydalanilgan; Nova 800 va 1200-larda faqat o'qish mumkin bo'lgan maxsus xotiradan dasturni asosiy xotiraga yuklaydigan va unga o'tadigan kalit mavjud edi.[18]

Dastlabki minikompyuter yuklash yuklagichining misollari

Qog'oz lenta o'qiydigan mini-kompyuterda yuklash jarayonida ishga tushirilgan birinchi dastur, yuklash o'rnatuvchisi, yadro xotirasiga ikkinchi bosqichli yuklash yuklagichni o'qiydi (ko'pincha " Ikkilik yuklovchi) bilan qog'oz lentani o'qiy oladigan summa yoki tashqi xotira vositasidan operatsion tizim. Psevdokod yuklash moslamasi uchun quyidagi sakkizta ko'rsatma oddiy bo'lishi mumkin:

  1. P registrini 9 ga sozlang
  2. Qog'oz lenta o'quvchisini tayyorligini tekshiring
  3. Agar tayyor bo'lmasa, 2 ga o'ting
  4. Qog'oz lenta o'quvchisidan akkumulyatorga bayt o'qing
  5. Akkumulyatorni P registrida saqlash uchun saqlang
  6. Agar lentaning oxiri bo'lsa, 9 ga o'ting
  7. P registrini oshiring
  8. 2 ga o'tish

Tegishli misol, 1970-yillarda ishlab chiqarilgan Nicolet Instrument Corporation minikompyuterining yuklagichiga asoslanib, Teletayp Model 33 ASR teleprinter. Uning ikkinchi bosqichli yuklagichining baytlari qog'oz lentadan teskari tartibda o'qiladi.

  1. P registrini 106 ga sozlang
  2. Qog'oz lenta o'quvchisini tayyorligini tekshiring
  3. Agar tayyor bo'lmasa, 2 ga o'ting
  4. Qog'oz lenta o'quvchisidan akkumulyatorga bayt o'qing
  5. Akkumulyatorni P registridagi manzil bo'yicha saqlang
  6. P registrini kamaytiring
  7. 2 ga o'tish

Ikkinchi bosqich yuklagichining uzunligi shuki, oxirgi bayt 7-joyni yozadi. 6-o'rindagi ko'rsatma bajarilgandan so'ng, 7-o'rin ikkinchi bosqichli yuklovchini bajarishni boshlaydi. Ikkinchi bosqichli yuklovchi keyinchalik operatsion tizimni o'z ichiga olgan lentani lenta o'quvchisiga joylashtirishini kutadi. Yuklash yuklagichining ikkinchi bosqich yuklagichidan farqi shundaki, qog'oz lentani o'qishdagi xatolarni tuzoqqa tushirish uchun tekshiruv kodining qo'shilishi, Teletype Model 33 ASR kabi nisbatan arzon narxlardagi, "yarim kunlik ish" apparati bilan tez-tez sodir bo'lishi. (Friden Flexowriters ancha ishonchli, ammo ayni paytda nisbatan qimmat bo'lgan.)

Birinchi mikrokompyuterlarni yuklash

Kabi eng qadimgi mikrokompyuterlar Altair 8800 (birinchi bo'lib 1975 yilda chiqarilgan) va undan ham oldinroq, shunga o'xshash mashinada (Intel 8008 protsessori asosida) bunday yuklash apparati yo'q edi.[19] Ishga tushganda, protsessor faqat ikkilik nollarni o'z ichiga olgan bajariladigan kodni o'z ichiga olgan xotirani ko'radi - xotira yoqilganda qayta tiklash orqali o'chirildi. Ushbu mashinalarning old panellari manzillar va ma'lumotlarni kiritish uchun kalitlarni, kompyuter xotirasi so'zlari va manzil shinalarining bit bitiga bitta kalitlarni olib borgan. Uskuna uchun oddiy qo'shimchalar bir vaqtning o'zida bitta xotira joyini bootstrap kodini saqlash uchun ushbu kalitlardan yuklashga imkon berdi. Shu bilan birga, protsessor xotira tarkibini bajarishga urinishdan saqlandi. To'g'ri yuklangandan so'ng, protsessor yuklash kodini bajarishi mumkin edi. Ushbu jarayon zerikarli edi va xatosiz bo'lishi kerak edi.[20]

Integratsiyalashgan elektron xotira davri

Intel 2708 EPROM elektron platadagi "chip".

Kichik kompyuterlar va mikrokompyuterlar uchun yuklash jarayoni[nb 5] integral mikrosxemaning kiritilishi bilan inqilob qilingan faqat o'qish uchun xotira (ROM), ko'plab variantlari bilan, shu jumladan niqob bilan dasturlashtirilgan ROM-lar, dasturlashtiriladigan ROM-lar (BITIRUV KECHASI), o'chiriladigan dasturlashtiriladigan ROM-lar (EPROM) va flesh xotira. Bunga ruxsat berildi proshivka kompyuterning bir qismiga kiritiladigan yuklash dasturlari. (Tashqi) ROMning kiritilishi 1975 yilda patentlangan "Gruppi Speciali" deb nomlangan italiyalik telefon kommutatori ishlab chiqaruvchisida bo'lgan. Alberto Siyaramella, tadqiqotchi CSELT.[21] Gruppi Speciali 1975 yildan boshlab ferrit yadrolaridan emas, balki yarimo'tkazgichlardan tashkil topgan ROM xotirasidan operatsion tizimga yuklanadigan to'liq bitta tugmachali mashina edi. ROM qurilmasi mahalliy ravishda Gruppi Speciali kompyuteriga joylashtirilmagan bo'lsa-da, mashinaning dizayni tufayli, shuningdek, buning uchun mo'ljallanmagan mashinalarda bitta tugmachali ROM yuklanishiga ruxsat berdi (shuning uchun ushbu "yuklash moslamasi" me'morchilikdan mustaqil edi ), masalan PDP-11. O'chirilgandan keyin mashinaning holatini saqlash ham o'z joyida edi, bu esa telefonni almashtirish tanlovining yana bir muhim xususiyati edi.[22]

Odatda, har bir mikroprotsessor asl holatini tiklashdan yoki ishga tushirgandan so'ng, "ma'lum bir manzildan boshlab topilgan kodning bajarilishini boshlash" yoki "ko'p baytli kodni qidirish" ko'rinishidagi boshlash jarayonini amalga oshiradi. ijro etishni boshlash uchun ma'lum bir manzil va ko'rsatilgan joyga sakrab o'ting ". Ushbu mikroprotsessor yordamida qurilgan tizim doimiy ravishda ROM-ga ega bo'lib, ushbu maxsus joylarni egallaydi, shunda tizim har doim operator yordamisiz ishlay boshlaydi. Masalan, Intel x86 protsessorlar har doim F000: FFF0 dan boshlangan ko'rsatmalarni bajarishdan boshlashadi,[23][24] uchun esa MOS 6502 protsessor, ishga tushirish ikki baytli vektor manzilini $ FFFD (MS bayt) va $ FFFC (LS bayt) da o'qish va boshlang'ich kodini ishga tushirish uchun shu joyga sakrash bilan boshlanadi.[25]

Apple Inc. birinchi kompyuter, Apple 1 1976 yilda taqdim etilgan PROM chiplari, yuklash jarayoni (Altair 8800 bilan bo'lgani kabi) tijorat kompyuterida yuklash jarayoni uchun old panelga ehtiyojni yo'q qildi. Apple-ning e'lonida aytilishicha, "Endi o'chirgichlar, chiroqlar yo'q ... PROMS-dagi proshivka sizga dasturlarni (barchasi hex shaklida) klaviaturadan kiritish, namoyish qilish va disk raskadrovka qilish imkonini beradi."[26]

O'sha paytda faqat o'qiladigan xotira hisobiga, Apple II seriyali disk operatsion tizimlarini juda kichik bosqichma-bosqich qadamlar yordamida ishga tushirdi, ularning har biri boshqaruvni bosqichma-bosqich yanada murakkab yuklash jarayonining keyingi bosqichiga o'tkazadi. (Qarang Apple DOS: yuklash vositasi ). Disk operatsion tizimining ozgina qismi ROMga ishonganligi sababli, qo'shimcha qurilmalar ham juda moslashuvchan va moslashtirilgan diskning keng doirasini qo'llab-quvvatlagan nusxalarni himoya qilish mexanizmlar. (Qarang Dasturni buzish: tarix.)

Ba'zi operatsion tizimlar, xususan 1995 yilgacha Macintosh tizimlari olma, o'zlarining apparatlari bilan shunchalik chambarchas bog'langanki, operatsion tizimni standart tizimdan tashqari yuklash imkonsiz. Bu yuqorida aytib o'tilgan kalitlarni ishlatadigan stsenariyning teskari ekstremal tomoni; u juda moslashuvchan emas, ammo barcha qo'shimcha qurilmalar normal ishlashi sharti bilan nisbatan xatolarga yo'l qo'ymaydi va aqlga sig'maydi. Bunday vaziyatlarda keng tarqalgan echim bu tizimni o'g'irlaydigan va muqobil OSni yuklaydigan standart operatsion tizimga tegishli dastur sifatida ishlaydigan yuklash yuklagichini loyihalashtirishdir. Ushbu texnikani Apple uning uchun ishlatgan A / UX Unix dasturi va turli xil bepul dasturiy ta'minot operatsion tizimlari tomonidan ko'chirilgan va BeOS Personal Edition 5.

Kabi ba'zi mashinalar Atari ST mikrokompyuter, "zudlik bilan" edi, operatsion tizim a dan bajarilgan ROM. Ikkilamchi yoki uchinchi darajali do'kondan operatsion tizimni yuklab olish, shu sababli yuklash uchun xarakterli operatsiyalardan biri sifatida bekor qilindi. Tizimning sozlashlari, aksessuarlari va boshqa qo'llab-quvvatlovchi dasturlarning avtomatik ravishda yuklanishiga ruxsat berish uchun, Atari-ning floppi diskini yuklash jarayonida qo'shimcha komponentlar uchun o'qildi. Tizim qo'shimcha komponentlarni qidirishda qo'li bilan floppi qo'shish uchun vaqt ajratadigan vaqt tugashi bilan kechikish yuz berdi. Bo'sh diskni kiritish orqali bunga yo'l qo'ymaslik mumkin. Atari ST apparati, shuningdek, kartrijning uyasi Atari merosidan elektron o'yinlarni o'tkazib yuborish uchun mahalliy dasturni o'yin maqsadlarida bajarilishini ta'minlashi uchun mo'ljallangan; qo'shib Spectre GCR Macintosh tizimidagi ROM-kartridjli kartridj va Atari-ni yoqadigan bo'lsa, u Atari-ning o'zi emas, balki Macintosh operatsion tizimini "yuklashi" mumkin TOS.

The IBM Shaxsiy Kompyuter ROM-ga asoslangan proshivka kiritilgan BIOS; ushbu proshivkaning funktsiyalaridan biri bu edi o'z-o'zini sinab ko'rish mashina yoqilganda, keyin yuklash moslamasidan dasturiy ta'minotni o'qing va uni bajaring. IBM Shaxsiy kompyuteridagi BIOS-ga mos keladigan dasturiy ta'minot ishlatiladi IBM PC mos keladi kompyuterlar. The Kengaytiriladigan dasturiy ta'minot interfeysi dastlab Intel tomonidan ishlab chiqilgan Itanium asoslangan mashinalar va keyinchalik BIOS-ga alternativ sifatida ishlatilgan x86 - asoslangan mashinalar, shu jumladan Intel protsessorlaridan foydalanadigan Apple Mac-lar.

Unix ish stantsiyalari dastlab sotuvchiga xos ROM-ga asoslangan dasturiy ta'minot mavjud edi. Quyosh mikrosistemalari keyinchalik rivojlangan OpenBoot, keyinchalik A ni o'z ichiga olgan Open Firmware nomi bilan tanilgan To'rtinchi dasturiy ta'minotning katta qismi Forth-da yozilgan tarjimon. Bu standartlashtirildi IEEE IEEE standarti 1275-1994 sifatida; ushbu standartni amalga oshiradigan dasturiy ta'minot ishlatilgan PowerPC asoslangan Maclar va ba'zi boshqa PowerPC-ga asoslangan mashinalar, shuningdek Sun-ning mashinalari SPARC asoslangan kompyuterlar. The Murakkab RISC Computing spetsifikatsiya ba'zi dasturlarda qo'llanilgan yana bir proshivka standartini belgilab berdi MIPS asoslangan va Alfa asoslangan mashinalar va SGI Visual ish stantsiyasi x86 asoslangan ish stantsiyalari.

Zamonaviy yuklovchi qurilmalar

Kompyuter o'chirilganida, uning dasturiy ta'minoti, jumladan operatsion tizimlar, dastur kodlari va ma'lumotlar ham saqlanadi. doimiy xotira. Kompyuter yoqilganda, odatda operatsion tizim yoki uning yuklagichi mavjud emas tezkor kirish xotirasi (RAM). Kompyuter avval saqlangan nisbatan kichik dasturni bajaradi faqat o'qish uchun xotira (ROM) oz miqdordagi kerakli ma'lumotlar bilan birga, uchuvchan bo'lmagan qurilmaga yoki operatsion tizim dasturlari va ma'lumotlarini RAMga yuklash mumkin bo'lgan qurilmalarga kirish uchun.

Ushbu ketma-ketlikni boshlaydigan kichik dastur a nomi bilan tanilgan bootstrap loader, bootstrap yoki yuklash moslamasi. Ushbu kichik dasturning yagona vazifasi boshqa ma'lumotlar va keyinchalik RAMdan bajariladigan dasturlarni yuklashdir. Ko'pincha, ko'p bosqichli yuklash yuklagichlari ishlatiladi, bu jarayonda murakkabligi oshib boradigan bir nechta dasturlar birin-ketin jarayonida yuklanadi zanjir yuklash.

Ba'zi kompyuter tizimlari odam operatoridan yoki atrof-muhit qurilmalaridan yuklash signalini olgandan so'ng, juda oz miqdordagi aniq ko'rsatmalarni ma'lum joyga xotiraga yuklashi, kamida bitta protsessorni ishga tushirishi va keyin protsessorni ko'rsatmalarga yo'naltirishi va ishga tushirishi mumkin. ularning bajarilishi. Ushbu ko'rsatmalar, odatda, ba'zi bir tashqi qurilmalardan kirish operatsiyasini boshlaydi (ular operator tomonidan tanlanishi mumkin). Boshqa tizimlar qo'shimcha buyruqlarni to'g'ridan-to'g'ri periferik qurilmalarga yoki juda oddiy kirish operatsiyasini keltirib chiqaradigan (masalan, "tizim qurilmasining sektor nolini 1000 joydan boshlab xotiraga o'qish") bajaradigan, kichik hajmdagi dasturni samarali ravishda yuklaydigan qurilmalarga yuborishi mumkin. xotiraga yuklash yuklovchi ko'rsatmalarining soni; keyin CPU tomonidan ko'rsatmalarning bajarilishini boshlash uchun I / U qurilmasidan tugatish signalidan foydalanish mumkin.

Kichik kompyuterlar tez-tez kompyuterning tez va oldindan belgilangan dasturiy ta'minot konfiguratsiyasi bilan ishlashini ta'minlash uchun kamroq moslashuvchan, ammo ko'proq avtomatik yuklash mexanizmlarini ishlatadilar. Masalan, ko'plab statsionar kompyuterlarda yuklash jarayoni ROM tarkibidagi protsessorni bajaruvchi dastur bilan boshlanadi (masalan, BIOS ning IBM PC ) oldindan belgilangan manzilda (ba'zi protsessorlar, shu jumladan Intel x86 seriyali qayta o'rnatilgandan so'ng, ushbu dasturni tashqi yordamisiz bajarish uchun mo'ljallangan). Ushbu dastur yuklashda ishtirok etishi mumkin bo'lgan moslamalarni qidirish va kichik qismni maxsus bo'limdan yuklash uchun oddiy funktsiyalarni o'z ichiga oladi (odatda yuklash sektori ) odatda belgilanganidan boshlanadigan eng istiqbolli qurilmaning kirish nuqtasi sektorning boshlanishi kabi.

Birinchi bosqichli yuklovchi

Boot loaderlar, ayniqsa o'lchamlari bo'yicha, o'ziga xos cheklovlarga duch kelishi mumkin; masalan, IBM kompyuterida va unga mos keladigan narsalarda yuklash sektori odatda atigi 32 KB hajmda ishlashi kerak[27][28] (keyinchalik 64 KBgacha bo'shashdi[29]) tizim xotirasi va faqat asl nusxada qo'llab-quvvatlanadigan ko'rsatmalardan foydalaning 8088 /8086 protsessorlar. Joylashgan kompyuterning yuklash yuklovchilarining birinchi bosqichi (FSBL, birinchi bosqichli yuklovchi) sobit disklar va olinadigan disklar birinchi 446 ga to'g'ri kelishi kerak bayt ning Master Boot Record standart 64-bayt uchun joy qoldirish uchun bo'lim jadvali to'rtta bo'lim yozuvlari va ikki bayt bilan yuklash imzosi, bunda BIOS to'g'ri yuklash moslamasini talab qiladi - yoki undan ham kamroq, agar qo'shimcha funktsiyalar to'rtdan ortiq qism yozuvlari (16 bayt bilan 16 tagacha) kabi bo'lsa disk imzosi (6 bayt), a disk vaqt tamg'asi (6 bayt), an Kengaytirilgan faol bo'lim (18 bayt) yoki maxsus ko'p yuklash ba'zi muhitlarda yuklagichlarni ham qo'llab-quvvatlash kerak. Yilda floppi va superfloppy Volume Boot Records uchun 59 baytgacha ishg'ol qilingan Kengaytirilgan BIOS parametr bloklari kuni FAT12 va FAT16 DOS 4.0 dan beri hajmlar, ammo FAT32 DOS 7.1 bilan kiritilgan EBPB 878 baytni ham talab qiladi va 512 baytlik sektor hajmini hisobga olgan holda yuklovchi uchun faqat 423 bayt qoladi. Shuning uchun Microsoft yuklash sektorlari an'anaviy ravishda yuklash jarayoniga ma'lum cheklovlar qo'ygan, masalan, yuklash fayli fayl tizimining ildiz katalogida belgilangan joyda joylashgan bo'lishi va ketma-ket sektorlar sifatida saqlanishi kerak edi,[30][31] tomonidan ta'minlangan sharoitlar SYS buyrug'i va DOS-ning keyingi versiyalarida biroz bo'shashgan.[31][nb 6] Keyinchalik yuklash moslamasi faylning dastlabki uchta sektorini xotiraga yuklay oldi, unda faylning qolgan qismini xotiraga yuklash imkoniyatiga ega bo'lgan boshqa o'rnatilgan yuklash yuklagichi mavjud edi.[31] Microsoft qo'shganda LBA va FAT32-ni qo'llab-quvvatlasa, ular hatto yuklanadigan yuklagichga o'tdilar ikkitasi jismoniy sektorlar va o'lchamlari uchun 386 ko'rsatmalardan foydalanish. Shu bilan birga, boshqa sotuvchilar faqat minimal mavjud bo'lgan xotirada (32 KB) va protsessorni qo'llab-quvvatlashda (8088/8086) dastlabki cheklovlarni yumshatmasdan, bitta yuklash sektorida ko'proq funktsiyalarni siqib chiqarishga muvaffaq bo'lishdi.[nb 7] Masalan, DR-DOS yuklash sektorlari yuklash faylini FAT12, FAT16 va FAT32 fayl tizimida topishi va uni xotiraga umuman yuklashi mumkin. CHS yoki LBA, hatto fayl belgilangan joyda va ketma-ket sektorlarda saqlanmagan bo'lsa ham.[32][27][33][34][35][nb 8][nb 7]

Birinchi bosqich yuklovchilariga misollar kiradi asosiy yuklash, Libreboot va Das U-Boot.

Ikkinchi bosqichli yuklovchi

Ikkinchi bosqichli yuklash moslamalari, masalan GNU GRUB, rEFInd, BOOTMGR, Syslinux, NTLDR yoki BootX, o'zlari operatsion tizimlar emas, balki operatsion tizimni to'g'ri yuklashlari va bajarilishini unga o'tkazishlari mumkin; operatsion tizim keyinchalik o'zini ishga tushiradi va qo'shimcha yuklashi mumkin qurilma drayverlari. Ikkinchi bosqichli yuklash moslamasi o'z ishlashi uchun drayverlarga ehtiyoj sezmaydi, aksincha BIOS yoki tizim proshivkalari tomonidan taqdim etilgan umumiy saqlashga kirish usullaridan foydalanishi mumkin. Firmware dasturini oching odatda cheklangan apparat funktsiyasi va past ishlashi bilan.[36]

Ko'p yuklash moslamalari (GNU GRUB, Windows-ning BOOTMGR va Windows NT / 2000 / XP-ning NTLDR kabi) foydalanuvchiga bir nechta yuklash imkoniyatini berish uchun sozlanishi mumkin. Ushbu tanlovlar turli xil operatsion tizimlarni o'z ichiga olishi mumkin (uchun ikki yoki ko'p yuklash turli xil bo'limlardan yoki disklardan), bir xil operatsion tizimning turli xil versiyalaridan (yangi versiyada kutilmagan muammolar yuzaga kelganda), operatsion tizimni yuklashning turli xil variantlaridan (masalan, qutqaruvga yuklash yoki xavfsiz rejim ) va operatsion tizimsiz ishlashi mumkin bo'lgan ayrim mustaqil dasturlar, masalan, xotira sinovchilari (masalan, memtest86 + ), asosiy qobiq (GNU GRUB singari) yoki hatto o'yinlar (qarang PC Booter o'yinlari ro'yxati ).[37] Ba'zi yuklash moslamalari boshqa yuklash qurilmalarini ham yuklashlari mumkin; masalan, GRUB Windows-ni to'g'ridan-to'g'ri yuklash o'rniga BOOTMGR-ni yuklaydi. Odatda odatiy tanlov vaqtni kechiktirish bilan oldindan tanlanadi, bu vaqt ichida foydalanuvchi tanlovni o'zgartirish uchun tugmachani bosishi mumkin; bu kechikishdan so'ng, standart tanlov avtomatik ravishda ishga tushiriladi, shuning uchun normal yuklash o'zaro ta'sirisiz sodir bo'lishi mumkin.

Kompyuter foydalanuvchi bilan ishlashga tayyor bo'lganda yoki operatsion tizim tizim dasturlari yoki dastur dasturlarini ishga tushirishga qodir bo'lsa, yuklash jarayoni tugallangan deb hisoblanishi mumkin.

Ko'pchilik o'rnatilgan tizimlar darhol yuklash kerak. Masalan, a uchun bir daqiqa kutish raqamli televidenie yoki a GPS navigatsiya qurilmasi boshlash odatda qabul qilinishi mumkin emas. Shuning uchun bunday qurilmalarda ROM yoki .da dasturiy ta'minot tizimlari mavjud flesh xotira shuning uchun qurilma darhol ishlashni boshlashi mumkin; juda oz yoki umuman yuklash kerak emas, chunki yuklash oldindan hisoblab chiqilishi va ROM-da qurilmani saqlash vaqtida saqlanishi mumkin.

Katta va murakkab tizimlarda yuklash protseduralari bo'lishi mumkin, ular operatsion tizim va boshqa dasturlar yuklanmaguncha va bajarishga tayyor bo'lguncha bir necha bosqichda davom etadilar. Operatsion tizimlar go'yo hech qachon ishga tushmaydigan yoki to'xtab qolmaydigan tarzda ishlab chiqilganligi sababli, yuklash moslamasi operatsion tizimni yuklashi, o'zini bu tizim ichidagi oddiy jarayon sifatida sozlashi va so'ngra boshqaruvchini operatsion tizimga qaytarib bo'lmaydigan tarzda o'tkazishi mumkin. Keyin yuklash moslamasi boshqa har qanday jarayon kabi odatdagidek tugaydi.

Tarmoqni yuklash

Ko'pgina kompyuterlar shuningdek, a orqali yuklash imkoniyatiga ega kompyuter tarmog'i. Ushbu stsenariyda operatsion tizim a diskida saqlanadi server, va uning ba'zi qismlari mijozga oddiy protokol yordamida uzatiladi Arzimas fayllarni uzatish protokoli (TFTP). Ushbu qismlar o'tkazilgandan so'ng, operatsion tizim yuklash jarayonini boshqarishni o'z zimmasiga oladi.

Ikkinchi bosqichda yuklash yuklagichida bo'lgani kabi, tarmoqni yuklash odatda tarmoq interfeysining yuklash ROMi tomonidan taqdim etilgan umumiy tarmoqqa kirish usullarini qo'llash bilan boshlanadi, bu odatda Oldindan yuklashni amalga oshirish muhiti (PXE) rasm. Hech qanday drayver talab qilinmaydi, ammo operatsion tizim yadrosi va drayverlari uzatilguncha va ishga tushirilgunga qadar tizimning faoliyati cheklangan. Natijada, ROM-ga asoslangan yuklash tugagandan so'ng, tarmoq interfeysidan foydalanish imkoniyati bo'lmagan operatsion tizimga tarmoqni yuklash butunlay mumkin.

Shaxsiy kompyuterlar (kompyuter)

Yuklash moslamalari

Windows To Go bootable flesh haydovchi, a Jonli USB misol

Yuklash moslamasi - bu operatsion tizim yuklangan qurilma. Zamonaviy kompyuterlar UEFI yoki BIOS proshivka turli xil qurilmalardan yuklashni qo'llab-quvvatlaydi, odatda mahalliy qattiq holatdagi haydovchi yoki qattiq disk drayveri orqali GPT yoki Master Boot Record (MBR) bunday diskda yoki diskda, an optik disk drayveri (foydalanib El Torito ), a USB ommaviy saqlash qurilma (FTL asoslangan flesh-disk, SD-karta yoki ko'p media-karta uyasi, USB qattiq disk drayveri, USB optik disk drayveri va boshqalar) yoki tarmoq interfeysi kartasi (ishlatilmoqda PXE ). Eski, kamroq tarqalgan BIOS-bootable qurilmalariga quyidagilar kiradi floppi disklari, Zip drayvlar va LS-120 haydovchilar.

Odatda, dasturiy ta'minot (UEFI yoki BIOS) foydalanuvchiga a-ni sozlash imkonini beradi yuklash tartibi. Agar yuklash tartibi "birinchi navbatda DVD disk, ikkinchidan, qattiq disk drayveri" deb o'rnatilgan bo'lsa, u holda proshivka DVD diskidan yuklashga urinib ko'radi va agar bu bajarilmasa (masalan, diskda DVD yo'qligi sababli), u mahalliy qattiq disk drayveridan yuklashga harakat qiladi.

Masalan, bilan kompyuterda Windows qattiq diskka o'rnatilgan bo'lsa, foydalanuvchi yuklash tartibini yuqorida keltirilgan tartibda o'rnatishi va keyin a qo'shishi mumkin Linux Jonli CD sinab ko'rish uchun Linux operatsion tizimni qattiq diskka o'rnatmasdan. Bu misol ikkilamchi yuklash, unda foydalanuvchi kompyuter bajarilgandan so'ng qaysi operatsion tizimni ishga tushirishni o'zi tanlaydi O'z-o'zini sinab ko'rish (POST). Ikkala yuklashning ushbu misolida foydalanuvchi DVD-ni kompyuterga qo'shish yoki o'chirish orqali tanlaydi, ammo qaysi birini tanlash orqali qaysi operatsion tizimni yuklashni tanlash odatiy holdir. BIOS yoki UEFI Kompyuter klaviaturasi yordamida yuklash menyusi; yuklash menyusi odatda bosish orqali kiritiladi F12 yoki F11 POST paytida kalitlar; The BIOS-ni sozlash odatda bosish orqali kiritiladi F2 yoki DEL POST paytida kalitlar.[38][39]

Foydalanuvchiga imkon beradigan bir nechta qurilmalar mavjud tez yuklash Internetga kirish kabi turli xil oddiy vazifalar uchun odatda Linuxning bir varianti nimada; misollar Splashtop va Kenglik yoniq.[40][41][42]

Yuklash ketma-ketligi

A olti burchakli dump ning FreeBSD boot0 MBR
Mukofot dasturi Yuklash paytida 2000 yildan boshlab BIOS

Ishga tushgandan so'ng, IBM bilan mos keladigan shaxsiy kompyuter x86 CPU, bajaradi haqiqiy rejim, joylashgan ko'rsatma vektorni qayta tiklash (jismoniy xotira manzili) FFFF0 soat 16-bitli x86 protsessorlarda[43] va FFFFFFF0 soat 32 va 64 bitli x86 protsessorlarda[44][45]), odatda dasturiy ta'minotga ishora qiladi (UEFI yoki BIOS ) ROM ichidagi kirish nuqtasi. Ushbu xotira joylashuvi odatda bajarilishni dasturiy ta'minot joylashgan joyga o'tkazadigan o'tish buyrug'ini o'z ichiga oladi (UEFI yoki BIOS ) ishga tushirish dasturi. Ushbu dastur a o'z-o'zini sinab ko'rish (POST) kabi kerakli qurilmalarni tekshirish va ishga tushirish uchun asosiy xotira (DRAM ), PCI shinasi va PCI qurilmalari (shu jumladan o'rnatilgan ko'milgan) Tanlov ROMlari ). Eng ko'p jalb qilingan qadamlardan biri bu DRAM-ni sozlash SPD, bu vaqtda xotira juda cheklanganligi bilan yanada murakkablashdi.

Kerakli apparatni ishga tushirgandan so'ng, dasturiy ta'minot (UEFI yoki BIOS ) oldindan tuzilgan ro'yxatidan o'tadi uchuvchan bo'lmagan saqlash moslamalari ("yuklash moslamalari ketma-ketligi") yuklash mumkin bo'lganini topguncha. Yuklanadigan MBR qurilmasi o'qilishi mumkin bo'lgan va birinchi sektorning oxirgi ikki baytida joylashgan ozgina endian so'z AA55 soat,[nb 9] bayt ketma-ketligi sifatida topilgan 55 soat, AAh diskda (. nomi bilan ham tanilgan MBR yuklash imzosi ) yoki sektor ichidagi kodning x86 shaxsiy kompyuterlarida bajarilishi boshqacha tarzda aniqlangan bo'lsa.

Once the BIOS has found a bootable device it loads the boot sector to linear address 7C00h (odatda segment:ofset 0000h:7C00h,[27] but some BIOSes erroneously use 07C0h:0000h[iqtibos kerak ]) and transfers execution to the boot code. In the case of a hard disk, this is referred to as the Master Boot Record (MBR). The conventional MBR code checks the MBR's partition table for a partition set as bootable[nb 10] (the one with faol flag set). Agar shunday bo'lsa active partition is found, the MBR code loads the yuklash sektori code from that partition, known as Volume Boot Record (VBR), and executes it.

The VBR is often operating-system specific; however, its main function is to load and execute the operating system boot loader file (such as io.sys, ntldr, yoki bootmgr) from an active partition. Then the boot loader loads the OS kernel from the storage device.

If there is no active partition, or the active partition's boot sector is invalid, the MBR may load a secondary boot loader which will select a partition (often via user input) and load its boot sector, which usually loads the corresponding operating system kernel. In some cases, the MBR may also attempt to load secondary boot loaders before trying to boot the active partition. If all else fails, it should issue an INT 18h[29][27] BIOS interrupt call (followed by an INT 19h just in case INT 18h would return) in order to give back control to the BIOS, which would then attempt to boot off other devices, attempt a remote boot via network.[27]

Some systems (particularly newer Apple Macs and newer Kompyuterlar ) foydalanish UEFI.[46][47]

Unlike BIOS, UEFI (not Legacy boot via CSM) does not rely on boot sectors, UEFI system loads the boot loader (EFI application fayl USB disk yoki ichida EFI tizim bo'limi ) directly,[48] and the OS kernel is loaded by the boot loader.

Other kinds of boot sequences

An unlocked Android bootloader, showing additional available options

Some modern CPUs and microcontrollers (for example, TI OMAP ) or sometimes even DSPs may have boot ROM with boot code integrated directly into their silicon, so such a processor could perform quite a sophisticated boot sequence on its own and load boot programs from various sources like NAND flash, SD or MMC card and so on. It is difficult to hardwire all the required logic for handling such devices, so an integrated boot ROM is used instead in such scenarios. Boot ROM usage enables more flexible boot sequences than hardwired logic could provide. For example, the boot ROM could try to perform boot from multiple boot sources. Also, a boot ROM is often able to load a boot loader or diagnostic program via serial interfaces like UART, SPI, USB va hokazo. This feature is often used for system recovery purposes when for some reasons usual boot software in non-volatile memory got erased, and it could also be used for initial non-volatile memory programming when there is clean non-volatile memory installed and hence no software available in the system yet.

Biroz o'rnatilgan tizim designs may also include an intermediary boot sequence step in form of additional code that gets loaded into system Ram by the integrated boot ROM. Additional code loaded that way usually serves as a way for overcoming platform limitations, such as small amounts of RAM, so a dedicated primary boot loader, such as Das U-Boot, can be loaded as the next step in system's boot sequence. The additional code and boot sequence step are usually referred to as secondary program loader (SPL).[49]

It is also possible to take control of a system by using a hardware debug interface such as JTAG. Such an interface may be used to write the boot loader program into bootable non-volatile memory (e.g. flash) by instructing the processor core to perform the necessary actions to program non-volatile memory. Alternatively, the debug interface may be used to upload some diagnostic or boot code into RAM, and then to start the processor core and instruct it to execute the uploaded code. This allows, for example, the recovery of embedded systems where no software remains on any supported boot device, and where the processor does not have any integrated boot ROM. JTAG is a standard and popular interface; many CPUs, microcontrollers and other devices are manufactured with JTAG interfaces (as of 2009).

Some microcontrollers provide special hardware interfaces which cannot be used to take arbitrary control of a system or directly run code, but instead they allow the insertion of boot code into bootable non-volatile memory (like flash memory) via simple protocols. Then at the manufacturing phase, such interfaces are used to inject boot code (and possibly other code) into non-volatile memory. After system reset, the microcontroller begins to execute code programmed into its non-volatile memory, just like usual processors are using ROMs for booting. Most notably this technique is used by Atmel AVR microcontrollers, and by others as well. In many cases such interfaces are implemented by hardwired logic. In other cases such interfaces could be created by software running in integrated on-chip boot ROM from GPIO pinalar.

Ko'pchilik raqamli signal protsessorlari have a serial mode boot, and a parallel mode boot, such as the host port interface (HPI boot)

In case of DSPs there is often a second microprocessor or microcontroller present in the system design, and this is responsible for overall system behavior, interrupt handling, dealing with external events, user interface, etc. while the DSP is dedicated to signal processing tasks only. In such systems the DSP could be booted by another processor which is sometimes referred as the host processor (giving name to a Host Port). Such a processor is also sometimes referred as the usta, since it usually boots first from its own memories and then controls overall system behavior, including booting of the DSP, and then further controlling the DSP's behavior. The DSP often lacks its own boot memories and relies on the host processor to supply the required code instead. The most notable systems with such a design are cell phones, modems, audio and video players and so on, where a DSP and a CPU/microcontroller are co-existing.

Ko'pchilik FPGA chips load their configuration from an external serial EEPROM ("configuration ROM") on power-up.

Shuningdek qarang

Izohlar

  1. ^ Shu jumladan xizmatkorlar.
  2. ^ UU was often of the form Uu, U=Control unit address, u=Device address, but some control units attached only 8 devices; some attached more than 16. Indeed, the 3830 DASD controller offered 32-drive-addressing as an option.
  3. ^ Excluding the 370/145 and 370/155, which used a 3210 or 3215 console typewriter.
  4. ^ Only the S/360 used the 2250; The 360/85, 370/165 va 370/168 used a keyboard/display device compatible with nothing else.
  5. ^ The IBM 1401, IBM 7090, IBM System / 360 and many others did not require keying in a boot loader. The S/360 had a read only storage in most models,although not using integrated.
  6. ^ The PC DOS 5.0 manual incorrectly states that the systen files no longer need to be contiguous. However, for the boot process to work the system files still need to occupy the first two directory entries and the first three sectors of IBMBIO.COM still need to be stored contiguously. SYS continues to take care of these requirements.
  7. ^ a b As an example, while the extended functionality of DR-DOS MBRs va yuklash tarmoqlari compared to their MS-DOS /Kompyuter DOS counterparts could still be achieved utilizing conventional code optimization techniques up to 7.05, for the addition of LBA, FAT32 va LOADER qo'llab-quvvatlash 7.07 sectors had to resort to o'z-o'zini o'zgartiradigan kod, opkod -level programming, controlled utilization of yon effektlar, multi-level data/code superpositioning and algorithmic katlama techniques to squeeze everything into a single physical sector, as it was a requirement for orqaga - and cross-compatibility with other operating systems in multi-boot va chain load stsenariylar.
  8. ^ There is one exception to the rule that DR-DOS VBRs will load the whole IBMBIO.COM file into memory: If the IBMBIO.COM file is larger than some 29 KB, trying to load the whole file into memory would result in the boot loader to overwrite The suyakka va boshqa joyga ko'chirilgan Disk Parameter Table (DPT/FDPB). Therefore, a DR-DOS 7.07 VBR would only load the first 29 KB of the file into memory, relying on another loader embedded into the first part of IBMBIO.COM to check for this condition and load the remainder of the file into memory by itself if necessary. This does not cause compatibility problems, as IBMBIO.COM's size never exceeded this limit in previous versions without this loader. Combined with a dual entry structure this also allows the system to be loaded by a Kompyuter DOS VBR, which would load only the first three sectors of the file into memory.
  9. ^ The signature at offset +1FEh in boot sectors is 55h AAh, anavi 55h at offset +1FEh va AAh at offset +1FFh. Beri ozgina endian representation must be assumed in the context of IBM PC compatible machines, this can be written as 16-bit word AA55h in programs for x86 processors (note the swapped order), whereas it would have to be written as 55AAh in programs for other CPU architectures using a katta endian vakillik. Since this has been mixed up numerous times in books and even in original Microsoft reference documents, this article uses the offset-based byte-wise on-disk representation to avoid any possible misinterpretation.
  10. ^ The active partition may contain a Second-stage boot loader, e.g., OS/2 Boot Manager, rather than an OS.

Adabiyotlar

  1. ^ "bootstrap". Computer Dictionary of Information Technology.
  2. ^ "Bootstrap". Bepul lug'at.
  3. ^ "Pull oneself up by bootstraps". Idioms by The Free Dictionary. Olingan 2019-10-07.
  4. ^ "Bootstrap Definition". Tech Terms. Olingan 2019-10-02.
  5. ^ "Pull yourself up by your bootstraps". So‘z birikmasi.
  6. ^ Campbell-Kelly, Martin (1980). "Programming the EDSAC". IEEE Hisoblash tarixi yilnomalari. 2 (1): 7–36. doi:10.1109/mahc.1980.10009.
  7. ^ Wilkes, Maurice V.; Uiler, Devid J.; Gill, Stanley (1951). The Preparation of Programs for an Electronic Digital Computer. Addison-Uesli.
  8. ^ Buchholz, Werner (1953). "The System Design of the IBM Type 701 Computer" (PDF). Proceedings of the I.R.E. 41 (10): 1273.
  9. ^ a b "IBM 7619 Exchange". Reference Manual 7030 Data Processing System (PDF). IBM. August 1961. pp. 125–127. A22-6530-2.
  10. ^ Principles of Operation Type 701 And Associated Equipment (PDF). IBM. 1953. p. 26. Olingan 2012-11-09.
  11. ^ From Gutenberg to the Internet, Jeremy M. Norman, 2005, page 436, ISBN  0-930405-87-0
  12. ^ Oksford ingliz lug'ati. Oksford universiteti.
  13. ^ 650 magnetic drum data-processing machine manual of operation (PDF). IBM. 1955. pp. 49, 53–54.
  14. ^ GE-645 System Manual (PDF). General Electric. 1968 yil yanvar. Olingan 2019-10-30.
  15. ^ PDP-10 System Reference Manual, Part 1 (PDF). Raqamli uskunalar korporatsiyasi. 1969. pp. 2–72. Olingan 2012-11-09.
  16. ^ a b z/Architecture Principles of Operation (PDF). IBM. September 2005. pp. Chapter 17. Olingan 2007-04-14.
  17. ^ PDP-11 Peripherals Handbook (PDF). Raqamli uskunalar korporatsiyasi. 1976. pp. 4–25.
  18. ^ How To Use The Nova Computers (PDF). Ma'lumotlar umumiy. October 1974. Section 2.8 "Program Loading".
  19. ^ "Oldcomputers: Altair 8800b". Olingan 2019-12-10.
  20. ^ "Altair 8800 loads 4K BASIC from paper tape", video by Glenn Holmer
  21. ^ Ciaramella, Alberto. "Device for automatically loading the central memory of electronic processors. " U.S. Patent No. 4,117,974. 1978-10-03. (submitted in 1975)
  22. ^ Alberto Ciaramella racconta il brevetto del boostrap dei computer concepito in CSELT [Alberto Ciaramella discusses the patent for bootstrapping computers conceived at CSELT] (italyan tilida).
  23. ^ Osborne, Adam; Kane, Gerry (1981). Osborne 16-Bbit Microprocessor Handbook (PDF). pp. 5–27. ISBN  0-931988-43-8. Olingan 2019-08-23.
  24. ^ Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3 (3A, 3B, 3C & 3D): System Programming Guide (PDF).
  25. ^ Osborne, Adam; Kane, Gerry. Osborne 4&8-Bit Microprocessor Handbook. pp. 10–20. ISBN  0-931988-42-X.
  26. ^ Apple Ad, Interface Age, October 1976
  27. ^ a b v d e Paul, Matthias R. (1997-10-02) [1997-09-29]. "Caldera OpenDOS 7.01/7.02 Update Alpha 3 IBMBIO.COM - README.TXT and BOOT.TXT - A short description of how OpenDOS is booted". Arxivlandi asl nusxasi on 2003-10-04. Olingan 2009-03-29. [1]
  28. ^ Sakamoto, Masahiko (2010-05-13). "Why BIOS loads MBR into 7C00h in x86?". Glamenv-Septzen.net. Olingan 2012-08-22.
  29. ^ a b Compaq Computer Corporation; Phoenix Technologies Ltd; Intel Corporation (1996-01-11). "BIOS Boot Specification 1.01" (PDF). Olingan 2017-12-21.
  30. ^ Zbikowski, Mark; Allen, Paul; Ballmer, Steve; Borman, Reuben; Borman, Rob; Butler, John; Carroll, Chuck; Chamberlain, Mark; Chell, David; Colee, Mike; Courtney, Mike; Dryfoos, Mike; Duncan, Rachel; Eckhardt, Kurt; Evans, Eric; Farmer, Rick; Gates, Bill; Geary, Michael; Griffin, Bob; Hogarth, Doug; Johnson, James W.; Kermaani, Kaamel; King, Adrian; Koch, Reed; Landowski, James; Larson, Chris; Lennon, Thomas; Lipkie, Dan; McDonald, Marc; McKinney, Bruce; Martin, Pascal; Mathers, Estelle; Matthews, Bob; Melin, David; Mergentime, Charles; Nevin, Randy; Newell, Dan; Newell, Tani; Norris, David; O'Leary, Mike; O'Rear, Bob; Olsson, Mike; Osterman, Larry; Ostling, Ridge; Pai, Sunil; Paterson, Tim; Perez, Gary; Peters, Chris; Petzold, Charlz; Pollock, John; Reynolds, Aaron; Rubin, Darryl; Ryan, Ralph; Schulmeisters, Karl; Shah, Rajen; Shaw, Barry; Short, Anthony; Slivka, Ben; Smirl, Jon; Stillmaker, Betty; Stoddard, John; Tillman, Dennis; Whitten, Greg; Yount, Natalie; Zeck, Steve (1988). "Technical advisors". The MS-DOS Encyclopedia: versions 1.0 through 3.2. By Duncan, Ray; Bostwick, Steve; Burgoyne, Keith; Byers, Robert A.; Hogan, Thom; Kyle, Jim; Letwin, Gordon; Petzold, Charlz; Rabinowitz, Chip; Tomlin, Jim; Wilton, Richard; Wolverton, Van; Wong, William; Woodcock, JoAnne (Completely reworked ed.). Redmond, Washington, USA: Microsoft Press. ISBN  1-55615-049-0. LCCN  87-21452. OCLC  16581341. (xix+1570 pages; 26 cm) (NB. This edition was published in 1988 after extensive rework of the withdrawn 1986 first edition by a different team of authors. [2] )
  31. ^ a b v Chappell, Geoff (January 1994). "Chapter 2: The System Footprint". In Schulman, Andrew; Pedersen, Amorette (eds.). DOS Internals. The Andrew Schulman Programming Series (1st printing, 1st ed.). Addison Wesley Publishing Company. ISBN  978-0-201-60835-9. (xxvi+738+iv pages, 3.5"-floppy [3][4] ) Errata: [5][6][7]
  32. ^ Rosch, Winn L. (1991-02-12). "DR DOS 5.0 - Operatsion tizim yaxshiroqmi?". Kompyuter jurnali. Vol. 10 yo'q. 3. p. 241-246, 257, 264, 266. Arxivlandi asl nusxasidan 2019-07-25. Olingan 2019-07-26. […] SYS has been improved under DR DOS 5.0 so you don't have to worry about leaving the first cluster free on a disk that you want to make bootable. The DR DOS system files can be located anywhere on the disk, so any disk with enough free space can be set to boot your system. […] (NB. The source attributes this to the SYS utility while in fact this is a feature of the advanced bootstrap loader in the boot sector. SYS just plants this sector onto the disk.)
  33. ^ Paul, Matthias R. (2001-01-17). "FAT32 in DR-DOS". opendos@delorie. Arxivlandi from the original on 2017-10-06. Olingan 2017-10-06. […] The DR-DOS boot sector […] searches for the IBMBIO.COM (DRBIOS.SYS ) file and then loads the *whole* file into memory before it passes control to it. […]
  34. ^ Paul, Matthias R. (2002-02-20). "Can't copy". opendos@delorie. Arxivlandi from the original on 2017-10-06. Olingan 2017-10-06. […] The DR-DOS boot sector loads the whole IBMBIO.COM file into memory before it executes it. It does not care at all about the IBMDOS.COM file, which is loaded by IBMBIO.COM. […] The DR-DOS boot sector […] will find the […] kernel files as long as they are logically stored in the root directory. Their physical location on the disk, and if they are fragmented or not, is don't care for the DR-DOS boot sector. Hence, you can just copy the kernel files to the disk (even with a simply Nusxalash ), and as soon as the boot sector is a DR-DOS sector, it will find and load them. Of course, it is difficult to put all this into just 512 bytes, the size of a single sector, but this is a major convenience improvement if you have to set up a DR-DOS system, and it is also the key for the DR-DOS multi-OS LOADER utility to work. The MS-DOS kernel files must reside on specific locations, but the DR-DOS files can be anywhere, so you don't have to physically swap them around each time you boot the other OS. Also, it allows to upgrade a DR-DOS system simply by copying the kernel files over the old ones, no need for SYS, no difficult setup procedures as required for MS-DOS/Kompyuter DOS. You can even have multiple DR-DOS kernel files under different file names stored on the same drive, and LOADER will switch between them according to the file names listed in the BOOT.LST fayl. […]
  35. ^ Paul, Matthias R. (2017-08-14) [2017-08-07]. "The continuing saga of Windows 3.1 in enhanced mode on OmniBook 300". MoHPC - the Museum of HP Calculators. Arxivlandi from the original on 2017-10-06. Olingan 2017-10-06. […] the DR-DOS FDISK does not only partition a disk, but can also format the freshly created volumes and initialize their boot sectors in one go, so there's no risk to accidentally mess up the wrong volume and no need for FORMAT /S or SYS. Afterwards, you could just copy over the remaining DR-DOS files, including the system files. It is important to know that, in contrast to MS-DOS /Kompyuter DOS, DR-DOS has "smart" boot sectors which will actually "mount" the file-system to search for and load the system files in the root directory instead of expecting them to be placed at a certain location. Physically, the system files can be located anywhere and also can be fragmented. […]
  36. ^ "Chapter 6 - Troubleshooting Startup and Disk Problems". Windows NT Server Resource Kit. Microsoft. Arxivlandi asl nusxasi on 2007-05-15.
  37. ^ "Tint". asosiy yuklash. Olingan 2010-11-20.
  38. ^ "List of PC brands with their corresponding hot-keys". www.disk-image.com. Olingan 2020-09-26.
  39. ^ "How to Enter the BIOS on Any PC: Access Keys by Manufacturer | Tom's Hardware". www.tomshardware.com. Olingan 2020-09-26.
  40. ^ Brown, Eric (2008-10-02). "MontaVista Linux drives Dell's quick-boot feature". linuxdevices.com. Olingan 2010-11-20.
  41. ^ Larabel, Michael (2008-06-14). "SplashTop Linux On HP, Dell Notebooks?". Froniks. Olingan 2010-11-20.
  42. ^ "Voodoo Envy's Instant-On IOS (powered by Splashtop)". YouTube. Olingan 2010-11-20.
  43. ^ "iAPX 286 dasturchi uchun qo'llanma" (PDF). Intel. 1983. Section 5.3 SYSTEM INITIALIZATION, p. 5-7. Olingan 2019-08-23. Since the CS register contains F000 (thus specifying a code segment starting at physical address F0000) and the instruction pointer contains FFF0, the processor will execute its first instruction at physical address FFFF0H.
  44. ^ "80386 Programmer's Reference Manual" (PDF). Intel. 1986. Section 10.2.3 First Instructions, p. 10-3. Olingan 2013-11-03. After RESET, address lines A31-20 are automatically asserted for instruction fetches. This fact, together with the initial values of CS:IP, causes instruction execution to begin at physical address FFFFFFF0H.
  45. ^ "Intel 64 and IA-32 Architectures Software Developer's Manual" (PDF). Intel korporatsiyasi. May 2012. Section 9.1.4 First Instruction Executed, p. 2611. Olingan 2012-08-23. The first instruction that is fetched and executed following a hardware reset is located at physical address FFFFFFF0h. This address is 16 bytes below the processor’s uppermost physical address. The EPROM containing the software-initialization code must be located at this address.
  46. ^ "Intel Platform Innovation Framework for EFI". Intel. Olingan 2008-01-07.
  47. ^ "OpenBIOS - coreboot". coreboot.org. Olingan 2013-03-20.
  48. ^ "UEFI - OSDev Wiki". wiki.osdev.org. Olingan 2020-09-26.
  49. ^ "Overview – The four bootloader stages". ti.com. Texas Instruments. 2013-12-05. Olingan 2015-01-25.