dirtyharry123 / mca Goto Github PK
View Code? Open in Web Editor NEWMCA-NG Development Area
MCA-NG Development Area
MCA-NG Development Area (C) 2012 - dirtyharry123 Configuration files: CONFIG/APEX_FLASH_CMD Commandline for APEX in mca_card.bin max 30 Bytes CONFIG/APEX_SD_CMD Commandline for APEX in full_sd_image.img max 130 Bytes CONFIG/CAIDS Caids to be included in mca_cam.upb max 26 CONFIG/CAM_NAME Name of CAM (MCA/MNG) max 3 Bytes CONFIG/CAM_VERSION Version of CAM (326x) max 65535 (uint16_t) CONFIG/mcaboot.ini Default MCA-configuration CONFIG/mca.ini Not sure if this is used anywhere CONFIG/RELEASE Name of release (MCA_NG-X.Y-339) Building (image creation uses "sudo"): make Create everything make image Create distribution/full_sd_image.img (and all dependencies => everything) make sd_content Create all files in distribution/SD_CONTENT make rootfs.jffs2 Create distribution/SD_CONTENT/rootfs.jffs2 make mca_card.bin Create distribution/SD_CONTENT/mca_card.bin (APEX_SD + zImage) Additional targets for convenience: (dependencies for the above targets) make zImage Create KERNEL/zImage_packing/zImage make apex_sd.bin Update BLOBS/apex_sd.bin make apex_flash.bin Update BLOBS/apex_flash.bin make mca_cam.upb Update BLOBS/mca_cam.upb make rootfs Upadate ROOTFS Cleaning: make clean Delete intermediate files make distclean Also delete distribution-files
Good evening,
Some time ago I wrote that the /sys/ missing
I had a bad time and I have not been able to devote much time to play
Now I have some more time I'm testing, if I install your full 1G no problem, but if I create a full 1G with the code repository, stays in Sending discover ... does not reach the next step is the generation of dropbear
Thanks for sharing the work!
I was trying to make reversing the MCA to make updates, now I compiled curl, oscam.
When I do a make, either generates flawless filesystem with full_sd.img but when I put the SD in the MCA seems to be installed fine, provided it stays in starting system.
The code that is shared today?
Attached is a log of the compilation:
root@WaRMaChiNe:/home/unbas/Programacion/mca# make clean
rm -rf KERNEL/zImage_packing
rm -rf SD_CONTENT.fat
rm -rf SD_CONTENT_1G.fat
root@WaRMaChiNe:/home/unbas/Programacion/mca# make distclean
rm -rf KERNEL/zImage_packing
rm -rf SD_CONTENT.fat
rm -rf SD_CONTENT_1G.fat
rm -rf distribution/full_sd_image.img
rm -rf distribution/full_sd_image_1G.img
rm -rf distribution/SD_CONTENT/*
root@WaRMaChiNe:/home/unbas/Programacion/mca# make
/usr/sbin/mkfs.jffs2 -r ROOTFS -o distribution/SD_CONTENT/rootfs.jffs2 -e 128 -l -n -q -p
tools/mca_tool.pl -r distribution/SD_CONTENT/rootfs.jffs2
Original CRC32 = FFFFFFFF
Calculated CRC32 = DB21F0DA
CRC replaced
make -C INITRAMFS/initramfs/../
make[1]: se ingresa al directorio «/home/unbas/Programacion/mca/INITRAMFS»
make[1]: No se hace nada para «all».
make[1]: se sale del directorio «/home/unbas/Programacion/mca/INITRAMFS»
cp CONFIG/mcaboot.ini INITRAMFS/initramfs/mca_default.ini
cd KERNEL/ && PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/unbas/Programacion/mca/tools:/home/unbas/Programacion/mca/tools/ /home/unbas/Programacion/mca/tools/repack-zImage.sh -p
Generating initramfs
9260 bloques
Creating gzip compressed initramfs
Padding './zImage_packing/initramfs.cpio.gz' to 1998500 bytes (+16894)
Assembling piggy
Creating piggy.gz
Padding './zImage_packing/piggy.gz' to 3855272 bytes (+16305)
Assembling zImage
Successfully created './zImage_packing/zImage'
Generated file: './zImage_packing/zImage.tar'
dd if=/dev/zero of=distribution/SD_CONTENT/mca_card.bin bs=1024 count=640
640+0 registros leídos
640+0 registros escritos
655360 bytes (655 kB) copiados, 0,00346387 s, 189 MB/s
dd if=BLOBS/apex_flash.bin of=distribution/SD_CONTENT/mca_card.bin bs=512 conv=notrunc
133+1 registros leídos
133+1 registros escritos
68304 bytes (68 kB) copiados, 0,0141116 s, 4,8 MB/s
dd if=KERNEL/zImage_packing/zImage of=distribution/SD_CONTENT/mca_card.bin bs=1024 seek=640 conv=notrunc
4096+0 registros leídos
4096+0 registros escritos
4194304 bytes (4,2 MB) copiados, 0,0222665 s, 188 MB/s
cp CONFIG/mcaboot.ini distribution/SD_CONTENT/mcaboot.ini
cp CONFIG/mca.ini distribution/SD_CONTENT/mca.ini
dd if=/dev/zero of=SD_CONTENT.fat bs=1024 count=1879716
1879716+0 registros leídos
1879716+0 registros escritos
1924829184 bytes (1,9 GB) copiados, 42,6295 s, 45,2 MB/s
/sbin/mkfs.vfat -F 16 -n mca_ng SD_CONTENT.fat
mkfs.fat 3.0.26 (2014-03-07)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkdir SD_MNT
sudo mount -o loop SD_CONTENT.fat SD_MNT
sudo cp -r distribution/SD_CONTENT/* SD_MNT/
sudo umount SD_MNT
rm -rf SD_MNT
dd if=/dev/zero of=distribution/full_sd_image.img bs=512 count=126852
126852+0 registros leídos
126852+0 registros escritos
64948224 bytes (65 MB) copiados, 0,552782 s, 117 MB/s
dd if=BLOBS/SD_MBR.bin of=distribution/full_sd_image.img bs=512 conv=notrunc
1+0 registros leídos
1+0 registros escritos
512 bytes (512 B) copiados, 0,00695987 s, 73,6 kB/s
dd if=BLOBS/apex_sd.bin of=distribution/full_sd_image.img bs=512 seek=62 conv=notrunc
129+1 registros leídos
129+1 registros escritos
66064 bytes (66 kB) copiados, 0,0417116 s, 1,6 MB/s
dd if=SD_CONTENT.fat of=distribution/full_sd_image.img oflag=append conv=notrunc
3759432+0 registros leídos
3759432+0 registros escritos
1924829184 bytes (1,9 GB) copiados, 86,8751 s, 22,2 MB/s
The changes are made or ROOTFS.min rootfs?
Hi, any idea why this provider is not working?
I have valid ECM in OSCAM (r11650), but TV is black, no sound and no image.
2020/10/14 03:11:45 4732F34D c (ecm) dvbapi251 (09C4@000000/1269/0191/A7:73925CE400E9C9F3E5FA7D2E407FB866): found (58 ms) by Home (P/2/2/2) 2020/10/14 03:11:51 4732F34D c (ecm) dvbapi251 (09C4@000000/1269/0191/A7:94B1D1CD09092F5F9088763F05734B96): found (554 ms) by Home (P/2/2/2) 2020/10/14 03:11:57 4732F34D c (ecm) dvbapi251 (09C4@000000/1269/0191/A7:53F51E08C337A0D68152D225C46CA785): found (279 ms) by Home (P/2/2/2)
I also checked the CAIDS file and this CAID id is there.
I recompile the image and install It on the CAM from fresh but no go.
Is there any specific Linux version to compile this as I had to delete the cpio_set0 tool that wasn't running so the scripts used the normal system one:
Generating initramfs Info: 'cpio_set0' not found, using normal cpio. This only means that your compressed initramfs will be slightly larger and its size will differ from invocation to invocation. 9260 blocks
Using the standard cpio system tool creates problems on the final compiled image?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.