Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
avr32 [2009/08/23 23:14] – ArnarMarSigavr32 [2020/11/02 02:47] (current) – Update 2 links. SashaVigole
Line 1: Line 1:
 ====== AVR32 ====== ====== AVR32 ======
 +
 +:!: **//This effort is out of date and won't work with the latest version of %%FreeBSD%%//**
 +
 +:!: **//AVR discontinued the AVR32 architecture development//**
  
 AVR32 is a 32 bit RISC architecture from Atmel designed for high throughput with low power consumption. This port targets the bigger AP7 chips. AVR32 is a 32 bit RISC architecture from Atmel designed for high throughput with low power consumption. This port targets the bigger AP7 chips.
  
 ===== Boards ===== ===== Boards =====
-Atmel NGW100 http://atmel.com/dyn/products/tools_card.asp?tool_id=4102+Atmel NGW100 http://www.atmel.com/tools/NGW100MKIINETWORKGATEWAYKIT.aspx
  
 ===== Status ===== ===== Status =====
Line 19: Line 23:
  
 ===== Source and Binaries ===== ===== Source and Binaries =====
-  * http://p4web.freebsd.org/@md=d&cd=//&c=2N4@//depot/projects/avr32/?ac=83+  * [[https://web.archive.org/web/20081010065642/http://www.atmel.no/buildroot/buildroot-u-boot.html]] (archive.org)
  
 ===== Build ===== ===== Build =====
-TBD+ 
 +<code> 
 +#!/bin/sh 
 + 
 +export SRCROOT=/src/FreeBSD/p4/avr32/src 
 +export TARGET_ARCH=avr32 
 +export TARGET=avr32 
 +export TARGET_CPUTYPE=avr32 
 +export KERNCONF=NGW100 
 +export MAKEOBJDIRPREFIX=/src/FreeBSD/obj/avr32 
 +export TFTPBOOT=/src/FreeBSD/tftpboot 
 + 
 +make WITHOUT_GDB=yes kernel-toolchain 
 + 
 +make NO_MODULES=yes buildkernel 
 +KERNOBJDIR=$MAKEOBJDIRPREFIX/$TARGET_ARCH.$TARGET_ARCH/$SRCROOT/sys/$KERNCONF 
 +OBJCOPY=$MAKEOBJDIRPREFIX/$TARGET_ARCH.$TARGET_ARCH/$SRCROOT/tmp/usr/bin/objcopy 
 +$OBJCOPY -O binary $KERNOBJDIR/kernel $KERNOBJDIR/kernel.binary 
 +mkimage -A avr32 -O freebsd -a 0x90000000 -e 0x90000000 -n 'FreeBSD' \ 
 +    -T kernel -C none -d $KERNOBJDIR/kernel.binary $TFTPBOOT/kernel.uboot 
 +</code> 
 + 
 +mkimage is a part of uboot package (devel/u-boot port)
  
 ===== Boot ===== ===== Boot =====
-U-boot 1.3 or later is required to boot. Update instructions and binaries can be found at http://www.atmel.no/buildroot/buildroot-u-boot.html+U-boot 1.3 or later is required to boot. Update instructions and binaries can be found at [[https://web.archive.org/web/20081010065642/http://www.atmel.no/buildroot/buildroot-u-boot.html]] (archive.org)
  
 Only tested why of booting is using tftp, dhcpd and nfs. Only tested why of booting is using tftp, dhcpd and nfs.
Line 44: Line 70:
  
 To boot, type: 'dhcp; bootm' in u-boot. To boot, type: 'dhcp; bootm' in u-boot.
 +
 +----
 +
 +{{tag>Historical}}
  
  • avr32.1251069261.txt.gz
  • Last modified: 2009/08/23 23:14
  • by ArnarMarSig