1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-09 15:40:45 +02:00

FlashingUboot

This commit is contained in:
Elias Kotlyar
2018-07-15 23:41:30 +02:00
parent a591be19a1
commit 7e3f9a6026
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
baudrate=115200 baudrate=115200
bootargs=console=ttyS1,115200n8 mem=104M@0x0 ispmem=8M@0x6800000 rmem=16M@0x7000000 init=/linuxrc root=/dev/mmcblk0p2 rootwait rootfstype=ext4 mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag) bootargs=console=ttyS1,115200n8 mem=104M@0x0 ispmem=8M@0x6800000 rmem=16M@0x7000000 init=/linuxrc root=/dev/mmcblk0p2 rootwait rootfstype=ext4 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag)
bootcmd=fatload mmc 0:1 0x80600000 kernel.bin;bootm 0x80600000 bootcmd=fatload mmc 0:1 0x80600000 kernel.bin;bootm 0x80600000
bootdelay=1 bootdelay=1
ethact=Jz4775-9161 ethact=Jz4775-9161

View File

@@ -14,6 +14,7 @@ Attention: This step is only working on a Xiaomi Dafang
You can use normal dafanghacks installation and add a new partition on the end of your microsd. You can use normal dafanghacks installation and add a new partition on the end of your microsd.
However note that it needs to be FAT16 or it might not work. However note that it needs to be FAT16 or it might not work.
3. Put uEnv.bootfromsdcard.txt from firmware_mod folder to your FAT partition. Rename it to uEnv.txt 3. Put uEnv.bootfromsdcard.txt from firmware_mod folder to your FAT partition. Rename it to uEnv.txt
4. Check if your uEnv is being used, by inserting the microsd and checking if the blue-led is on. Your camera wont boot yet 4. Check if your uEnv is being used, by inserting the microsd and checking if the blue-led is on. Your camera wont boot yet
5. Get a kernel from the following repository: 5. Get a kernel from the following repository: