=== increment progress === fopen("/proc/progress") fscanf("%d") add 1 fprintf("%d") fflush() fclose() === load modules (1st batch) === /sbin/insmod /usr/realtime/modules/rtai_hal.ko /sbin/insmod /usr/realtime/modules/rtai_smp.ko /sbin/insmod /usr/realtime/modules/rtai_sem.ko /sbin/insmod /usr/realtime/modules/rtai_ndbg.ko /sbin/insmod /usr/realtime/modules/rtai_fifos.ko /sbin/insmod /sbin/STGEnabler.ko /sbin/insmod /sbin/STGGmp.ko === set smp affinity === search "ehci_hcd" in /proc/interrupts write '4' to "/proc/irq/%d/smp_affinity" === load modules (2nd batch) === /sbin/insmod /sbin/OmapNKS4Module.ko /sbin/insmod /sbin/OmapVideoModule.ko /sbin/insmod /sbin/GetPubIdMod.ko /sbin/insmod /sbin/loadmod.ko === check if STG modules are alive === open /tmp/stgStatus check if value is '1' === mount crypto FS (1st batch) === /bin/mount -n -t ignoreType ignoreDev /korg/rw/PCM/WaveMotion > /dev/null /bin/mount -n -t ignoreType ignoreDev /korg/Mod > /dev/null === load modules (3rd batch, from cryptoFS) === /sbin/insmod /korg/Mod/KorgUsbAudioDriver.ko /sbin/insmod /sbin/USBMidiAccessory.ko === fork === fork() => child stays and will update /proc/progress parent writes progress child PID to "/tmp/progress.pid": fopen("/tmp/progress.pid") fprintf("%d") fflush() fclose() === mount 2nd disk if present === call "Has2ndInternalDisk": ls /sys/block | grep sdb udevinfo -a -p /sys/block/sdb | grep DRIVERS | grep usb mount -t ext3 -o commit=1,noatime /dev/sdb1 /korg/rw2 mv -f /korg/rw2/Options/* /korg/rw/Options mount --bind /korg/rw/HD /korg/ftp/SSD1 === load modules (4th bath, from cryptoFS) === /sbin/insmod /korg/Mod/OA.ko Has2ndInternalDisk=? === mount more stuff === /bin/umount -n /korg/Mod /bin/mount -n -t ignoreType ignoreDev /korg/Eva > /dev/null /bin/mount -n -t ignoreType ignoreDev /korg/rw/PCM/WaveMotion > /dev/null === run fanctrld === /bin/fanctrld > /dev/null === run Eva === /korg/Eva/Eva > /dev/null
Recommended
Rooting the KORG Kronos
Disclaimer: The following file is provided without any warranties. Backup all your settings before using it - maybe you'll need to ...
Search
Freitag, 29. Mai 2015
What does /sbin/loadoa do?
Abonnieren
Kommentare zum Post (Atom)
Keine Kommentare:
Kommentar veröffentlichen