{"id":17183350,"url":"https://github.com/teodutu/si","last_synced_at":"2026-05-14T21:02:42.378Z","repository":{"id":121179120,"uuid":"303298868","full_name":"teodutu/SI","owner":"teodutu","description":"Sisteme Incorporate - UPB 2020-2021","archived":false,"fork":false,"pushed_at":"2020-12-12T23:10:52.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T02:40:35.604Z","etag":null,"topics":["qemu","qemu-kvm","raspberry-pi","yocto"],"latest_commit_sha":null,"homepage":"https://ocw.cs.pub.ro/courses/si","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teodutu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-12T06:32:12.000Z","updated_at":"2022-06-13T20:28:36.000Z","dependencies_parsed_at":"2023-03-13T12:29:04.495Z","dependency_job_id":null,"html_url":"https://github.com/teodutu/SI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teodutu/SI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teodutu%2FSI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teodutu%2FSI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teodutu%2FSI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teodutu%2FSI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teodutu","download_url":"https://codeload.github.com/teodutu/SI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teodutu%2FSI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33043249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["qemu","qemu-kvm","raspberry-pi","yocto"],"created_at":"2024-10-15T00:40:20.145Z","updated_at":"2026-05-14T21:02:42.373Z","avatar_url":"https://github.com/teodutu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SI\nSisteme Incorporate - UPB 2020-2021\n\n\n\n## Laboratoare\n### Laborator 1 - Setup QEMU\n\nIn fisierul `Laboratoare/Laborator1/run_pi_qemu/Makefile` se gaseste regula\n`run` care lanseaza `qemu` pentru a emula RaspberryPi-ul folosit la laborator.\nE nevoie ca in directorul de mai sus sa se gaseasca\n[kernelul](https://drive.google.com/file/d/0B0lgiPZNMMyvaEtfN3V4VVBxRjg/view)\nsi\n[sistemul de fisiere](https://drive.google.com/open?id=0B0lgiPZNMMyvOTFMakFuY1N2Q1E)\ndezarhivat.\n\n\n### Laborator 2 - Cross-compilare\nAcelasi lucru ca in labul trecut, dar se foloseste variabila de mediu\n`CROSS_COMPILE=arm-linux-gnueabihf-` pentru a compila programul `hello_world.c`\npentru arhitectura _ARM_.\n\n\n### Laborator 3 - Compilare de Kernel\nSe compileaza si se ruleaza kernelul\n[Raspbian Wheezy 3.18](https://github.com/raspberrypi/linux/tree/rpi-3.18.y)\ndupa ce i se aplica aceste 2 patch-uri:\n- pentru a rula compila `ARMv6` pe platforma *Versatile PB*:\nhttps://ocw.cs.pub.ro/courses/_media/si/laboratoare/linux-rpi-3.18.y-armv6.txt\n- pentru modificarea configuratiei pentru platforma de mai sus:\nhttps://ocw.cs.pub.ro/courses/_media/si/laboratoare/linux-rpi-3.18.y-qemu.txt\n\nCompilearea genereaza imaginea de kernel `**/linux//arch/arm/boot/zImage`, iar\nrootfs-ul este\n[cel din primul laborator](https://drive.google.com/file/d/0B0lgiPZNMMyvOTFMakFuY1N2Q1E/view).\n\n\n### Laborator 4 - Creare de rootfs\nSe folosesc `dd` si `fdisk` pentru a se crea o imagine de rootfs ce contine 2\npartitii copiate din imaginea disponibila\n[aici](https://drive.google.com/open?id=0B0lgiPZNMMyvOTFMakFuY1N2Q1E), folosita\ninca din primul laborator:\n- in prima partitie se copiaza bootloaderul\n- in cea de-a doua este rootfs-ul insusi\n\n`fdisk` se foloseste pentru a crea tabela de partitionare a sistemului de\nfisiere.\n\n\n### Laborator 5 - Servicii web...\nNiste puscarii in `html` si `php`. Nicio legatura cu nimic. Strict de umplutura.\nSe configureaza in VM-ul ce ruleaza *Raspbian* un server care afisesaza data\ncurenta cand se apasa un buton si care afiseaza parametrii primiti de kernel\ncand porneste si date despre dispozitivul unde e montat `/`.\n\n\n### Laborator 6 - Yocto\nPentru ca *Yocto* e o mizerie si nu vrea sa buildeze imaginea de kernel local,\nlabul asta se face in VM-ul dat de echipa...\nSe creeaza directorul `meta-labsi/` in directorul `poky`, care contine retetele\npentru imaginea hello si pentru binarul hello, care se poate rula in *QEMU*\nscriind pur si simplu \"hello\".\n\n### Bonus\nSe modifica hostname-ul adaugandu-se un fisier `hostname`, care\ncontine noul hostname in `poky/meta/recipes-core/base-files`, dupa care se\nadauga calea catre acesta in\n`poky/meta/recipes-core/base-files/base-files_3.0.14.bb`, impreuna cu functia\n`do_install_append()` care sa adauge noul fisier.\n\n\n### Laboratoare 7, 8 - Fitbit SDK\nPropaganda ieftina. Pana si **AUR** ar fi facut-o mai bine... Se da copy paste\nde pe ocw unor jeguri in *Javascript* ca sa faci un cacat de aplicatie pe un\nsimulator de ceasuri de la *Fitbit*. Nimic util.\n\nMacar la labul 8 se ilumineaza un brad. Tot stupid, dar macar are legatura cu\nCraciunul.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteodutu%2Fsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteodutu%2Fsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteodutu%2Fsi/lists"}