etop-wesley / hac

1 stars 0 forks source link

usb start a 4G USB disk(my gemei m33 mp3) cause system restart #11

Closed etop-wesley closed 14 years ago

etop-wesley commented 14 years ago

plug the m33, run "usb start", system restart.

it seems this is a memory layout problem.

re-layout memory

lcd video mem (0xBB800) | stack size(128KB) | malloc len(512KB+128KB) | static size(128 KB) | u-boot size(512KB) | user stack size(128KB)

etop-wesley commented 14 years ago

fixed changed the part sector size to 4096 (previous is 512, too small) changed the fat block size to 4096 (previous is 512, too small)