TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
Fehler bei "Compiling the Kernel"

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
royshu



Joined: 12 Jun 2008
Posts: 6

PostPosted: 03.07.2008, 09:49    Post subject: Fehler bei "Compiling the Kernel" Reply with quote

Ich benutze uClinux-dist_DNP5370 von CD.
# make menuconfig
Then enable vendor/kernel customizations:
Kernel/Library/Defaults Selection --->
[*] Customize Kernel Settings
[*] Customize Vendor/User Settings

Device Drivers --->
Character devices --->
[*] Blackfin BF53x ADSP SPI ADC support

# make
dann stellt sich ein Fehler auf:
dnp5370.c >> spi_adc_chip_info << ist hier nicht deklariert (nicht in einer Funktion).

Ich habe den Code in Datei /uClinux-dist_DNP5370/linux-2.6.x/arch/blackfin/mach-bf537/boards/dnp5370.c eingefügt.
Zeile 253

#if defined(CONFIG_SPI_ADC_BF533) \
|| defined(CONFIG_SPI_ADC_BF533_MODULE)
/* SPI ADC chip */
static struct bfin5xx_spi_chip spi_adc_chip_info = {
.ctl_reg = 0x1000,
.enable_dma = 1, /* use dma transfer with this chip */
.bits_per_word = 16,
};
#endif

Dann kann ich make Befehl ausführen.
Is das richtig oder ?
Back to top
View user's profile Send private message
ene



Joined: 25 Jun 2007
Posts: 14

PostPosted: 11.07.2008, 16:29    Post subject: Reply with quote

Hallo,
Der DNP/5370 hat keinen SPI Bus nach außen deshalb sind auch keine SPI Gerätespezifikationen in dem Boardfile enthalten. Der SPI Bus wird nur intern auf dem DNP für den seriellen Flash verwendet.

Gruß
ENE
Back to top
View user's profile Send private message ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015