Forum Discussion
Altera_Forum
Honored Contributor
16 years agoU-Boot DIV64 Issue
I just made u-boot works with Ethernet and Flash access and try to boot the linux kernel. but there is an error exception. --- Quote Start --- ==> imi e8060000 # # Checking Image at...
Altera_Forum
Honored Contributor
16 years agoI created a custom design from nios2-generic.
I can get files by tftp command, read/write/erase flash, even boot uClinux kernel without any problem if commenting out print_size. two week ago, i didn't have this kind of issue. but last week, i met it suddently. even re-creating design, it still exists. :( image.c in u-boot/common/ --- Quote Start --- void genimg_print_size (uint32_t size) {# ifndef USE_HOSTCC printf ("%d Bytes\n", size); // printf ("%d Bytes = ", size); // print_size (size, "\n");# else printf ("%d Bytes = %.2f kB = %.2f MB\n", size, (double)size / 1.024e3, (double)size / 1.048576e6);# endif } --- Quote End --- Booting kernel message --- Quote Start --- U-Boot 2010.03-00313-gc6d7140-dirty (May 08 2010 - 18:41:13) CPU : Nios-II SYSID : 031fe837, Fri May 07 11:12:13 2010 Board : Nios-II Net: ALTERA_TSE-0 ==> bootm e8060000# # Booting kernel from Legacy Image at e8060000 Image Name: Image Type: NIOS II Linux Kernel Image (gizp compressed) Data Size: 3360162 Bytes Load Address: c0500000 Entry Point: c0500000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Uncompressing Linux... OK, booting the kernel. Linux version 2.6.30 () (gcc version 4.1.2)# 117 Sat May 8 18:24:12 CST 2010 console [early0] enabled Early printk iniitialized Linux/Nios II-MMU ... --- Quote End ---