From owner-p4-projects@FreeBSD.ORG Sat Dec 17 00:05:29 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C0B4116A422; Sat, 17 Dec 2005 00:05:28 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8112416A41F for ; Sat, 17 Dec 2005 00:05:28 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48D1743D6A for ; Sat, 17 Dec 2005 00:05:23 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBH05NhO014984 for ; Sat, 17 Dec 2005 00:05:23 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBH05MFc014981 for perforce@freebsd.org; Sat, 17 Dec 2005 00:05:22 GMT (envelope-from imp@freebsd.org) Date: Sat, 17 Dec 2005 00:05:22 GMT Message-Id: <200512170005.jBH05MFc014981@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 88289 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 00:05:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=88289 Change 88289 by imp@imp_Speedy on 2005/12/17 00:04:40 hacked version of the initial boot loader for the kb9202 board. this should also work on the 9201, but the 9200 has a eeprom that's too small for this loader. Built with the FreeBSD tools it is about 3/5 the size of the linux one... Affected files ... .. //depot/projects/arm/src/sys/arm/conf/KB920X#7 edit .. //depot/projects/arm/src/sys/boot/arm/kb920x/AT91RM9200.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/Makefile#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/README#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/at91rm9200_lowlevel.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/at91rm9200_lowlevel.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/debug_io.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/debug_io.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/eeprom.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/eeprom.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/emac.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/emac.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/env_vars.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/env_vars.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/linker.cfg#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/loader_prompt.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/loader_prompt.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/main.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/p_string.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/p_string.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/tag_list.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/tag_list.h#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/xmodem.c#1 add .. //depot/projects/arm/src/sys/boot/arm/kb920x/xmodem.h#1 add .. //depot/projects/arm/src/sys/kern/subr_bus.c#4 edit Differences ... ==== //depot/projects/arm/src/sys/arm/conf/KB920X#7 (text+ko) ==== @@ -42,6 +42,7 @@ #options UFS_ACL #Support for access control lists #options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device +#options MD_ROOT_SIZE=4096 # 4MB ram disk options ROOTDEVNAME=\"ufs:md0\" #options NFSCLIENT #Network Filesystem Client #options NFSSERVER #Network Filesystem Server ==== //depot/projects/arm/src/sys/kern/subr_bus.c#4 (text+ko) ==== @@ -2799,9 +2799,8 @@ printed++; retval += printf(format, rle->start); if (rle->count > 1) { - retval += printf("-"); - retval += printf(format, rle->start + - rle->count - 1); + retval += printf(":"); + retval += printf(format, rle->count); } } }