I use the method provided by "DRA7xx_GLSDK_Software_Developers_Guide" to partitioning and formatting eMMC.
I proceed the command "./mk-eMMC-boot.sh --device /dev/mmcblk1", after a few time, while system copying filesystem to /dev/mmcblk1p2, error occur. The log is:
Preparing for Copy...
EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
Copying boot image from /dev/mmcblk0p1 to /dev/mmcblk1p1
Copying filesystem from /dev/mmcblk0p2 to /dev/mmcblk1p2
Unable to handle kernel paging request at virtual address 3f0f490f
pgd = e9728000
[3f0f490f] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP ARM
Modules linked in: m25p80 dwc3_omap
CPU: 1 PID: 1476 Comm: cp Tainted: G O 3.14.63 #10
task: ea360dc0 ti: e19f0000 task.ti: e19f0000
PC is at get_page_from_freelist+0x268/0x574
LR is at get_page_from_freelist+0x108/0x574
pc : [<c00ac2a8>] lr : [<c00ac148>] psr: 20000093
sp : e19f1c30 ip : e19f1c30 fp : e19f1cb4
r10: 00000000 r9 : 000001c1 r8 : eb514360
r7 : 2a02b000 r6 : c0741310 r5 : 60000013 r4 : c0796a00
r3 : 3f0f490f r2 : ea76c32c r1 : ea76c328 r0 : 00000001
Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: a972806a DAC: 00000015
Process cp (pid: 1476, stack limit = 0xe19f0240)
Stack: (0xe19f1c30 to 0xe19f2000)
1c20: 000001c1 00000000 e19f1c94 e19f1c48
1c40: 00000001 00000018 c0797200 c01677fc 0055b000 00000000 00000000 00000000
1c60: ea76c32c 00000001 c0797204 ea76c328 ffffffff 00000001 00000000 000213da
1c80: 2a02b000 c0796a00 c073dc94 000213da 00000000 00000581 c0797200 00000020
1ca0: 00000000 00000005 e19f1d64
........
---[ end trace f264b9353c09b6b1 ]---
Fixing recursive fault but reboot is needed!
Seems like system crash, is there something wrong with my steps to partitioning and formatting eMMC?
P.S. Althought error occur, i remain remove micro-SD card and reboot, system still can boot, look like eMMC programming success.
Best regards
Shawn