Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| avr32 [2009/08/23 23:14] – ArnarMarSig | avr32 [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 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& | + | * [[https://web.archive.org/web/20081010065642/http://www.atmel.no/buildroot/buildroot-u-boot.html]] (archive.org) |
| ===== Build ===== | ===== Build ===== | ||
| - | TBD | + | |
| + | < | ||
| + | #!/bin/sh | ||
| + | |||
| + | export SRCROOT=/ | ||
| + | export TARGET_ARCH=avr32 | ||
| + | export TARGET=avr32 | ||
| + | export TARGET_CPUTYPE=avr32 | ||
| + | export KERNCONF=NGW100 | ||
| + | export MAKEOBJDIRPREFIX=/ | ||
| + | export TFTPBOOT=/ | ||
| + | |||
| + | make WITHOUT_GDB=yes kernel-toolchain | ||
| + | |||
| + | make NO_MODULES=yes buildkernel | ||
| + | KERNOBJDIR=$MAKEOBJDIRPREFIX/ | ||
| + | OBJCOPY=$MAKEOBJDIRPREFIX/ | ||
| + | $OBJCOPY -O binary $KERNOBJDIR/ | ||
| + | mkimage -A avr32 -O freebsd -a 0x90000000 -e 0x90000000 -n ' | ||
| + | -T kernel -C none -d $KERNOBJDIR/ | ||
| + | </ | ||
| + | |||
| + | mkimage is a part of uboot package (devel/ | ||
| ===== Boot ===== | ===== Boot ===== | ||
| - | U-boot 1.3 or later is required to boot. Update instructions and binaries can be found at http:// | + | U-boot 1.3 or later is required to boot. Update instructions and binaries can be found at [[https:// |
| 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> | ||