On Wed, Jan 15, 2014 at 2:24 AM, Ma Haijun <[email protected]> wrote: > Hi, > > The problem is AW's kernel has a different machine id.
That was the problem. I adjusted the Allwinner SDK to use the sunxi machine ID and it boots now. sun7i.h:#define CONFIG_MACH_TYPE 4283 > > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] >> On Behalf Of [email protected] >> Sent: Wednesday, January 15, 2014 11:44 AM >> To: [email protected] >> Subject: [linux-sunxi] Booting Android with uboot >> >> I put uboot on to a SD Card. >> uboot uses tftp to load kernel and script.bin kernel nfs mounts android > file >> system >> >> I can boot Linux using this procedure without problem, but I can't get my >> Android kernel to boot. Android kernel just hangs... >> >> Does script.bin need to be somewhere else for the Android kernel to find > it? I >> am using Android kernel from Allwinner SDK, not the sunxi one. >> >> un7i# tftp 0x43000000 /var/lib/tftpboot/script.bin ENET Speed is 100 Mbps > - >> FULL duplex connection Using emac device TFTP from server 192.168.1.40; > our >> IP address is 192.168.1.85 Filename '/var/lib/tftpboot/script.bin'. >> Load address: 0x43000000 >> Loading: #### >> 2.2 MiB/s >> done >> Bytes transferred = 46752 (b6a0 hex) >> sun7i# tftp 0x48000000 /var/lib/tftpboot/uImage Using emac device TFTP > from >> server 192.168.1.40; our IP address is 192.168.1.85 Filename >> '/var/lib/tftpboot/uImage'. >> Load address: 0x48000000 >> Loading: >> ################################################################ >> # >> ################################################################ >> # >> ################################################################ >> # >> ################################################################ >> # >> ##### >> 5.2 MiB/s >> done >> Bytes transferred = 3889368 (3b58d8 hex) sun7i# run setargs sun7i# bootm >> 0x48000000 ## Booting kernel from Legacy Image at 48000000 ... >> Image Name: Linux-3.3.0 >> Created: 2014-01-13 16:41:02 UTC >> Image Type: ARM Linux Kernel Image (uncompressed) >> Data Size: 3889304 Bytes = 3.7 MiB >> Load Address: 40008000 >> Entry Point: 40008000 >> Verifying Checksum ... OK >> Loading Kernel Image ... OK >> >> Starting kernel ... >> >> >> -- >> Jon Smirl >> [email protected] >> >> -- >> You received this message because you are subscribed to the Google Groups >> "linux-sunxi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- Jon Smirl [email protected] -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
