{"action":"opened","issue":{"url":"https://api.github.com/repos/linux-sunxi/linux-sunxi/issues/239","labels_url":"https://api.github.com/repos/linux-sunxi/linux-sunxi/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/linux-sunxi/linux-sunxi/issues/239/comments","events_url":"https://api.github.com/repos/linux-sunxi/linux-sunxi/issues/239/events","html_url":"https://github.com/linux-sunxi/linux-sunxi/issues/239","id":108935981,"number":239,"title":"Stuck at Starting kernel","user":{"login":"psionic12","id":3251612,"avatar_url":"https://avatars.githubusercontent.com/u/3251612?v=3","gravatar_id":"","url":"https://api.github.com/users/psionic12","html_url":"https://github.com/psionic12","followers_url":"https://api.github.com/users/psionic12/followers","following_url":"https://api.github.com/users/psionic12/following{/other_user}","gists_url":"https://api.github.com/users/psionic12/gists{/gist_id}","starred_url":"https://api.github.com/users/psionic12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psionic12/subscriptions","organizations_url":"https://api.github.com/users/psionic12/orgs","repos_url":"https://api.github.com/users/psionic12/repos","events_url":"https://api.github.com/users/psionic12/events{/privacy}","received_events_url":"https://api.github.com/users/psionic12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-29T18:55:01Z","updated_at":"2015-09-29T18:55:01Z","closed_at":null,"body":"My Linux kernel version is 4.1.8, it is too new, I know. Since I used a Mac to compile, commands may be a little different, but the tool chain is complete. the only different is that I used `make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi- uImage LOADADDR=0x70008000` to make a uImage. The boot.cmd is below:\r\n\r\n\r\n\tsetenv bootm_boot_mode sec\r\n\tsetenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10\r\n\tload mmc 0:1 0x43000000 script.bin || load mmc 0:1 0x43000000 boot/script.bin\r\n\tload mmc 0:1 0x42000000 uImage || load mmc 0:1 0x42000000 boot/uImage\r\n\tbootm 0x42000000\r\n\r\nand here is the boot information:\r\n\r\n\r\n\tU-Boot SPL 2014.04 (Sep 29 2015 - 21:36:09)\r\n\tBoard: Cubietruck\r\n\tDRAM: 2048 MiB\r\n\tCPU: 960000000Hz, AXI/AHB/APB: 3/2/2\r\n\tspl: not an uImage at 1600\r\n\r\n\r\n\tU-Boot 2014.04 (Sep 29 2015 - 21:36:09) Allwinner Technology\r\n\r\n\tCPU:   Allwinner A20 (SUN7I)\r\n\tBoard: Cubietruck\r\n\tI2C:   ready\r\n\tDRAM:  2 GiB\r\n\tMMC:   SUNXI SD/MMC: 0\r\n\t*** Warning - bad CRC, using default environment\r\n\r\n\tIn:    serial\r\n\tOut:   serial\r\n\tErr:   serial\r\n\tNet:   dwmac.1c50000\r\n\tHit any key to stop autoboot:  0 \r\n\treading uEnv.txt\r\n\t** Unable to read file uEnv.txt **\r\n\tFailed to mount ext2 filesystem...\r\n\t** Unrecognized filesystem type **\r\n\tFailed to mount ext2 filesystem...\r\n\t** Unrecognized filesystem type **\r\n\treading boot.scr\r\n\t338 bytes read in 16 ms (20.5 KiB/s)\r\n\tJumping to boot.scr\r\n\t## Executing script at 44000000\r\n\treading script.bin\r\n\t44732 bytes read in 38 ms (1.1 MiB/s)\r\n\treading uImage\r\n\t3458224 bytes read in 183 ms (18 MiB/s)\r\n\t## Booting kernel from Legacy Image at 42000000 ...\r\n\t   Image Name:   Linux-4.1.8\r\n\t   Image Type:   ARM Linux Kernel Image (uncompressed)\r\n\t   Data Size:    3458160 Bytes = 3.3 MiB\r\n\t   Load Address: 70008000\r\n\t   Entry Point:  70008000\r\n\t   Verifying Checksum ... OK\r\n\t   Loading Kernel Image ... OK\r\n\r\n\tStarting kernel ...\r\n\r\n\r\nAll the move is base on the official guidance，but one thing:\r\n\r\nI used this move:\r\n>dd if=spl/sunxi-spl.bin of=${card} bs=1024 seek=8\r\n>dd if=u-boot.bin of=${card} bs=1024 seek=32\r\n\r\ninstead of:\r\n>You will need to write the u-boot-sunxi-with-spl.bin to the sd-card. If you don't have this file yet, refer to >the \"compilation\" section of mainline or legacy U-Boot.\r\n\r\n>dd if=u-boot-sunxi-with-spl.bin of=${card} bs=1024 seek=8\r\n>To update the bootloader from the u-boot prompt itself:\r\n\r\n>mw.b 0x48000000 0x00 0x100000                 # Zero buffer\r\n>tftp 0x48000000 u-boot-sunxi-with-spl.bin     # Or use load to read from MMC or SCSI etc\r\n>mmc erase 0x10 0x400                          # Erase the MMC region containing u-boot, do not reset at this point!\r\n>mmc write 0x48000000 0x10 0x400               # Write updated u-boot\r\n\r\nand to be honest, I don't even know what that mean, is it a config file or four commands?\r\n\r\n\r\n"}}