![]() ![]() Neo1973 udc pullup (on|off) - switch USB device controller pull-up on or off Neo1973 gps (on|off) - switch GPS system on or off Neo1973 gsm (on|off|version) - switch GSM Modem on/off or print firmware version ![]() Neo1973 vibrator (on|off) - switch vibrator on or off Neo1973 led num (on|off) - switch LED number 'num' on or off Neo1973 backlight (on|off) - switch backlight on or off Neo1973 charger fast - enable fast (500mA) charging Neo1973 charger !autofast - disable automatic fast (500mA) charging Neo1973 charger autofast - enable automatic fast (500mA) charging Neo1973 charger status - display charger status Neo1973 neo1973 info - display phone information Our version of u-boot supports a couple of Neo1973 specific commands: Warning: you risk bricking your phone if you attempt to read in too large a file as extload appears to write the overflow into dangerous parts of memory address space. Please note that this will only work with root file system sizes that are smaller than the amount of memory above 0x32000000, which in the case of 64MB SDRAM is something like 32MB. The default configuration is:īootcmd=setenv bootargs $ 5.3.4 Enabling / Disabling automatic fast chargeĪuto-boot executes the command specified in the bootcmd environment variable.File:NiosII cycloneII 2c35 full featured epcs boot.File:NiosII cycloneII 2c35 full featured.sof - 2C35 sof.Image Type: NIOS II Linux RAMDisk Image (gzip compressed) # Loading init Ramdisk from Legacy Image at c7200000. * ramdisk: cmdline image address = 0xc7200000 Image Type: NIOS II Linux Kernel Image (gzip compressed) # Booting kernel from Legacy Image at c7000000. * kernel: cmdline image address = 0xc7000000 mkimage -A nios2 -O linux -T ramdisk -d images/ ramdisk.img Please note, ramdisk image mustīe in sdram to run bootm command with initrd. The following example creates a ramdisk image, and boot with the initramfs from images file on cf card of a 2c35 board. You can root your filesystem on jffs2 or others. You may supply your rootfs with boot args and boot from this file. UClinux-dist will build the kernel to a file named as "vmImage" using mkimage. ![]() => setenv bootcmd 'set bootargs $mtdparts root=/dev/mtdblock2 rootfstype=jffs2 ip=dhcp bootm e0040000'ġ1. Reboot, then you can access the u-boot prompt. ![]() program u-boot to flash, this will overwrite the image we wrote in step 5. You can access the shell of nios2-linux.ħ. Reconnect the jtag cable, and start nios2-terminal. Then the D0 LED will blink slowly, this is the heart-beat of nios2-linux. close nios2-terminal, disconnect jtag cable, power off and power on, you will see User LED in FPGA Config blinking quickly. Nios2-elf-objcopy -O binary zImage zImage.bin You may convert an elf executable to binary for flashing with this command, Quartus_cpf -c -m PS -o 2c35_cf.cpf NiosII_cycloneII_2c35_full_featured.sof 2c35_cf.rbfĨ192 KiB M25P64 at 0:0 is now current device You may generate the reversed rbf for epcs flash with,Įcho bitstream_compression=on > 2c35_cf.cpf => setenv serverip 192.168.4.254 # set to your tftp server => saveenvĪ C program, bitrev.c, is provided to do the convert sof. => setenv ipaddr 192.168.4.2 # set ip of nios2 board => setenv ethaddr 08:00:3e:26:0a:5b # set MAC of nios2 board configure the sof from neek_ocm_spi_mmu.zip Then add an entry 2C35 to the NIOS2_GENERIC list in Makefile.ġ. In u-boot dir, put 2C35.h in include/configs/, put 2c35_cf.h in board/altera/nios2-generic/. We will put env in the last flash sector. We will use the first 2M for u-boot and kernel, 12M for jffs2 and 2M for factory configuration. Study the cfi flash partition in the 2C35 dev board user guide. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |