Dafang-Hacks / Main

138 stars 63 forks source link

Readme seems out of date #16

Closed AustinSaintAubin closed 6 years ago

AustinSaintAubin commented 6 years ago

Running into issues with following the readme. Some of the submodules seem to be missing.... some of the scripts are missing (assuming renamed).

austin@pop-os:~/test$ git clone --recurse-submodules https://github.com/Dafang-Hacks/Main.git
Cloning into 'Main'...
remote: Counting objects: 349, done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 349 (delta 30), reused 40 (delta 12), pack-reused 279
Receiving objects: 100% (349/349), 1.03 MiB | 920.00 KiB/s, done.
Resolving deltas: 100% (154/154), done.
Submodule 'Audio' (https://github.com/Dafang-Hacks/Audio.git) registered for path 'Audio'
Submodule 'busybox' (git://git.busybox.net/busybox) registered for path 'busybox'
Submodule 'dosfstools' (https://github.com/dosfstools/dosfstools) registered for path 'dosfstools'
Submodule 'drivers' (https://github.com/Dafang-Hacks/drivers.git) registered for path 'drivers'
Submodule 'kernel' (https://github.com/Dafang-Hacks/kernel) registered for path 'kernel'
Submodule 'lame' (https://github.com/Dafang-Hacks/lame) registered for path 'lame'
Submodule 'live' (https://github.com/Dafang-Hacks/live.git) registered for path 'live'
Submodule 'opus' (https://github.com/Dafang-Hacks/opus.git) registered for path 'opus'
Submodule 'toolchain' (git@github.com:Dafang-Hacks/mips-gcc472-glibc216-64bit.git) registered for path 'toolchain'
Submodule 'uboot' (git@github.com:Dafang-Hacks/uboot.git) registered for path 'uboot'
Cloning into '/home/austin/test/Main/Audio'...
remote: Counting objects: 13, done.        
remote: Compressing objects: 100% (10/10), done.        
remote: Total 13 (delta 2), reused 12 (delta 1), pack-reused 0        
Cloning into '/home/austin/test/Main/busybox'...
remote: Counting objects: 104976, done.        
remote: Compressing objects: 100% (23164/23164), done.        
remote: Total 104976 (delta 83925), reused 101694 (delta 81142)        
Receiving objects: 100% (104976/104976), 21.32 MiB | 1.54 MiB/s, done.
Resolving deltas: 100% (83925/83925), done.
Cloning into '/home/austin/test/Main/dosfstools'...
remote: Counting objects: 2249, done.        
remote: Compressing objects: 100% (12/12), done.        
remote: Total 2249 (delta 8), reused 9 (delta 5), pack-reused 2232        
Receiving objects: 100% (2249/2249), 789.26 KiB | 853.00 KiB/s, done.
Resolving deltas: 100% (1591/1591), done.
Cloning into '/home/austin/test/Main/drivers'...
remote: Counting objects: 395, done.        
remote: Compressing objects: 100% (241/241), done.        
remote: Total 395 (delta 150), reused 393 (delta 148), pack-reused 0        
Receiving objects: 100% (395/395), 784.73 KiB | 749.00 KiB/s, done.
Resolving deltas: 100% (150/150), done.
Cloning into '/home/austin/test/Main/kernel'...
remote: Counting objects: 48279, done.        
remote: Compressing objects: 100% (43303/43303), done.        
remote: Total 48279 (delta 4390), reused 48279 (delta 4390), pack-reused 0        
Receiving objects: 100% (48279/48279), 132.24 MiB | 2.92 MiB/s, done.
Resolving deltas: 100% (4390/4390), done.
Cloning into '/home/austin/test/Main/lame'...
remote: Counting objects: 528, done.        
remote: Compressing objects: 100% (330/330), done.        
remote: Total 528 (delta 176), reused 528 (delta 176), pack-reused 0        
Receiving objects: 100% (528/528), 2.53 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (176/176), done.
Cloning into '/home/austin/test/Main/live'...
remote: Counting objects: 772, done.        
remote: Compressing objects: 100% (485/485), done.        
remote: Total 772 (delta 284), reused 771 (delta 283), pack-reused 0        
Receiving objects: 100% (772/772), 3.17 MiB | 2.03 MiB/s, done.
Resolving deltas: 100% (284/284), done.
Cloning into '/home/austin/test/Main/opus'...
remote: Counting objects: 30090, done.        
remote: Total 30090 (delta 0), reused 0 (delta 0), pack-reused 30090        
Receiving objects: 100% (30090/30090), 9.18 MiB | 2.78 MiB/s, done.
Resolving deltas: 100% (23862/23862), done.
Cloning into '/home/austin/test/Main/toolchain'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:Dafang-Hacks/mips-gcc472-glibc216-64bit.git' into submodule path '/home/austin/test/Main/toolchain' failed
Failed to clone 'toolchain'. Retry scheduled
Cloning into '/home/austin/test/Main/uboot'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:Dafang-Hacks/uboot.git' into submodule path '/home/austin/test/Main/uboot' failed
Failed to clone 'uboot'. Retry scheduled
Cloning into '/home/austin/test/Main/toolchain'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:Dafang-Hacks/mips-gcc472-glibc216-64bit.git' into submodule path '/home/austin/test/Main/toolchain' failed
Failed to clone 'toolchain' a second time, aborting
austin@pop-os:~/test$ cd Main/
austin@pop-os:~/test/Main$ ./compile.sh
bash: ./compile.sh: No such file or directory
austin@pop-os:~/test/Main$ ./compile-libraries.sh
./compile-libraries.sh: line 1: ./lame/compile.sh: No such file or directory
./compile-libraries.sh: line 2: ./live/compile.sh: No such file or directory
./compile-libraries.sh: line 4: ./compile.sh: No such file or directory
nik0 commented 6 years ago

I don't know for your write access did you read this: https://help.github.com/articles/error-permission-denied-publickey/

To add ext3 you can try:

cd kernel
make menuconfig

(go in menu filesystem/ext3 choose 'M' for module) then make CROSS_COMPILE=YOURPATH/Main/mips-gcc472-glibc216-64bit/bin/mips-linux-gnu- at the end of the compilation, copy the new drivers in /system/sdcard/driverfor example

- fs/ext3/ext3.ko
- fs/jbd/jbd.ko
- fs/mbcache.ko

and finally on the camera:

insmod /system/sdcard/driver/mbcache.ko
insmod /system/sdcard/driver/jbd.ko
insmod /system/sdcard/driver/ext3.ko
AustinSaintAubin commented 6 years ago

Thank you for your help @nik0 I followed your instructions and I was able to build for EXT3 & EXT4.