'잡동사니'에 해당되는 글 13674건

  1. 2021.11.21 방정
  2. 2021.11.20 rpi 3b 2초 부팅 fs
  3. 2021.11.20 img 파일 마운트 하기
  4. 2021.11.20 병원 투어 2주차
  5. 2021.11.19 nc -k 옵션
  6. 2021.11.18 wayland / weston
  7. 2021.11.18 구조체 타입과 변수명은 구분된다?
  8. 2021.11.17 rpi 3b 2초 부팅 이미지 테스트
  9. 2021.11.17 wayland weston
  10. 2021.11.16 라즈베리 피코 USB HID 키코드

빨래만 몇번이야.

 

밥 두번

총소 수시..

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

코로나 난리구나..  (0) 2021.12.04
추워어어  (0) 2021.11.30
병원 투어 2주차  (0) 2021.11.20
병원 투어  (0) 2021.11.15
오랫만에 키즈카페  (0) 2021.11.14
Posted by 구차니
embeded/raspberry pi2021. 11. 20. 23:21

와.. /dev 아래 없는 것 보소..

 

/mnt $ sudo tree
.
├── bin
│   ├── arch -> busybox
│   ├── ash -> busybox
│   ├── base64 -> busybox
│   ├── busybox
│   ├── cat -> busybox
│   ├── chattr -> busybox
│   ├── chgrp -> busybox
│   ├── chmod -> busybox
│   ├── chown -> busybox
│   ├── cp -> busybox
│   ├── cpio -> busybox
│   ├── date -> busybox
│   ├── dd -> busybox
│   ├── df -> busybox
│   ├── dmesg -> busybox
│   ├── dnsdomainname -> busybox
│   ├── dumpkmap -> busybox
│   ├── echo -> busybox
│   ├── egrep -> busybox
│   ├── false -> busybox
│   ├── fdflush -> busybox
│   ├── fgrep -> busybox
│   ├── getopt -> busybox
│   ├── grep -> busybox
│   ├── gunzip -> busybox
│   ├── gzip -> busybox
│   ├── hostname -> busybox
│   ├── kill -> busybox
│   ├── link -> busybox
│   ├── linux32 -> busybox
│   ├── linux64 -> busybox
│   ├── ln -> busybox
│   ├── login -> busybox
│   ├── ls -> busybox
│   ├── lsattr -> busybox
│   ├── mkdir -> busybox
│   ├── mknod -> busybox
│   ├── mktemp -> busybox
│   ├── more -> busybox
│   ├── mount -> busybox
│   ├── mountpoint -> busybox
│   ├── mt -> busybox
│   ├── mv -> busybox
│   ├── netstat -> busybox
│   ├── nice -> busybox
│   ├── nuke -> busybox
│   ├── pidof -> busybox
│   ├── ping -> busybox
│   ├── pipe_progress -> busybox
│   ├── printenv -> busybox
│   ├── ps -> busybox
│   ├── pwd -> busybox
│   ├── resume -> busybox
│   ├── rm -> busybox
│   ├── rmdir -> busybox
│   ├── run-parts -> busybox
│   ├── sed -> busybox
│   ├── setarch -> busybox
│   ├── setpriv -> busybox
│   ├── setserial -> busybox
│   ├── sh -> busybox
│   ├── sleep -> busybox
│   ├── stty -> busybox
│   ├── su -> busybox
│   ├── sync -> busybox
│   ├── tar -> busybox
│   ├── touch -> busybox
│   ├── true -> busybox
│   ├── umount -> busybox
│   ├── uname -> busybox
│   ├── usleep -> busybox
│   ├── vi -> busybox
│   ├── watch -> busybox
│   └── zcat -> busybox
├── dev
│   ├── fd -> ../proc/self/fd
│   ├── log -> ../tmp/log
│   ├── pts
│   ├── shm
│   ├── stderr -> ../proc/self/fd/2
│   ├── stdin -> ../proc/self/fd/0
│   └── stdout -> ../proc/self/fd/1
├── etc
│   ├── fstab
│   ├── group
│   ├── hostname
│   ├── hosts
│   ├── init.d
│   │   ├── rcK
│   │   ├── rcS
│   │   ├── S01syslogd
│   │   ├── S02klogd
│   │   ├── S20urandom
│   │   └── S21ftDev
│   ├── inittab
│   ├── issue
│   ├── mtab -> ../proc/self/mounts
│   ├── network
│   │   ├── if-down.d
│   │   ├── if-post-down.d
│   │   ├── if-pre-up.d
│   │   └── if-up.d
│   ├── nsswitch.conf
│   ├── os-release -> ../usr/lib/os-release
│   ├── passwd
│   ├── profile
│   ├── profile.d
│   │   └── umask.sh
│   ├── protocols
│   ├── random-seed
│   ├── resolv.conf -> ../tmp/resolv.conf
│   ├── services
│   ├── shadow
│   └── shells
├── lib
│   ├── ld-2.28.so
│   ├── ld-linux-armhf.so.3 -> ld-2.28.so
│   ├── libanl-2.28.so
│   ├── libanl.so.1 -> libanl-2.28.so
│   ├── libatomic.so -> libatomic.so.1.2.0
│   ├── libatomic.so.1 -> libatomic.so.1.2.0
│   ├── libatomic.so.1.2.0
│   ├── libc-2.28.so
│   ├── libcrypt-2.28.so
│   ├── libcrypt.so.1 -> libcrypt-2.28.so
│   ├── libc.so.6 -> libc-2.28.so
│   ├── libdl-2.28.so
│   ├── libdl.so.2 -> libdl-2.28.so
│   ├── libgcc_s.so
│   ├── libgcc_s.so.1
│   ├── libm-2.28.so
│   ├── libm.so.6 -> libm-2.28.so
│   ├── libnss_dns-2.28.so
│   ├── libnss_dns.so.2 -> libnss_dns-2.28.so
│   ├── libnss_files-2.28.so
│   ├── libnss_files.so.2 -> libnss_files-2.28.so
│   ├── libpthread-2.28.so
│   ├── libpthread.so.0 -> libpthread-2.28.so
│   ├── libresolv-2.28.so
│   ├── libresolv.so.2 -> libresolv-2.28.so
│   ├── librt-2.28.so
│   ├── librt.so.1 -> librt-2.28.so
│   ├── libutil-2.28.so
│   ├── libutil.so.1 -> libutil-2.28.so
│   └── modules
│       └── 4.14.29-v7
│           ├── kernel
│           │   ├── arch
│           │   │   └── arm
│           │   │       ├── crypto
│           │   │       │   ├── aes-arm-bs.ko
│           │   │       │   ├── aes-arm.ko
│           │   │       │   ├── sha1-arm.ko
│           │   │       │   └── sha1-arm-neon.ko
│           │   │       ├── lib
│           │   │       │   └── xor-neon.ko
│           │   │       └── oprofile
│           │   │           └── oprofile.ko
│           │   ├── crypto
│           │   │   ├── arc4.ko
│           │   │   ├── async_tx
│           │   │   │   ├── async_memcpy.ko
│           │   │   │   ├── async_pq.ko
│           │   │   │   ├── async_raid6_recov.ko
│           │   │   │   ├── async_tx.ko
│           │   │   │   └── async_xor.ko
│           │   │   ├── authencesn.ko
│           │   │   ├── authenc.ko
│           │   │   ├── cast5_generic.ko
│           │   │   ├── cast_common.ko
│           │   │   ├── ccm.ko
│           │   │   ├── cmac.ko
│           │   │   ├── cryptd.ko
│           │   │   ├── crypto_simd.ko
│           │   │   ├── ctr.ko
│           │   │   ├── cts.ko
│           │   │   ├── deflate.ko
│           │   │   ├── drbg.ko
│           │   │   ├── ecb.ko
│           │   │   ├── ecdh_generic.ko
│           │   │   ├── echainiv.ko
│           │   │   ├── gcm.ko
│           │   │   ├── gf128mul.ko
│           │   │   ├── ghash-generic.ko
│           │   │   ├── hmac.ko
│           │   │   ├── jitterentropy_rng.ko
│           │   │   ├── lz4.ko
│           │   │   ├── lzo.ko
│           │   │   ├── md4.ko
│           │   │   ├── md5.ko
│           │   │   ├── michael_mic.ko
│           │   │   ├── seqiv.ko
│           │   │   ├── sha1_generic.ko
│           │   │   ├── sha256_generic.ko
│           │   │   ├── sha512_generic.ko
│           │   │   ├── tgr192.ko
│           │   │   ├── wp512.ko
│           │   │   ├── xcbc.ko
│           │   │   ├── xor.ko
│           │   │   └── xts.ko
│           │   ├── drivers
│           │   │   ├── bcma
│           │   │   │   └── bcma.ko
│           │   │   ├── block
│           │   │   │   ├── cryptoloop.ko
│           │   │   │   ├── pktcdvd.ko
│           │   │   │   └── zram
│           │   │   │       └── zram.ko
│           │   │   ├── cdrom
│           │   │   │   └── cdrom.ko
│           │   │   ├── char
│           │   │   │   └── broadcom
│           │   │   │       └── bcm2835_smi_dev.ko
│           │   │   ├── dax
│           │   │   │   └── dax.ko
│           │   │   ├── extcon
│           │   │   │   └── extcon-core.ko
│           │   │   ├── gpio
│           │   │   │   ├── gpio-arizona.ko
│           │   │   │   ├── gpio-mockup.ko
│           │   │   │   └── gpio-pcf857x.ko
│           │   │   ├── gpu
│           │   │   │   └── drm
│           │   │   │       ├── drm_kms_helper.ko
│           │   │   │       ├── drm.ko
│           │   │   │       ├── panel
│           │   │   │       │   └── panel-simple.ko
│           │   │   │       └── tinydrm
│           │   │   │           ├── core
│           │   │   │           │   └── tinydrm.ko
│           │   │   │           ├── mi0283qt.ko
│           │   │   │           ├── mipi-dbi.ko
│           │   │   │           └── repaper.ko
│           │   │   ├── hid
│           │   │   │   ├── hid-belkin.ko
│           │   │   │   ├── hid-cherry.ko
│           │   │   │   ├── hid-chicony.ko
│           │   │   │   ├── hid-cypress.ko
│           │   │   │   ├── hid-dr.ko
│           │   │   │   ├── hid-elecom.ko
│           │   │   │   ├── hid-emsff.ko
│           │   │   │   ├── hid-ezkey.ko
│           │   │   │   ├── hid-gaff.ko
│           │   │   │   ├── hid-gembird.ko
│           │   │   │   ├── hid-gyration.ko
│           │   │   │   ├── hid-kensington.ko
│           │   │   │   ├── hid-keytouch.ko
│           │   │   │   ├── hid-kye.ko
│           │   │   │   ├── hid-lcpower.ko
│           │   │   │   ├── hid-led.ko
│           │   │   │   ├── hid-microsoft.ko
│           │   │   │   ├── hid-monterey.ko
│           │   │   │   ├── hid-multitouch.ko
│           │   │   │   ├── hid-ortek.ko
│           │   │   │   ├── hid-petalynx.ko
│           │   │   │   ├── hid-picolcd.ko
│           │   │   │   ├── hid-pl.ko
│           │   │   │   ├── hid-samsung.ko
│           │   │   │   ├── hid-sjoy.ko
│           │   │   │   ├── hid-speedlink.ko
│           │   │   │   ├── hid-sunplus.ko
│           │   │   │   ├── hid-tmff.ko
│           │   │   │   ├── hid-topseed.ko
│           │   │   │   ├── hid-twinhan.ko
│           │   │   │   ├── hid-waltop.ko
│           │   │   │   ├── hid-wiimote.ko
│           │   │   │   ├── hid-xinmo.ko
│           │   │   │   ├── hid-zpff.ko
│           │   │   │   ├── hid-zydacron.ko
│           │   │   │   └── uhid.ko
│           │   │   ├── hwmon
│           │   │   │   ├── ads1015.ko
│           │   │   │   ├── hwmon.ko
│           │   │   │   ├── ina2xx.ko
│           │   │   │   ├── jc42.ko
│           │   │   │   ├── lm75.ko
│           │   │   │   ├── sht21.ko
│           │   │   │   ├── sht3x.ko
│           │   │   │   ├── shtc1.ko
│           │   │   │   └── tmp102.ko
│           │   │   ├── i2c
│           │   │   │   ├── algos
│           │   │   │   │   └── i2c-algo-bit.ko
│           │   │   │   ├── busses
│           │   │   │   │   ├── i2c-bcm2708.ko
│           │   │   │   │   ├── i2c-bcm2835.ko
│           │   │   │   │   └── i2c-gpio.ko
│           │   │   │   ├── i2c-dev.ko
│           │   │   │   ├── i2c-mux.ko
│           │   │   │   └── muxes
│           │   │   │       ├── i2c-mux-gpmux.ko
│           │   │   │       └── i2c-mux-pca954x.ko
│           │   │   ├── input
│           │   │   │   ├── evdev.ko
│           │   │   │   ├── ff-memless.ko
│           │   │   │   ├── gameport
│           │   │   │   │   ├── gameport.ko
│           │   │   │   │   ├── lightning.ko
│           │   │   │   │   └── ns558.ko
│           │   │   │   ├── input-polldev.ko
│           │   │   │   ├── keyboard
│           │   │   │   │   └── gpio_keys.ko
│           │   │   │   ├── misc
│           │   │   │   │   ├── ad714x-i2c.ko
│           │   │   │   │   ├── ad714x.ko
│           │   │   │   │   ├── ad714x-spi.ko
│           │   │   │   │   ├── adxl34x-i2c.ko
│           │   │   │   │   ├── adxl34x.ko
│           │   │   │   │   ├── adxl34x-spi.ko
│           │   │   │   │   ├── cma3000_d0x.ko
│           │   │   │   │   ├── rotary_encoder.ko
│           │   │   │   │   └── uinput.ko
│           │   │   │   └── serio
│           │   │   │       ├── serio.ko
│           │   │   │       ├── serio_raw.ko
│           │   │   │       └── serport.ko
│           │   │   ├── leds
│           │   │   │   └── trigger
│           │   │   │       ├── ledtrig-camera.ko
│           │   │   │       └── ledtrig-transient.ko
│           │   │   ├── md
│           │   │   │   ├── dm-bio-prison.ko
│           │   │   │   ├── dm-bufio.ko
│           │   │   │   ├── dm-crypt.ko
│           │   │   │   ├── dm-log.ko
│           │   │   │   ├── dm-mirror.ko
│           │   │   │   ├── dm-mod.ko
│           │   │   │   ├── dm-raid.ko
│           │   │   │   ├── dm-region-hash.ko
│           │   │   │   ├── dm-snapshot.ko
│           │   │   │   ├── dm-thin-pool.ko
│           │   │   │   ├── dm-zero.ko
│           │   │   │   ├── linear.ko
│           │   │   │   ├── md-mod.ko
│           │   │   │   ├── persistent-data
│           │   │   │   │   └── dm-persistent-data.ko
│           │   │   │   ├── raid0.ko
│           │   │   │   ├── raid10.ko
│           │   │   │   ├── raid1.ko
│           │   │   │   └── raid456.ko
│           │   │   ├── mfd
│           │   │   │   ├── arizona-i2c.ko
│           │   │   │   ├── arizona-spi.ko
│           │   │   │   ├── rpisense-core.ko
│           │   │   │   └── wl1273-core.ko
│           │   │   ├── misc
│           │   │   │   ├── bcm2835_smi.ko
│           │   │   │   └── eeprom
│           │   │   │       ├── at24.ko
│           │   │   │       └── eeprom_93cx6.ko
│           │   │   ├── mmc
│           │   │   │   └── host
│           │   │   │       ├── mmc_spi.ko
│           │   │   │       └── of_mmc_spi.ko
│           │   │   ├── mtd
│           │   │   │   ├── chips
│           │   │   │   │   └── chipreg.ko
│           │   │   │   ├── devices
│           │   │   │   │   └── m25p80.ko
│           │   │   │   ├── mtd_blkdevs.ko
│           │   │   │   ├── mtdblock.ko
│           │   │   │   ├── mtd.ko
│           │   │   │   ├── nand
│           │   │   │   │   ├── bcm2835_smi_nand.ko
│           │   │   │   │   ├── nand_ecc.ko
│           │   │   │   │   └── nand.ko
│           │   │   │   ├── ofpart.ko
│           │   │   │   ├── spi-nor
│           │   │   │   │   └── spi-nor.ko
│           │   │   │   └── ubi
│           │   │   │       └── ubi.ko
│           │   │   ├── mux
│           │   │   │   └── mux-core.ko
│           │   │   ├── perf
│           │   │   │   └── raspberrypi_axi_monitor.ko
│           │   │   ├── pinctrl
│           │   │   │   └── pinctrl-mcp23s08.ko
│           │   │   ├── power
│           │   │   │   └── supply
│           │   │   │       └── ds2760_battery.ko
│           │   │   ├── pps
│           │   │   │   ├── clients
│           │   │   │   │   ├── pps-gpio.ko
│           │   │   │   │   └── pps-ldisc.ko
│           │   │   │   └── pps_core.ko
│           │   │   ├── pwm
│           │   │   │   ├── pwm-bcm2835.ko
│           │   │   │   └── pwm-pca9685.ko
│           │   │   ├── regulator
│           │   │   │   └── fixed.ko
│           │   │   ├── rtc
│           │   │   │   ├── rtc-abx80x.ko
│           │   │   │   ├── rtc-bq32k.ko
│           │   │   │   ├── rtc-ds1302.ko
│           │   │   │   ├── rtc-ds1305.ko
│           │   │   │   ├── rtc-ds1307.ko
│           │   │   │   ├── rtc-ds1374.ko
│           │   │   │   ├── rtc-ds1390.ko
│           │   │   │   ├── rtc-ds1672.ko
│           │   │   │   ├── rtc-ds3232.ko
│           │   │   │   ├── rtc-em3027.ko
│           │   │   │   ├── rtc-fm3130.ko
│           │   │   │   ├── rtc-isl12022.ko
│           │   │   │   ├── rtc-isl1208.ko
│           │   │   │   ├── rtc-m41t80.ko
│           │   │   │   ├── rtc-m41t93.ko
│           │   │   │   ├── rtc-m41t94.ko
│           │   │   │   ├── rtc-max6900.ko
│           │   │   │   ├── rtc-max6902.ko
│           │   │   │   ├── rtc-pcf2123.ko
│           │   │   │   ├── rtc-pcf2127.ko
│           │   │   │   ├── rtc-pcf8523.ko
│           │   │   │   ├── rtc-pcf8563.ko
│           │   │   │   ├── rtc-pcf8583.ko
│           │   │   │   ├── rtc-r9701.ko
│           │   │   │   ├── rtc-rs5c348.ko
│           │   │   │   ├── rtc-rs5c372.ko
│           │   │   │   ├── rtc-rv3029c2.ko
│           │   │   │   ├── rtc-rx4581.ko
│           │   │   │   ├── rtc-rx8025.ko
│           │   │   │   ├── rtc-rx8581.ko
│           │   │   │   ├── rtc-s35390a.ko
│           │   │   │   └── rtc-x1205.ko
│           │   │   ├── scsi
│           │   │   │   ├── iscsi_boot_sysfs.ko
│           │   │   │   ├── osst.ko
│           │   │   │   ├── sg.ko
│           │   │   │   ├── sr_mod.ko
│           │   │   │   └── st.ko
│           │   │   ├── spi
│           │   │   │   ├── spi-bcm2835aux.ko
│           │   │   │   ├── spi-bcm2835.ko
│           │   │   │   └── spidev.ko
│           │   │   ├── ssb
│           │   │   │   └── ssb.ko
│           │   │   ├── staging
│           │   │   │   ├── fbtft
│           │   │   │   │   ├── fb_agm1264k-fl.ko
│           │   │   │   │   ├── fb_bd663474.ko
│           │   │   │   │   ├── fb_hx8340bn.ko
│           │   │   │   │   ├── fb_hx8347d.ko
│           │   │   │   │   ├── fb_hx8353d.ko
│           │   │   │   │   ├── fb_hx8357d.ko
│           │   │   │   │   ├── fb_ili9163.ko
│           │   │   │   │   ├── fb_ili9320.ko
│           │   │   │   │   ├── fb_ili9325.ko
│           │   │   │   │   ├── fb_ili9340.ko
│           │   │   │   │   ├── fb_ili9341.ko
│           │   │   │   │   ├── fb_ili9481.ko
│           │   │   │   │   ├── fb_ili9486.ko
│           │   │   │   │   ├── fb_pcd8544.ko
│           │   │   │   │   ├── fb_ra8875.ko
│           │   │   │   │   ├── fb_s6d02a1.ko
│           │   │   │   │   ├── fb_s6d1121.ko
│           │   │   │   │   ├── fb_ssd1289.ko
│           │   │   │   │   ├── fb_ssd1306.ko
│           │   │   │   │   ├── fb_ssd1331.ko
│           │   │   │   │   ├── fb_ssd1351.ko
│           │   │   │   │   ├── fb_st7735r.ko
│           │   │   │   │   ├── fb_st7789v.ko
│           │   │   │   │   ├── fbtft_device.ko
│           │   │   │   │   ├── fbtft.ko
│           │   │   │   │   ├── fb_tinylcd.ko
│           │   │   │   │   ├── fb_tls8204.ko
│           │   │   │   │   ├── fb_uc1701.ko
│           │   │   │   │   ├── fb_upd161704.ko
│           │   │   │   │   ├── fb_watterott.ko
│           │   │   │   │   └── flexfb.ko
│           │   │   │   └── speakup
│           │   │   │       ├── speakup.ko
│           │   │   │       └── speakup_soft.ko
│           │   │   ├── tty
│           │   │   │   └── serial
│           │   │   │       └── sc16is7xx.ko
│           │   │   ├── uio
│           │   │   │   ├── uio.ko
│           │   │   │   └── uio_pdrv_genirq.ko
│           │   │   ├── video
│           │   │   │   ├── backlight
│           │   │   │   │   ├── gpio_backlight.ko
│           │   │   │   │   ├── lcd.ko
│           │   │   │   │   └── rpi_backlight.ko
│           │   │   │   └── fbdev
│           │   │   │       ├── core
│           │   │   │       │   ├── fb_sys_fops.ko
│           │   │   │       │   ├── syscopyarea.ko
│           │   │   │       │   ├── sysfillrect.ko
│           │   │   │       │   └── sysimgblt.ko
│           │   │   │       ├── rpisense-fb.ko
│           │   │   │       └── ssd1307fb.ko
│           │   │   ├── w1
│           │   │   │   ├── masters
│           │   │   │   │   ├── ds1wm.ko
│           │   │   │   │   ├── ds2482.ko
│           │   │   │   │   └── w1-gpio.ko
│           │   │   │   ├── slaves
│           │   │   │   │   ├── w1_ds2406.ko
│           │   │   │   │   ├── w1_ds2408.ko
│           │   │   │   │   ├── w1_ds2413.ko
│           │   │   │   │   ├── w1_ds2423.ko
│           │   │   │   │   ├── w1_ds2431.ko
│           │   │   │   │   ├── w1_ds2433.ko
│           │   │   │   │   ├── w1_ds2438.ko
│           │   │   │   │   ├── w1_ds2760.ko
│           │   │   │   │   ├── w1_ds2780.ko
│           │   │   │   │   ├── w1_ds2781.ko
│           │   │   │   │   ├── w1_ds28e04.ko
│           │   │   │   │   ├── w1_smem.ko
│           │   │   │   │   └── w1_therm.ko
│           │   │   │   └── wire.ko
│           │   │   └── watchdog
│           │   │       └── gpio_wdt.ko
│           │   ├── fs
│           │   │   ├── binfmt_misc.ko
│           │   │   ├── btrfs
│           │   │   │   └── btrfs.ko
│           │   │   ├── ecryptfs
│           │   │   │   └── ecryptfs.ko
│           │   │   ├── fuse
│           │   │   │   ├── cuse.ko
│           │   │   │   └── fuse.ko
│           │   │   ├── gfs2
│           │   │   │   └── gfs2.ko
│           │   │   ├── hfs
│           │   │   │   └── hfs.ko
│           │   │   ├── hfsplus
│           │   │   │   └── hfsplus.ko
│           │   │   ├── isofs
│           │   │   │   └── isofs.ko
│           │   │   ├── jffs2
│           │   │   │   └── jffs2.ko
│           │   │   ├── jfs
│           │   │   │   └── jfs.ko
│           │   │   ├── nilfs2
│           │   │   │   └── nilfs2.ko
│           │   │   ├── nls
│           │   │   │   ├── nls_cp1250.ko
│           │   │   │   ├── nls_cp1251.ko
│           │   │   │   ├── nls_cp1255.ko
│           │   │   │   ├── nls_cp737.ko
│           │   │   │   ├── nls_cp775.ko
│           │   │   │   ├── nls_cp850.ko
│           │   │   │   ├── nls_cp852.ko
│           │   │   │   ├── nls_cp855.ko
│           │   │   │   ├── nls_cp857.ko
│           │   │   │   ├── nls_cp860.ko
│           │   │   │   ├── nls_cp861.ko
│           │   │   │   ├── nls_cp862.ko
│           │   │   │   ├── nls_cp863.ko
│           │   │   │   ├── nls_cp864.ko
│           │   │   │   ├── nls_cp865.ko
│           │   │   │   ├── nls_cp866.ko
│           │   │   │   ├── nls_cp869.ko
│           │   │   │   ├── nls_cp874.ko
│           │   │   │   ├── nls_cp932.ko
│           │   │   │   ├── nls_cp936.ko
│           │   │   │   ├── nls_cp949.ko
│           │   │   │   ├── nls_cp950.ko
│           │   │   │   ├── nls_euc-jp.ko
│           │   │   │   ├── nls_iso8859-13.ko
│           │   │   │   ├── nls_iso8859-14.ko
│           │   │   │   ├── nls_iso8859-15.ko
│           │   │   │   ├── nls_iso8859-1.ko
│           │   │   │   ├── nls_iso8859-2.ko
│           │   │   │   ├── nls_iso8859-3.ko
│           │   │   │   ├── nls_iso8859-4.ko
│           │   │   │   ├── nls_iso8859-5.ko
│           │   │   │   ├── nls_iso8859-6.ko
│           │   │   │   ├── nls_iso8859-7.ko
│           │   │   │   ├── nls_iso8859-9.ko
│           │   │   │   ├── nls_koi8-r.ko
│           │   │   │   ├── nls_koi8-ru.ko
│           │   │   │   ├── nls_koi8-u.ko
│           │   │   │   └── nls_utf8.ko
│           │   │   ├── ntfs
│           │   │   │   └── ntfs.ko
│           │   │   ├── overlayfs
│           │   │   │   └── overlay.ko
│           │   │   ├── quota
│           │   │   │   ├── quota_tree.ko
│           │   │   │   ├── quota_v1.ko
│           │   │   │   └── quota_v2.ko
│           │   │   ├── reiserfs
│           │   │   │   └── reiserfs.ko
│           │   │   ├── squashfs
│           │   │   │   └── squashfs.ko
│           │   │   ├── ubifs
│           │   │   │   └── ubifs.ko
│           │   │   ├── udf
│           │   │   │   └── udf.ko
│           │   │   └── xfs
│           │   │       └── xfs.ko
│           │   ├── kernel
│           │   │   └── configs.ko
│           │   ├── lib
│           │   │   ├── crc7.ko
│           │   │   ├── crc8.ko
│           │   │   ├── crc-ccitt.ko
│           │   │   ├── lz4
│           │   │   │   └── lz4_compress.ko
│           │   │   ├── lzo
│           │   │   │   └── lzo_compress.ko
│           │   │   ├── raid6
│           │   │   │   └── raid6_pq.ko
│           │   │   ├── xxhash.ko
│           │   │   ├── zlib_deflate
│           │   │   │   └── zlib_deflate.ko
│           │   │   └── zstd
│           │   │       ├── zstd_compress.ko
│           │   │       └── zstd_decompress.ko
│           │   └── mm
│           │       └── zsmalloc.ko
│           ├── modules.alias
│           ├── modules.alias.bin
│           ├── modules.builtin
│           ├── modules.builtin.bin
│           ├── modules.dep
│           ├── modules.dep.bin
│           ├── modules.devname
│           ├── modules.order
│           ├── modules.softdep
│           ├── modules.symbols
│           └── modules.symbols.bin
├── lib32 -> lib
├── linuxrc -> bin/busybox
├── lost+found
├── media
├── mnt
├── opt
├── proc
├── root
│   └── QmlTestApplication
├── run
│   └── utmp
├── sbin
│   ├── arp -> ../bin/busybox
│   ├── blkid -> ../bin/busybox
│   ├── devmem -> ../bin/busybox
│   ├── fdisk -> ../bin/busybox
│   ├── freeramdisk -> ../bin/busybox
│   ├── fsck -> ../bin/busybox
│   ├── fstrim -> ../bin/busybox
│   ├── getty -> ../bin/busybox
│   ├── halt -> ../bin/busybox
│   ├── hdparm -> ../bin/busybox
│   ├── hwclock -> ../bin/busybox
│   ├── ifconfig -> ../bin/busybox
│   ├── ifdown -> ../bin/busybox
│   ├── ifup -> ../bin/busybox
│   ├── init -> ../bin/busybox
│   ├── insmod -> ../bin/busybox
│   ├── ip -> ../bin/busybox
│   ├── ipaddr -> ../bin/busybox
│   ├── iplink -> ../bin/busybox
│   ├── ipneigh -> ../bin/busybox
│   ├── iproute -> ../bin/busybox
│   ├── iprule -> ../bin/busybox
│   ├── iptunnel -> ../bin/busybox
│   ├── klogd -> ../bin/busybox
│   ├── loadkmap -> ../bin/busybox
│   ├── losetup -> ../bin/busybox
│   ├── lsmod -> ../bin/busybox
│   ├── makedevs -> ../bin/busybox
│   ├── mdev -> ../bin/busybox
│   ├── mkdosfs -> ../bin/busybox
│   ├── mke2fs -> ../bin/busybox
│   ├── mkswap -> ../bin/busybox
│   ├── modprobe -> ../bin/busybox
│   ├── nameif -> ../bin/busybox
│   ├── pivot_root -> ../bin/busybox
│   ├── poweroff -> ../bin/busybox
│   ├── reboot -> ../bin/busybox
│   ├── rmmod -> ../bin/busybox
│   ├── route -> ../bin/busybox
│   ├── run-init -> ../bin/busybox
│   ├── runlevel -> ../bin/busybox
│   ├── setconsole -> ../bin/busybox
│   ├── start-stop-daemon -> ../bin/busybox
│   ├── sulogin -> ../bin/busybox
│   ├── swapoff -> ../bin/busybox
│   ├── swapon -> ../bin/busybox
│   ├── switch_root -> ../bin/busybox
│   ├── sysctl -> ../bin/busybox
│   ├── syslogd -> ../bin/busybox
│   ├── tc -> ../bin/busybox
│   ├── udhcpc -> ../bin/busybox
│   ├── uevent -> ../bin/busybox
│   ├── vconfig -> ../bin/busybox
│   └── watchdog -> ../bin/busybox
├── sys
├── tmp
├── usr
│   ├── bin
│   │   ├── [ -> ../../bin/busybox
│   │   ├── [[ -> ../../bin/busybox
│   │   ├── ar -> ../../bin/busybox
│   │   ├── awk -> ../../bin/busybox
│   │   ├── basename -> ../../bin/busybox
│   │   ├── bunzip2 -> ../../bin/busybox
│   │   ├── bzcat -> ../../bin/busybox
│   │   ├── chrt -> ../../bin/busybox
│   │   ├── chvt -> ../../bin/busybox
│   │   ├── cksum -> ../../bin/busybox
│   │   ├── clear -> ../../bin/busybox
│   │   ├── cmp -> ../../bin/busybox
│   │   ├── containers_check_frame_int
│   │   ├── containers_datagram_receiver
│   │   ├── containers_datagram_sender
│   │   ├── containers_dump_pktfile
│   │   ├── containers_rtp_decoder
│   │   ├── containers_stream_client
│   │   ├── containers_stream_server
│   │   ├── containers_test
│   │   ├── containers_test_bits
│   │   ├── containers_test_uri
│   │   ├── containers_uri_pipe
│   │   ├── crontab -> ../../bin/busybox
│   │   ├── cut -> ../../bin/busybox
│   │   ├── dc -> ../../bin/busybox
│   │   ├── deallocvt -> ../../bin/busybox
│   │   ├── diff -> ../../bin/busybox
│   │   ├── dirname -> ../../bin/busybox
│   │   ├── dos2unix -> ../../bin/busybox
│   │   ├── dtmerge
│   │   ├── dtoverlay
│   │   ├── dtoverlay-post
│   │   ├── dtoverlay-pre
│   │   ├── dtparam -> dtoverlay
│   │   ├── du -> ../../bin/busybox
│   │   ├── eject -> ../../bin/busybox
│   │   ├── env -> ../../bin/busybox
│   │   ├── expr -> ../../bin/busybox
│   │   ├── factor -> ../../bin/busybox
│   │   ├── fallocate -> ../../bin/busybox
│   │   ├── find -> ../../bin/busybox
│   │   ├── flock -> ../../bin/busybox
│   │   ├── fold -> ../../bin/busybox
│   │   ├── free -> ../../bin/busybox
│   │   ├── fuser -> ../../bin/busybox
│   │   ├── head -> ../../bin/busybox
│   │   ├── hexdump -> ../../bin/busybox
│   │   ├── hexedit -> ../../bin/busybox
│   │   ├── hostid -> ../../bin/busybox
│   │   ├── id -> ../../bin/busybox
│   │   ├── install -> ../../bin/busybox
│   │   ├── ipcrm -> ../../bin/busybox
│   │   ├── ipcs -> ../../bin/busybox
│   │   ├── killall -> ../../bin/busybox
│   │   ├── last -> ../../bin/busybox
│   │   ├── less -> ../../bin/busybox
│   │   ├── logger -> ../../bin/busybox
│   │   ├── logname -> ../../bin/busybox
│   │   ├── lsof -> ../../bin/busybox
│   │   ├── lspci -> ../../bin/busybox
│   │   ├── lsscsi -> ../../bin/busybox
│   │   ├── lsusb -> ../../bin/busybox
│   │   ├── lzcat -> ../../bin/busybox
│   │   ├── lzma -> ../../bin/busybox
│   │   ├── lzopcat -> ../../bin/busybox
│   │   ├── md5sum -> ../../bin/busybox
│   │   ├── mesg -> ../../bin/busybox
│   │   ├── microcom -> ../../bin/busybox
│   │   ├── mkfifo -> ../../bin/busybox
│   │   ├── mkpasswd -> ../../bin/busybox
│   │   ├── mmal_vc_diag
│   │   ├── nl -> ../../bin/busybox
│   │   ├── nohup -> ../../bin/busybox
│   │   ├── nproc -> ../../bin/busybox
│   │   ├── nslookup -> ../../bin/busybox
│   │   ├── od -> ../../bin/busybox
│   │   ├── openvt -> ../../bin/busybox
│   │   ├── passwd -> ../../bin/busybox
│   │   ├── paste -> ../../bin/busybox
│   │   ├── patch -> ../../bin/busybox
│   │   ├── printf -> ../../bin/busybox
│   │   ├── raspistill
│   │   ├── raspivid
│   │   ├── raspividyuv
│   │   ├── raspiyuv
│   │   ├── readlink -> ../../bin/busybox
│   │   ├── realpath -> ../../bin/busybox
│   │   ├── renice -> ../../bin/busybox
│   │   ├── reset -> ../../bin/busybox
│   │   ├── resize -> ../../bin/busybox
│   │   ├── seq -> ../../bin/busybox
│   │   ├── setfattr -> ../../bin/busybox
│   │   ├── setkeycodes -> ../../bin/busybox
│   │   ├── setsid -> ../../bin/busybox
│   │   ├── sha1sum -> ../../bin/busybox
│   │   ├── sha256sum -> ../../bin/busybox
│   │   ├── sha3sum -> ../../bin/busybox
│   │   ├── sha512sum -> ../../bin/busybox
│   │   ├── shred -> ../../bin/busybox
│   │   ├── sort -> ../../bin/busybox
│   │   ├── strings -> ../../bin/busybox
│   │   ├── svc -> ../../bin/busybox
│   │   ├── svok -> ../../bin/busybox
│   │   ├── tail -> ../../bin/busybox
│   │   ├── tee -> ../../bin/busybox
│   │   ├── telnet -> ../../bin/busybox
│   │   ├── test -> ../../bin/busybox
│   │   ├── tftp -> ../../bin/busybox
│   │   ├── time -> ../../bin/busybox
│   │   ├── top -> ../../bin/busybox
│   │   ├── tr -> ../../bin/busybox
│   │   ├── traceroute -> ../../bin/busybox
│   │   ├── truncate -> ../../bin/busybox
│   │   ├── tty -> ../../bin/busybox
│   │   ├── tvservice
│   │   ├── uniq -> ../../bin/busybox
│   │   ├── unix2dos -> ../../bin/busybox
│   │   ├── unlink -> ../../bin/busybox
│   │   ├── unlzma -> ../../bin/busybox
│   │   ├── unlzop -> ../../bin/busybox
│   │   ├── unxz -> ../../bin/busybox
│   │   ├── unzip -> ../../bin/busybox
│   │   ├── uptime -> ../../bin/busybox
│   │   ├── uudecode -> ../../bin/busybox
│   │   ├── uuencode -> ../../bin/busybox
│   │   ├── vcgencmd
│   │   ├── vchiq_test
│   │   ├── vcmailbox
│   │   ├── vcsmem
│   │   ├── vlock -> ../../bin/busybox
│   │   ├── w -> ../../bin/busybox
│   │   ├── wc -> ../../bin/busybox
│   │   ├── wget -> ../../bin/busybox
│   │   ├── which -> ../../bin/busybox
│   │   ├── who -> ../../bin/busybox
│   │   ├── whoami -> ../../bin/busybox
│   │   ├── xargs -> ../../bin/busybox
│   │   ├── xxd -> ../../bin/busybox
│   │   ├── xz -> ../../bin/busybox
│   │   ├── xzcat -> ../../bin/busybox
│   │   └── yes -> ../../bin/busybox
│   ├── etc
│   │   └── init.d
│   │       └── vcfiled
│   ├── lib
│   │   ├── libbcm_host.so
│   │   ├── libbrcmEGL.so
│   │   ├── libbrcmGLESv2.so
│   │   ├── libbrcmOpenVG.so
│   │   ├── libbrcmWFC.so
│   │   ├── libcontainers.so
│   │   ├── libdebug_sym.so
│   │   ├── libdtovl.so
│   │   ├── libEGL.so
│   │   ├── libGLESv2.so
│   │   ├── libkhrn_client.so
│   │   ├── libmmal_components.so
│   │   ├── libmmal_core.so
│   │   ├── libmmal.so
│   │   ├── libmmal_util.so
│   │   ├── libmmal_vc_client.so
│   │   ├── libopenmaxil.so
│   │   ├── libOpenVG.so
│   │   ├── libstdc++.so -> libstdc++.so.6.0.24
│   │   ├── libstdc++.so.6 -> libstdc++.so.6.0.24
│   │   ├── libstdc++.so.6.0.24
│   │   ├── libstdc++.so.6.0.24-gdb.py
│   │   ├── libvcfiled_check.so
│   │   ├── libvchiq_arm.so
│   │   ├── libvchostif.so
│   │   ├── libvcilcs.so
│   │   ├── libvcos.so
│   │   ├── libvcsm.so
│   │   ├── libWFC.so
│   │   ├── os-release
│   │   └── plugins
│   │       ├── reader_asf.so
│   │       ├── reader_avi.so
│   │       ├── reader_binary.so
│   │       ├── reader_flv.so
│   │       ├── reader_metadata_id3.so
│   │       ├── reader_mkv.so
│   │       ├── reader_mp4.so
│   │       ├── reader_mpga.so
│   │       ├── reader_ps.so
│   │       ├── reader_qsynth.so
│   │       ├── reader_raw_video.so
│   │       ├── reader_rcv.so
│   │       ├── reader_rtp.so
│   │       ├── reader_rtsp.so
│   │       ├── reader_rv9.so
│   │       ├── reader_simple.so
│   │       ├── reader_wav.so
│   │       ├── writer_asf.so
│   │       ├── writer_avi.so
│   │       ├── writer_binary.so
│   │       ├── writer_dummy.so
│   │       ├── writer_mp4.so
│   │       ├── writer_raw_video.so
│   │       └── writer_simple.so
│   ├── lib32 -> lib
│   ├── sbin
│   │   ├── addgroup -> ../../bin/busybox
│   │   ├── adduser -> ../../bin/busybox
│   │   ├── arping -> ../../bin/busybox
│   │   ├── chroot -> ../../bin/busybox
│   │   ├── crond -> ../../bin/busybox
│   │   ├── delgroup -> ../../bin/busybox
│   │   ├── deluser -> ../../bin/busybox
│   │   ├── dnsd -> ../../bin/busybox
│   │   ├── ether-wake -> ../../bin/busybox
│   │   ├── fbset -> ../../bin/busybox
│   │   ├── fdformat -> ../../bin/busybox
│   │   ├── fsfreeze -> ../../bin/busybox
│   │   ├── i2cdetect -> ../../bin/busybox
│   │   ├── i2cdump -> ../../bin/busybox
│   │   ├── i2cget -> ../../bin/busybox
│   │   ├── i2cset -> ../../bin/busybox
│   │   ├── inetd -> ../../bin/busybox
│   │   ├── killall5 -> ../../bin/busybox
│   │   ├── loadfont -> ../../bin/busybox
│   │   ├── partprobe -> ../../bin/busybox
│   │   ├── rdate -> ../../bin/busybox
│   │   ├── readprofile -> ../../bin/busybox
│   │   ├── setlogcons -> ../../bin/busybox
│   │   ├── ubirename -> ../../bin/busybox
│   │   └── vcfiled
│   └── share
│       └── udhcpc
│           ├── default.script
│           └── default.script.d
└── var
    ├── cache -> ../tmp
    ├── lib
    │   └── misc -> ../../tmp
    ├── lock -> ../tmp
    ├── log -> ../tmp
    ├── run -> ../run
    ├── spool -> ../tmp
    ├── tmp -> ../tmp
    └── www

151 directories, 785 files

'embeded > raspberry pi' 카테고리의 다른 글

rpitx  (0) 2021.12.16
wayland on rpi  (0) 2021.11.22
img 파일 마운트 하기  (0) 2021.11.20
rpi 3b 2초 부팅 이미지 테스트  (0) 2021.11.17
라즈베리 피코 USB HID 키코드  (0) 2021.11.16
Posted by 구차니
embeded/raspberry pi2021. 11. 20. 23:18

mount offset 기능을 이용해서 계산해 적당히 붙이면 된다고..

# fdisk -l whatever.img
Device         Boot     Start       End  Blocks  Id System
whatever.img1            8192    122879   57344   c W95 FAT32 (LBA)
whatever.img2          122880   5785599 2831360  83 Linux

# mount -v -o offset=4194304 -t vfat whatever.img /mnt/img/one
# mount -v -o offset=62914560 -t ext4 whatever.img /mnt/img/two

[링크 : https://raspberrypi.stackexchange.com/questions/13137/how-can-i-mount-a-raspberry-pi-linux-distro-image]

'embeded > raspberry pi' 카테고리의 다른 글

wayland on rpi  (0) 2021.11.22
rpi 3b 2초 부팅 fs  (0) 2021.11.20
rpi 3b 2초 부팅 이미지 테스트  (0) 2021.11.17
라즈베리 피코 USB HID 키코드  (0) 2021.11.16
라즈베리 파이 피코 한글 키 입력?  (0) 2021.11.16
Posted by 구차니

어우 병원비 ㅠㅠ

오랫만에 실손보험이 값어치를 하려나?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

추워어어  (0) 2021.11.30
방정  (0) 2021.11.21
병원 투어  (0) 2021.11.15
오랫만에 키즈카페  (0) 2021.11.14
병원  (0) 2021.11.13
Posted by 구차니
프로그램 사용/nc2021. 11. 19. 11:24

nc를 이용해 udp 소켓을 테스트 하고 있는데

UDP 서버(?)

$ nc -ul 0.0.0.0 6000

 

UDP 클라이언트

$ nc -u 0.0.0.0 6000

 

로 설정하고 클라이언트에서 1번 메시지를 보낸 후, ctrl-c를 눌러 종료하고

다시 전송하려고 nc -u 옵션을 통해 실행하면 전송되지 않고 종료된다.

 

혹시나 해서 옵션을 찾아보니 forces nc to stay listening for another connection 이라는게 보이네..

아무튼 udp 커넥션(?)이 이뤄지면 netstat -unl 에서도 사라지는데 멀까...?

 

-k' Forces nc to stay listening for another connection after its current connection is completed. It is an error to use this option without the -l option.

-l' Used to specify that nc should listen for an incoming connection rather than initiate a connection to a remote host. It is an error to use this option in conjunction with the -p, -s, or -z options. Additionally, any timeouts specified with the -w option are ignored.

[링크 : https://linux.die.net/man/1/nc]

Posted by 구차니
프로그램 사용/wayland2021. 11. 18. 13:48

 

static const struct android_wlegl_handle_interface server_handle_impl = {
add_fd,
destroy
};

server_wlegl_handle *
server_wlegl_handle_create(uint32_t id)
{
server_wlegl_handle *handle = new server_wlegl_handle;

memset(handle, 0, sizeof(*handle));

handle->resource.object.id = id;
handle->resource.object.interface = &android_wlegl_handle_interface;
handle->resource.object.implementation =
(void (**)(void))&server_handle_impl;

handle->resource.destroy = server_wlegl_handle_dtor;
handle->resource.data = handle;

wl_array_init(&handle->ints);
wl_array_init(&handle->fds);

return handle;
}

[링크 : https://github.com/libhybris/libhybris/blob/master/hybris/egl/platforms/common/server_wlegl_handle.cpp]

 

extern const struct wl_interface android_wlegl_handle_interface;

[링크 : https://github.com/groleo/simple-yuv/blob/master/wayland-android-client-protocol.h]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston 구조  (0) 2021.11.24
wayland weston flow  (0) 2021.11.22
wayland weston  (0) 2021.11.17
Posted by 구차니
프로그램 사용/gcc2021. 11. 18. 12:46

gcc에서 해보는데 헐.. 이게 되네?

변수명과 구조체 타입명은 다른 영역으로 구분되나?

identifier로 동일하게 취급될줄 알았는데 아니라니?

 

$ cat t.c
#include <stdio.h>

struct help { int a; int b; int c;};

struct help a;
int help = 1;

void main()
{
        a.a = 5;
        a.b = 7;
        a.c = 9;
        printf("%d %d %d %d\n",help, a.a, a.b, a.c);
}

 

$ gcc t.c
$ ./a.out
1 5 7 9

 

[링크 : https://cpp.hotexamples.com/site/file?hash=0x3b8107de9c96fe7f1b348af2ed3b6ff15fb2cb740a65ea0a91d33bcab75b25ae&fullName=wheatley-master/wlegl_handle.c&project=jekstrand/wheatley]

 

다만, 함수와 변수명의 식별자 영역은 동일한지 에러가 발생한다.

$ cat t.c
#include <stdio.h>

void help()
{
        printf("%s\n",__func__);
}

struct help { int a; int b; int c;};

struct help a;
int help = 1;

void main()
{
        a.a = 5;
        a.b = 7;
        a.c = 9;
        printf("%d %d %d %d\n",help, a.a, a.b, a.c);
        help();
}

 

$ gcc t.c
t.c:11:5: error: ‘help’ redeclared as different kind of symbol
 int help = 1;
     ^~~~
t.c:3:6: note: previous definition of ‘help’ was here
 void help()
      ^~~~
t.c: In function ‘main’:
t.c:19:2: error: called object ‘help’ is not a function or function pointer
  help();
  ^~~~
t.c:11:5: note: declared here
 int help = 1;
     ^~~~

'프로그램 사용 > gcc' 카테고리의 다른 글

gcc / 문자열 선언  (0) 2022.03.17
static link  (0) 2022.02.07
gcc unsigned to signed upcast 테스트  (0) 2021.07.08
gcc vectorized loop  (0) 2021.06.30
gcc unsigned to signed cast  (0) 2021.06.22
Posted by 구차니
embeded/raspberry pi2021. 11. 17. 23:35

빠르긴 한데

터미널도 없어진건가?!

 

$ sudo fdisk /dev/sda -l
Disk /dev/sda: 1.9 GiB, 1977614336 bytes, 3862528 sectors
Disk model: SD  Transcend
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdd604128

Device     Boot Start    End Sectors Size Id Type
/dev/sda1  *        1  32768   32768  16M  c W95 FAT32 (LBA)
/dev/sda2       32769 163840  131072  64M 83 Linux

 

$ ls -al /mnt
total 5462
drwxr-xr-x  3 root root   16384 Jan  1  1970  .
drwxr-xr-x 21 root root    4096 Aug 20  2020  ..
-rwxr-xr-x  1 root root   52296 Nov 16 17:32  bootcode.bin
-rwxr-xr-x  1 root root      65 Nov 16 17:32  cmdline.txt
-rwxr-xr-x  1 root root     199 Nov 16 17:32  config.txt
-rwxr-xr-x  1 root root 2869636 Nov 16 17:32  start.elf
drwxr-xr-x  2 root root    2048 Nov 17  2021 'System Volume Information'
-rwxr-xr-x  1 root root 2641736 Nov 16 17:32  zImagen

$ cat /mnt/config.txt
#---> Boot
kernel=zImagen
disable_overscan=1
boot_delay=0
enable_uart=1
disable_splash=1

#--> OverClock
#sdram_freq=700
#initial_turbo=1
#force_turbo=1
#over_voltage=6
#arm_freq=1400
#core_freq=600

$ cat /mnt/cmdline.txt
root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200

 

/mnt/etc $ cat inittab
# /etc/inittab
#
# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
#
# Note: BusyBox init doesn't support runlevels.  The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use
# sysvinit.
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
# id        == tty to run on, or empty for /dev/console
# runlevels == ignored
# action    == one of sysinit, respawn, askfirst, wait, and once
# process   == program to run

# Startup the system
::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mkdir -p /dev/pts /dev/shm
::sysinit:/bin/mount -a
::sysinit:/sbin/swapon -a
null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd
null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin
null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout
null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS

# Put a getty on the serial port
console::respawn:/sbin/getty -L  console 0 vt100 # GENERIC_SERIAL

# Stuff to do for the 3-finger salute
#::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
::shutdown:/etc/init.d/rcK
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r

/mnt/etc/init.d $ ls -al
total 9
drwxr-xr-x 2 root root 1024 Nov 16 08:01 .
drwxr-xr-x 5 root root 1024 Jan  1  1970 ..
-rwxr-xr-x 1 root root  423 Nov 16 08:26 rcK
-rwxr-xr-x 1 root root  408 Nov 16 08:26 rcS
-rwxr-xr-x 1 root root 1012 Nov 16 08:26 S01syslogd
-rwxr-xr-x 1 root root 1004 Nov 16 08:26 S02klogd
-rwxr-xr-x 1 root root 1272 Nov 16 08:26 S20urandom
-rwxr-xr-x 1 root root   54 Nov 16 08:01 S21ftDev


/mnt/etc/init.d $ cat rcS
#!/bin/sh


# Start all init scripts in /etc/init.d
# executing them in numerical order.
#
for i in /etc/init.d/S??* ;do

     # Ignore dangling symlinks (if any).
     [ ! -f "$i" ] && continue

     case "$i" in
        *.sh)
            # Source shell script for speed.
            (
                trap - INT QUIT TSTP
                set start
                . $i
            )
            ;;
        *)
            # No sh extension, so fork subprocess.
            $i start
            ;;
    esac
done

pi@raspberrypi:/mnt/etc/init.d $ cat S21ftDev
#! /bin/sh

/root/QmlTestApplication --platform eglfs

/mnt $ sudo ls -al root
total 17151
drwx------  2 root root     1024 Nov 16 08:01 .
drwxr-xr-x 19 root root     1024 Jan  1  1970 ..
-rwxr-xr-x  1 root root 17710284 Nov 16 08:01 QmlTestApplication


/mnt $ sudo file root/QmlTestApplication
root/QmlTestApplication: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.14.0, stripped

'embeded > raspberry pi' 카테고리의 다른 글

rpi 3b 2초 부팅 fs  (0) 2021.11.20
img 파일 마운트 하기  (0) 2021.11.20
라즈베리 피코 USB HID 키코드  (0) 2021.11.16
라즈베리 파이 피코 한글 키 입력?  (0) 2021.11.16
rpi3 2초만에 부팅하기  (0) 2021.10.30
Posted by 구차니
프로그램 사용/wayland2021. 11. 17. 18:21

'프로그램 사용 > wayland' 카테고리의 다른 글

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston 구조  (0) 2021.11.24
wayland weston flow  (0) 2021.11.22
wayland / weston  (0) 2021.11.18
Posted by 구차니
embeded/raspberry pi2021. 11. 16. 16:39

일단 테스트 해보니.. Keycode.LEFT_ARROW 하니 ctrl+shift+left_arrow 하듯 작동한다.

ascii 문자열로 출력하는 거라 방향키를 넣을 방법은 라이브러리를 수정하기 전에는 불가능 할 듯.

 

    PRINT_SCREEN = 0x46
    """Print Screen (SysRq)"""
    SCROLL_LOCK = 0x47
    """Scroll Lock"""
    PAUSE = 0x48
    """Pause (Break)"""

    INSERT = 0x49
    """Insert"""
    HOME = 0x4A
    """Home (often moves to beginning of line)"""
    PAGE_UP = 0x4B
    """Go back one page"""
    DELETE = 0x4C
    """Delete forward"""
    END = 0x4D
    """End (often moves to end of line)"""
    PAGE_DOWN = 0x4E
    """Go forward one page"""

    RIGHT_ARROW = 0x4F
    """Move the cursor right"""
    LEFT_ARROW = 0x50
    """Move the cursor left"""
    DOWN_ARROW = 0x51
    """Move the cursor down"""
    UP_ARROW = 0x52
    """Move the cursor up"""

[링크 : https://circuitpython.readthedocs.io/projects/hid/en/latest/_modules/adafruit_hid/keycode.html]

Posted by 구차니