set BSP_NOSDMMC_BOOT=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NONANDFS=1
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NOSDMMC_CH0=1
set BUILD_OPTIONS=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BUILD_OPTIONS=%BUILD_OPTIONS% IROMBOOT
if /i "%BSP_NOPOCKETSTORE%"=="" call %_TARGETPLATROOT%\SRC\POCKETSTOREII15\env.bat
@REM Not support Multiple XIP on SDMMC Boot
if /i "%BSP_NOSDMMC_BOOT%"=="" set IMGMULTIXIP=
编译后的错误:
Linking C:\WINCE600\platform\SMDKV210\target\ARMV4I\retail\eboot.exe
BUILD: [01:0000007124:ERRORE] LINK : error LNK2001: unresolved external symbol StartUp
BUILD: [01:0000007125:ERRORE] C:\WINCE600\platform\SMDKV210\target\ARMV4I\retail\eboot.exe : fatal error LNK1120: 1 unresolved externals
BUILD: [01:0000007130:ERRORE] EDITBIN : fatal error LNK1104: cannot open file 'C:\WINCE600\platform\SMDKV210\target\ARMV4I\retail\eboot.exe'
我单独编译驱动里的iromboot目录,也有很多错误。不知是否是官方提供的BSP包有问题还是我改出了问题。
持续协助解决问题者,给高分。谢谢!欢迎同样用S5PV210芯片的来顶一下。
25 个解决方案
#1
自己顶一下
#2
链接不到StartUp,看这个函数哪里实现的,有没有编译
#3
就在eboot下,有编译的。source文件都有含进去的。
#4
LZ是用的哪个版本?我用的RTM release (0.27),2010.5.11发布的版本,是可以编译通过的呀.
#5
我的.bat配置
@REM
@REM Copyright (c) Microsoft Corporation. All rights reserved.
@REM
@REM
@REM Use of this source code is subject to the terms of the Microsoft end-user
@REM license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
@REM If you did not accept the terms of the EULA, you are not authorized to use
@REM this source code. For a copy of the EULA, please see the LICENSE.RTF on your
@REM install media.
@REM
set WINCEREL=1
@REM =============================================================
@REM
@REM Main Platform Features
@REM
@REM =============================================================
set BSP_NONANDFS=
set BSP_NOPOCKETSTORE=1
if /i not "%BSP_NOPOCKETSTORE%"=="1" set BSP_POCKETFS=1
set BSP_NOSDMMC_BOOT=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NONANDFS=1
@REM ----- Chip Revision Number Selection ------------------------
@REM S5PV210_EVT = 0 : S5PV210 EVT0
@REM S5PV210_EVT = 1 : S5PV210 EVT1
@REM ============================================
set S5PV210_EVT=1
@REM ----- BSP Configuration ---------------------------------------------------
set IMGNODEBUGGER=1
set IMGNOKITL=1
set BSP_NOPCIBUS=1
set BSP_NOCS8900=1
set IMGPROFILER=
if /i "%IMGPROFILER%"=="1" set IMGPERF=1
@REM =============================================================
@REM
@REM System Features
@REM
@REM =============================================================
@REM ----- System Clock Configuration ------------------------------
@REM ----- Filesystem Configuration ------------------------------
@REM For PocketFS
set BSP_POCKETFS=
@REM ----- Power Manangement Configuration ----------------------
@REM Support DVFS and Voltage Control by PMIC
set BSP_USEDVFS=
set BSP_PMIC_VOLTAGE_CONTROL=
@REM Deep Idle Test with Reset Button
@REM In this feature, Reset button works as button of triggering deep idle mode
set BSP_DEEPIDLE_TEST=
@REM Support Variable Idle
@REM Variable Idle function works in default level. It is able to be changed in case of something, for example, in using T32.
set BSP_NOIDLE=
@REM ----- System Timer Configuration ---------------------------
@REM Select Tick Timer type
@REM SYSTIMER_FIXED/SYSTIMER_VARIDLE
@REM set BSP_TICKTIMER=SYSTIMER_FIXED
set BSP_TICKTIMER=SYSTIMER_VARIDLE
@REM _SYSTIMERDIR has to be matched to a name of system timer folder
if /I "%BSP_TICKTIMER%"=="SYSTIMER_VARIDLE" set _SYSTIMERDIR=VARIDLETIMER
if /I "%BSP_TICKTIMER%"=="SYSTIMER_FIXED" set _SYSTIMERDIR=FIXEDSYSTIMER
@REM System timer tick error compensation by RTC TICK
set BSP_TICK_COMPENSATION=
@REM ----- Power Button Configuration ---------------------------
set BSP_NOPWRBTN=
@REM ----- BATTERY Driver Configuration -------------------------
set BSP_NOBATTERY=1
@REM ----- NLED Driver Configuration ----------------------------
set BSP_NONLED=
@REM ----- Configure the Debug serial channel ---------------------
@REM set BSP_DEBUGPORT=SERIAL_UART0
if /I "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART3
if /I not "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART2
@REM =============================================================
@REM
@REM Connectivity Features
@REM
@REM =============================================================
@REM ----- TOUCH Driver Configuration ---------------------------
@REM BSP_TOUCH_TYPE=0 : TSADC_CH0
@REM BSP_TOUCH_TYPE=1 : TSADC_CH1
@REM -------------------------------------------------------------
set BSP_NOTOUCH=
set BSP_TOUCH_TYPE=0
@REM ----- KEYBD Driver Configuration ---------------------------
@REM BSP_KEYBD_TYPE=0 : 8x8 keypad
@REM BSP_KEYBD_TYPE=1 : On-board key
@REM BSP_KEYBD_TYPE=2 : QWERTY keyboard
@REM -------------------------------------------------------------
set BSP_NOKEYBD=1
set BSP_KEYBD_TYPE=1
@REM ----- SD/MMC Driver Configuration -------------------------
set BSP_NOSDMMC_CH0=
set BSP_USE_SDMMC_CH0_8BIT=
set BSP_NOSDMMC_CH1=
set BSP_NOSDMMC_CH2=
set BSP_USE_SDMMC_CH2_8BIT=
set BSP_NOSDMMC_CH3=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NOSDMMC_CH0=1
@REM ----- SERIAL/SIR Device Driver Configuration -----------------
@REM SERIAL/SIR Device Driver
set BSP_NOSERIAL=
set BSP_NOUART0=
set BSP_NOUART1=1
set BSP_NOUART2=1
set BSP_NOUART3=1
set BSP_NOIRDA2=1
set BSP_NOIRDA3=1
set BSP_UART_RX_DMA=
@REM ----- USB HOST/FUNCTION Device Driver Configuration --------
set BSP_NOUSB=
set BSP_NOUSBHCD=
set BSP_NOUSBFN=
set BSP_USBFN_SERIAL=1
set BSP_USBFN_MSF=
set BSP_USBFN_RNDIS=
@REM ----- AUDIO Device Driver Configuration --------------------
@REM AUDIO Device Driver
set BSP_NOAUDIO=
set BSP_AUDIO_AC97=
@REM ----- I2C Device Driver Configuration -----------------------
set BSP_NOI2C=
@REM ----- SPI Device Driver Configuration -----------------------
set BSP_NOSPI=
set BSP_NOSPI0=
set BSP_NOSPI1=
set BSP_NOSPI2=1
@REM ----- BT Device Driver Configuration ------------------------
set BSP_NOBLUETOOTH=1
@REM ----- WLAN Device Driver Configuration ---------------------
set BSP_NOWLAN=1
@REM =============================================================
@REM
@REM Display & Multimedia Features
@REM
@REM =============================================================
@REM ----- BACKLIGHT Device Driver Configuration ----------------
set BSP_NOBACKLIGHT=
@REM ----- MFC Device Driver Configuration ----------------------
set BSP_NOMFC=
@REM ----- JPEG Device Driver Configuration ----------------------
set BSP_NOJPEG=
@REM ----- OpenGL ES Device Driver Configuration -----------------
@REM BSP_OES_FLIP=1 : FLIP mode
@REM BSP_OES_FLIP= : BLT mode
set BSP_NOOES=
set BSP_OES_FLIP=
if /i not "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_BLT
if /i "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_FLIP
@REM ----- D3DM Device Driver Configuration ---------------------
set BSP_NOD3DM=1
@REM ----- TVOUT Device Driver Configuration --------------------
set BSP_NOTVOUT=
set BSP_NOHDCP=
set BSP_NOCEC=
@REM ----- CAMERAFILTER Device Driver Configuration -------------
@REM CAMERA FILTER/I2C Device Driver
set BSP_NOCAMERA=
set IMGCAMERAOEM=1
set BSP_KITL=NONE
@REM set BSP_KITL=SERIAL_UART0
@REM set BSP_KITL=SERIAL_UART1
@REM set BSP_KITL=SERIAL_UART2
@REM set BSP_KITL=SERIAL_UART3
@REM set BSP_KITL=USBSERIAL
@REM For Hive Based Registry
set IMGHIVEREG=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_FSREGHIVE=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_REGFLUSH_THREAD=1
@REM For Multiple XIP (using demand paging on BINFS)
set IMGMULTIXIP=
set BUILD_OPTIONS=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BUILD_OPTIONS=%BUILD_OPTIONS% IROMBOOT
if /i "%BSP_NOPOCKETSTORE%"=="" call %_TARGETPLATROOT%\SRC\POCKETSTOREII15\env.bat
@REM Not support Multiple XIP on SDMMC Boot
if /i "%BSP_NOSDMMC_BOOT%"=="" set IMGMULTIXIP=
@REM
@REM Copyright (c) Microsoft Corporation. All rights reserved.
@REM
@REM
@REM Use of this source code is subject to the terms of the Microsoft end-user
@REM license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
@REM If you did not accept the terms of the EULA, you are not authorized to use
@REM this source code. For a copy of the EULA, please see the LICENSE.RTF on your
@REM install media.
@REM
set WINCEREL=1
@REM =============================================================
@REM
@REM Main Platform Features
@REM
@REM =============================================================
set BSP_NONANDFS=
set BSP_NOPOCKETSTORE=1
if /i not "%BSP_NOPOCKETSTORE%"=="1" set BSP_POCKETFS=1
set BSP_NOSDMMC_BOOT=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NONANDFS=1
@REM ----- Chip Revision Number Selection ------------------------
@REM S5PV210_EVT = 0 : S5PV210 EVT0
@REM S5PV210_EVT = 1 : S5PV210 EVT1
@REM ============================================
set S5PV210_EVT=1
@REM ----- BSP Configuration ---------------------------------------------------
set IMGNODEBUGGER=1
set IMGNOKITL=1
set BSP_NOPCIBUS=1
set BSP_NOCS8900=1
set IMGPROFILER=
if /i "%IMGPROFILER%"=="1" set IMGPERF=1
@REM =============================================================
@REM
@REM System Features
@REM
@REM =============================================================
@REM ----- System Clock Configuration ------------------------------
@REM ----- Filesystem Configuration ------------------------------
@REM For PocketFS
set BSP_POCKETFS=
@REM ----- Power Manangement Configuration ----------------------
@REM Support DVFS and Voltage Control by PMIC
set BSP_USEDVFS=
set BSP_PMIC_VOLTAGE_CONTROL=
@REM Deep Idle Test with Reset Button
@REM In this feature, Reset button works as button of triggering deep idle mode
set BSP_DEEPIDLE_TEST=
@REM Support Variable Idle
@REM Variable Idle function works in default level. It is able to be changed in case of something, for example, in using T32.
set BSP_NOIDLE=
@REM ----- System Timer Configuration ---------------------------
@REM Select Tick Timer type
@REM SYSTIMER_FIXED/SYSTIMER_VARIDLE
@REM set BSP_TICKTIMER=SYSTIMER_FIXED
set BSP_TICKTIMER=SYSTIMER_VARIDLE
@REM _SYSTIMERDIR has to be matched to a name of system timer folder
if /I "%BSP_TICKTIMER%"=="SYSTIMER_VARIDLE" set _SYSTIMERDIR=VARIDLETIMER
if /I "%BSP_TICKTIMER%"=="SYSTIMER_FIXED" set _SYSTIMERDIR=FIXEDSYSTIMER
@REM System timer tick error compensation by RTC TICK
set BSP_TICK_COMPENSATION=
@REM ----- Power Button Configuration ---------------------------
set BSP_NOPWRBTN=
@REM ----- BATTERY Driver Configuration -------------------------
set BSP_NOBATTERY=1
@REM ----- NLED Driver Configuration ----------------------------
set BSP_NONLED=
@REM ----- Configure the Debug serial channel ---------------------
@REM set BSP_DEBUGPORT=SERIAL_UART0
if /I "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART3
if /I not "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART2
@REM =============================================================
@REM
@REM Connectivity Features
@REM
@REM =============================================================
@REM ----- TOUCH Driver Configuration ---------------------------
@REM BSP_TOUCH_TYPE=0 : TSADC_CH0
@REM BSP_TOUCH_TYPE=1 : TSADC_CH1
@REM -------------------------------------------------------------
set BSP_NOTOUCH=
set BSP_TOUCH_TYPE=0
@REM ----- KEYBD Driver Configuration ---------------------------
@REM BSP_KEYBD_TYPE=0 : 8x8 keypad
@REM BSP_KEYBD_TYPE=1 : On-board key
@REM BSP_KEYBD_TYPE=2 : QWERTY keyboard
@REM -------------------------------------------------------------
set BSP_NOKEYBD=1
set BSP_KEYBD_TYPE=1
@REM ----- SD/MMC Driver Configuration -------------------------
set BSP_NOSDMMC_CH0=
set BSP_USE_SDMMC_CH0_8BIT=
set BSP_NOSDMMC_CH1=
set BSP_NOSDMMC_CH2=
set BSP_USE_SDMMC_CH2_8BIT=
set BSP_NOSDMMC_CH3=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NOSDMMC_CH0=1
@REM ----- SERIAL/SIR Device Driver Configuration -----------------
@REM SERIAL/SIR Device Driver
set BSP_NOSERIAL=
set BSP_NOUART0=
set BSP_NOUART1=1
set BSP_NOUART2=1
set BSP_NOUART3=1
set BSP_NOIRDA2=1
set BSP_NOIRDA3=1
set BSP_UART_RX_DMA=
@REM ----- USB HOST/FUNCTION Device Driver Configuration --------
set BSP_NOUSB=
set BSP_NOUSBHCD=
set BSP_NOUSBFN=
set BSP_USBFN_SERIAL=1
set BSP_USBFN_MSF=
set BSP_USBFN_RNDIS=
@REM ----- AUDIO Device Driver Configuration --------------------
@REM AUDIO Device Driver
set BSP_NOAUDIO=
set BSP_AUDIO_AC97=
@REM ----- I2C Device Driver Configuration -----------------------
set BSP_NOI2C=
@REM ----- SPI Device Driver Configuration -----------------------
set BSP_NOSPI=
set BSP_NOSPI0=
set BSP_NOSPI1=
set BSP_NOSPI2=1
@REM ----- BT Device Driver Configuration ------------------------
set BSP_NOBLUETOOTH=1
@REM ----- WLAN Device Driver Configuration ---------------------
set BSP_NOWLAN=1
@REM =============================================================
@REM
@REM Display & Multimedia Features
@REM
@REM =============================================================
@REM ----- BACKLIGHT Device Driver Configuration ----------------
set BSP_NOBACKLIGHT=
@REM ----- MFC Device Driver Configuration ----------------------
set BSP_NOMFC=
@REM ----- JPEG Device Driver Configuration ----------------------
set BSP_NOJPEG=
@REM ----- OpenGL ES Device Driver Configuration -----------------
@REM BSP_OES_FLIP=1 : FLIP mode
@REM BSP_OES_FLIP= : BLT mode
set BSP_NOOES=
set BSP_OES_FLIP=
if /i not "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_BLT
if /i "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_FLIP
@REM ----- D3DM Device Driver Configuration ---------------------
set BSP_NOD3DM=1
@REM ----- TVOUT Device Driver Configuration --------------------
set BSP_NOTVOUT=
set BSP_NOHDCP=
set BSP_NOCEC=
@REM ----- CAMERAFILTER Device Driver Configuration -------------
@REM CAMERA FILTER/I2C Device Driver
set BSP_NOCAMERA=
set IMGCAMERAOEM=1
set BSP_KITL=NONE
@REM set BSP_KITL=SERIAL_UART0
@REM set BSP_KITL=SERIAL_UART1
@REM set BSP_KITL=SERIAL_UART2
@REM set BSP_KITL=SERIAL_UART3
@REM set BSP_KITL=USBSERIAL
@REM For Hive Based Registry
set IMGHIVEREG=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_FSREGHIVE=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_REGFLUSH_THREAD=1
@REM For Multiple XIP (using demand paging on BINFS)
set IMGMULTIXIP=
set BUILD_OPTIONS=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BUILD_OPTIONS=%BUILD_OPTIONS% IROMBOOT
if /i "%BSP_NOPOCKETSTORE%"=="" call %_TARGETPLATROOT%\SRC\POCKETSTOREII15\env.bat
@REM Not support Multiple XIP on SDMMC Boot
if /i "%BSP_NOSDMMC_BOOT%"=="" set IMGMULTIXIP=
#6
哦,我的版本估计和你的一样。这个bat和你的差不多。不知是否是if /i "%BSP_NOSDMMC_BOOT%"=="" set BUILD_OPTIONS=%BUILD_OPTIONS% IROMBOOT 这项的影响。你单独编译iromboot目录能编译成功吗?你能把bootloader下的代码发给我对比一下吗?
#7
靠,终于可以了,原来是我的eboot下的SOURCE文件中的SOURCES= 增加了以下几句:
!IF "$(BSP_NOSDMMC_BOOT)"=="1"
utilb.cpp \
bootpart.cpp \
!ENDIF
编译就会报上面错误。去掉就可以了!
现在新的问题是:我编译好之后,要把那个文件烧到SD卡上?拷贝哪些文件到SD卡?谢谢Arthur_zeng
!IF "$(BSP_NOSDMMC_BOOT)"=="1"
utilb.cpp \
bootpart.cpp \
!ENDIF
编译就会报上面错误。去掉就可以了!
现在新的问题是:我编译好之后,要把那个文件烧到SD卡上?拷贝哪些文件到SD卡?谢谢Arthur_zeng
#8
samsung提供了一个工具,Dragin V1.26.2.exe,看其操作说明。
#9
哦,这个工具我没有呀,能发个给我吗?26451602@QQ.COM。谢谢
#10
++
#11
stepldr.nb0,EBOOT.NB0,bootimage.nb0该烧哪个文件到SD卡上呢?手册上说SD卡启动要SDMMC0和SDMMC2这两个SDIO口是吗?还是只要选emmc启动,只要选SDMMC2口呢?
#12
你看SD烧录里那一部分代码,找一找应该会有的
#13
samsung里面有个Dragin User Guide 1.21.pdf, 里面有描述如何烧录。公司上不了qq
#14
LZ可以参考我曾经发的环境变量的配置,那是可以在samsung开发板上跑起来的。
印象中好象是烧录bootimage.nb0/nk.bin,有一段时间了,记不太清了 。
印象中好象是烧录bootimage.nb0/nk.bin,有一段时间了,记不太清了 。
#15
谢谢Arthur_zeng,我烧了bootimage.nb0,stepldr.nb0,eboot.nb0,这三个测试都不行呀。测试XpwmTOUT0这个脚,输出脉宽比是:45:55, 说是“No BL1 data in boot device”这个错误。我选择的OM是:OM3,OM2都=1,其他都=0. 从SDMMC0启动。
#16
他要SD的,这个我看在眼里,但是我就是没时间搞,先整一下S5pv210 android23./4.0 先。
#17
呵呵,谷歌人大侠只要抽空几分钟看看就能搞定呀,相信你的多年wince从业经验呀。让我们都在wince的康庄大道上走得更稳更好呀。谢谢!
#18
呵呵,谷歌人大侠只要抽空几分钟看看就能搞定呀,相信你的多年wince从业经验呀。让我们都在wince的康庄大道上走得更稳更好呀。谢谢!
#19
三星S5PV210的SDK开发包里没有介绍如何从SD卡启动的详细介绍。等待做过的指点一下。现在编译通过了,测试XpwmTOUT0这个脚,输出脉宽比是:45:55, 说是“No BL1 data in boot device”这个错误。我选择的OM是:OM3和OM2等于1,其他都等于0. 从SDMMC0启动。我的TF卡里该烧哪个文件:stepldr.nb0,还是eboot.nb0?
#20
我在九鼎 X210的开发板上刚调通。支持SD卡启动。
烧写的是9tripod_boot.nb0,对应三星的应该就是stepldr.nb0+eboot.nb0 合成的一个镜像文件
烧写的是9tripod_boot.nb0,对应三星的应该就是stepldr.nb0+eboot.nb0 合成的一个镜像文件
#21
http://blog.csdn.net/zhengmeifu/article/details/7572014 这篇博客详细记录了我的烧写过程。哪位大侠给指点一下哪里出错了呀?
#22
我也烧了bootimage.nb0这个文件,这个文件就是stepldr.nb0+eboot.nb0 合成的,然后把nk.bin也考进tf卡里了,还是报:No BL1 data in boot device这个错误。能否我把这个文件发给你,你帮我烧写到SD卡上测试一下有没启动信息呀?谢谢!
#23
行你发给我,我给你试下,我是通过DNW下载的。我可以发我的镜像给你测试。QQ:109430111
#24
问题解决了:是我的代码问题,我自己找到原因了,不能用6410的烧SD卡的工具来烧。但应该可以修改一下源码来继续使用这个工具。谁有修改成功的能用于烧写SD卡在S5PV210系统上能启动的IROM烧写工具呢?我的代码还产生了新的问题:http://blog.csdn.net/zhengmeifu/article/details/7579867。这个问题估计一般人解决不了,呵呵。
感谢Jtripod_boy,感谢Arthur_zeng,感谢hudaweikevin,感谢CSDN。愿继续支持,共同进步。
感谢Jtripod_boy,感谢Arthur_zeng,感谢hudaweikevin,感谢CSDN。愿继续支持,共同进步。
#25
用winhex 来烧写就可以了。
#1
自己顶一下
#2
链接不到StartUp,看这个函数哪里实现的,有没有编译
#3
就在eboot下,有编译的。source文件都有含进去的。
#4
LZ是用的哪个版本?我用的RTM release (0.27),2010.5.11发布的版本,是可以编译通过的呀.
#5
我的.bat配置
@REM
@REM Copyright (c) Microsoft Corporation. All rights reserved.
@REM
@REM
@REM Use of this source code is subject to the terms of the Microsoft end-user
@REM license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
@REM If you did not accept the terms of the EULA, you are not authorized to use
@REM this source code. For a copy of the EULA, please see the LICENSE.RTF on your
@REM install media.
@REM
set WINCEREL=1
@REM =============================================================
@REM
@REM Main Platform Features
@REM
@REM =============================================================
set BSP_NONANDFS=
set BSP_NOPOCKETSTORE=1
if /i not "%BSP_NOPOCKETSTORE%"=="1" set BSP_POCKETFS=1
set BSP_NOSDMMC_BOOT=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NONANDFS=1
@REM ----- Chip Revision Number Selection ------------------------
@REM S5PV210_EVT = 0 : S5PV210 EVT0
@REM S5PV210_EVT = 1 : S5PV210 EVT1
@REM ============================================
set S5PV210_EVT=1
@REM ----- BSP Configuration ---------------------------------------------------
set IMGNODEBUGGER=1
set IMGNOKITL=1
set BSP_NOPCIBUS=1
set BSP_NOCS8900=1
set IMGPROFILER=
if /i "%IMGPROFILER%"=="1" set IMGPERF=1
@REM =============================================================
@REM
@REM System Features
@REM
@REM =============================================================
@REM ----- System Clock Configuration ------------------------------
@REM ----- Filesystem Configuration ------------------------------
@REM For PocketFS
set BSP_POCKETFS=
@REM ----- Power Manangement Configuration ----------------------
@REM Support DVFS and Voltage Control by PMIC
set BSP_USEDVFS=
set BSP_PMIC_VOLTAGE_CONTROL=
@REM Deep Idle Test with Reset Button
@REM In this feature, Reset button works as button of triggering deep idle mode
set BSP_DEEPIDLE_TEST=
@REM Support Variable Idle
@REM Variable Idle function works in default level. It is able to be changed in case of something, for example, in using T32.
set BSP_NOIDLE=
@REM ----- System Timer Configuration ---------------------------
@REM Select Tick Timer type
@REM SYSTIMER_FIXED/SYSTIMER_VARIDLE
@REM set BSP_TICKTIMER=SYSTIMER_FIXED
set BSP_TICKTIMER=SYSTIMER_VARIDLE
@REM _SYSTIMERDIR has to be matched to a name of system timer folder
if /I "%BSP_TICKTIMER%"=="SYSTIMER_VARIDLE" set _SYSTIMERDIR=VARIDLETIMER
if /I "%BSP_TICKTIMER%"=="SYSTIMER_FIXED" set _SYSTIMERDIR=FIXEDSYSTIMER
@REM System timer tick error compensation by RTC TICK
set BSP_TICK_COMPENSATION=
@REM ----- Power Button Configuration ---------------------------
set BSP_NOPWRBTN=
@REM ----- BATTERY Driver Configuration -------------------------
set BSP_NOBATTERY=1
@REM ----- NLED Driver Configuration ----------------------------
set BSP_NONLED=
@REM ----- Configure the Debug serial channel ---------------------
@REM set BSP_DEBUGPORT=SERIAL_UART0
if /I "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART3
if /I not "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART2
@REM =============================================================
@REM
@REM Connectivity Features
@REM
@REM =============================================================
@REM ----- TOUCH Driver Configuration ---------------------------
@REM BSP_TOUCH_TYPE=0 : TSADC_CH0
@REM BSP_TOUCH_TYPE=1 : TSADC_CH1
@REM -------------------------------------------------------------
set BSP_NOTOUCH=
set BSP_TOUCH_TYPE=0
@REM ----- KEYBD Driver Configuration ---------------------------
@REM BSP_KEYBD_TYPE=0 : 8x8 keypad
@REM BSP_KEYBD_TYPE=1 : On-board key
@REM BSP_KEYBD_TYPE=2 : QWERTY keyboard
@REM -------------------------------------------------------------
set BSP_NOKEYBD=1
set BSP_KEYBD_TYPE=1
@REM ----- SD/MMC Driver Configuration -------------------------
set BSP_NOSDMMC_CH0=
set BSP_USE_SDMMC_CH0_8BIT=
set BSP_NOSDMMC_CH1=
set BSP_NOSDMMC_CH2=
set BSP_USE_SDMMC_CH2_8BIT=
set BSP_NOSDMMC_CH3=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NOSDMMC_CH0=1
@REM ----- SERIAL/SIR Device Driver Configuration -----------------
@REM SERIAL/SIR Device Driver
set BSP_NOSERIAL=
set BSP_NOUART0=
set BSP_NOUART1=1
set BSP_NOUART2=1
set BSP_NOUART3=1
set BSP_NOIRDA2=1
set BSP_NOIRDA3=1
set BSP_UART_RX_DMA=
@REM ----- USB HOST/FUNCTION Device Driver Configuration --------
set BSP_NOUSB=
set BSP_NOUSBHCD=
set BSP_NOUSBFN=
set BSP_USBFN_SERIAL=1
set BSP_USBFN_MSF=
set BSP_USBFN_RNDIS=
@REM ----- AUDIO Device Driver Configuration --------------------
@REM AUDIO Device Driver
set BSP_NOAUDIO=
set BSP_AUDIO_AC97=
@REM ----- I2C Device Driver Configuration -----------------------
set BSP_NOI2C=
@REM ----- SPI Device Driver Configuration -----------------------
set BSP_NOSPI=
set BSP_NOSPI0=
set BSP_NOSPI1=
set BSP_NOSPI2=1
@REM ----- BT Device Driver Configuration ------------------------
set BSP_NOBLUETOOTH=1
@REM ----- WLAN Device Driver Configuration ---------------------
set BSP_NOWLAN=1
@REM =============================================================
@REM
@REM Display & Multimedia Features
@REM
@REM =============================================================
@REM ----- BACKLIGHT Device Driver Configuration ----------------
set BSP_NOBACKLIGHT=
@REM ----- MFC Device Driver Configuration ----------------------
set BSP_NOMFC=
@REM ----- JPEG Device Driver Configuration ----------------------
set BSP_NOJPEG=
@REM ----- OpenGL ES Device Driver Configuration -----------------
@REM BSP_OES_FLIP=1 : FLIP mode
@REM BSP_OES_FLIP= : BLT mode
set BSP_NOOES=
set BSP_OES_FLIP=
if /i not "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_BLT
if /i "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_FLIP
@REM ----- D3DM Device Driver Configuration ---------------------
set BSP_NOD3DM=1
@REM ----- TVOUT Device Driver Configuration --------------------
set BSP_NOTVOUT=
set BSP_NOHDCP=
set BSP_NOCEC=
@REM ----- CAMERAFILTER Device Driver Configuration -------------
@REM CAMERA FILTER/I2C Device Driver
set BSP_NOCAMERA=
set IMGCAMERAOEM=1
set BSP_KITL=NONE
@REM set BSP_KITL=SERIAL_UART0
@REM set BSP_KITL=SERIAL_UART1
@REM set BSP_KITL=SERIAL_UART2
@REM set BSP_KITL=SERIAL_UART3
@REM set BSP_KITL=USBSERIAL
@REM For Hive Based Registry
set IMGHIVEREG=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_FSREGHIVE=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_REGFLUSH_THREAD=1
@REM For Multiple XIP (using demand paging on BINFS)
set IMGMULTIXIP=
set BUILD_OPTIONS=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BUILD_OPTIONS=%BUILD_OPTIONS% IROMBOOT
if /i "%BSP_NOPOCKETSTORE%"=="" call %_TARGETPLATROOT%\SRC\POCKETSTOREII15\env.bat
@REM Not support Multiple XIP on SDMMC Boot
if /i "%BSP_NOSDMMC_BOOT%"=="" set IMGMULTIXIP=
@REM
@REM Copyright (c) Microsoft Corporation. All rights reserved.
@REM
@REM
@REM Use of this source code is subject to the terms of the Microsoft end-user
@REM license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
@REM If you did not accept the terms of the EULA, you are not authorized to use
@REM this source code. For a copy of the EULA, please see the LICENSE.RTF on your
@REM install media.
@REM
set WINCEREL=1
@REM =============================================================
@REM
@REM Main Platform Features
@REM
@REM =============================================================
set BSP_NONANDFS=
set BSP_NOPOCKETSTORE=1
if /i not "%BSP_NOPOCKETSTORE%"=="1" set BSP_POCKETFS=1
set BSP_NOSDMMC_BOOT=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NONANDFS=1
@REM ----- Chip Revision Number Selection ------------------------
@REM S5PV210_EVT = 0 : S5PV210 EVT0
@REM S5PV210_EVT = 1 : S5PV210 EVT1
@REM ============================================
set S5PV210_EVT=1
@REM ----- BSP Configuration ---------------------------------------------------
set IMGNODEBUGGER=1
set IMGNOKITL=1
set BSP_NOPCIBUS=1
set BSP_NOCS8900=1
set IMGPROFILER=
if /i "%IMGPROFILER%"=="1" set IMGPERF=1
@REM =============================================================
@REM
@REM System Features
@REM
@REM =============================================================
@REM ----- System Clock Configuration ------------------------------
@REM ----- Filesystem Configuration ------------------------------
@REM For PocketFS
set BSP_POCKETFS=
@REM ----- Power Manangement Configuration ----------------------
@REM Support DVFS and Voltage Control by PMIC
set BSP_USEDVFS=
set BSP_PMIC_VOLTAGE_CONTROL=
@REM Deep Idle Test with Reset Button
@REM In this feature, Reset button works as button of triggering deep idle mode
set BSP_DEEPIDLE_TEST=
@REM Support Variable Idle
@REM Variable Idle function works in default level. It is able to be changed in case of something, for example, in using T32.
set BSP_NOIDLE=
@REM ----- System Timer Configuration ---------------------------
@REM Select Tick Timer type
@REM SYSTIMER_FIXED/SYSTIMER_VARIDLE
@REM set BSP_TICKTIMER=SYSTIMER_FIXED
set BSP_TICKTIMER=SYSTIMER_VARIDLE
@REM _SYSTIMERDIR has to be matched to a name of system timer folder
if /I "%BSP_TICKTIMER%"=="SYSTIMER_VARIDLE" set _SYSTIMERDIR=VARIDLETIMER
if /I "%BSP_TICKTIMER%"=="SYSTIMER_FIXED" set _SYSTIMERDIR=FIXEDSYSTIMER
@REM System timer tick error compensation by RTC TICK
set BSP_TICK_COMPENSATION=
@REM ----- Power Button Configuration ---------------------------
set BSP_NOPWRBTN=
@REM ----- BATTERY Driver Configuration -------------------------
set BSP_NOBATTERY=1
@REM ----- NLED Driver Configuration ----------------------------
set BSP_NONLED=
@REM ----- Configure the Debug serial channel ---------------------
@REM set BSP_DEBUGPORT=SERIAL_UART0
if /I "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART3
if /I not "%S5PV210_EVT%"=="0" set BSP_DEBUGPORT=SERIAL_UART2
@REM =============================================================
@REM
@REM Connectivity Features
@REM
@REM =============================================================
@REM ----- TOUCH Driver Configuration ---------------------------
@REM BSP_TOUCH_TYPE=0 : TSADC_CH0
@REM BSP_TOUCH_TYPE=1 : TSADC_CH1
@REM -------------------------------------------------------------
set BSP_NOTOUCH=
set BSP_TOUCH_TYPE=0
@REM ----- KEYBD Driver Configuration ---------------------------
@REM BSP_KEYBD_TYPE=0 : 8x8 keypad
@REM BSP_KEYBD_TYPE=1 : On-board key
@REM BSP_KEYBD_TYPE=2 : QWERTY keyboard
@REM -------------------------------------------------------------
set BSP_NOKEYBD=1
set BSP_KEYBD_TYPE=1
@REM ----- SD/MMC Driver Configuration -------------------------
set BSP_NOSDMMC_CH0=
set BSP_USE_SDMMC_CH0_8BIT=
set BSP_NOSDMMC_CH1=
set BSP_NOSDMMC_CH2=
set BSP_USE_SDMMC_CH2_8BIT=
set BSP_NOSDMMC_CH3=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BSP_NOSDMMC_CH0=1
@REM ----- SERIAL/SIR Device Driver Configuration -----------------
@REM SERIAL/SIR Device Driver
set BSP_NOSERIAL=
set BSP_NOUART0=
set BSP_NOUART1=1
set BSP_NOUART2=1
set BSP_NOUART3=1
set BSP_NOIRDA2=1
set BSP_NOIRDA3=1
set BSP_UART_RX_DMA=
@REM ----- USB HOST/FUNCTION Device Driver Configuration --------
set BSP_NOUSB=
set BSP_NOUSBHCD=
set BSP_NOUSBFN=
set BSP_USBFN_SERIAL=1
set BSP_USBFN_MSF=
set BSP_USBFN_RNDIS=
@REM ----- AUDIO Device Driver Configuration --------------------
@REM AUDIO Device Driver
set BSP_NOAUDIO=
set BSP_AUDIO_AC97=
@REM ----- I2C Device Driver Configuration -----------------------
set BSP_NOI2C=
@REM ----- SPI Device Driver Configuration -----------------------
set BSP_NOSPI=
set BSP_NOSPI0=
set BSP_NOSPI1=
set BSP_NOSPI2=1
@REM ----- BT Device Driver Configuration ------------------------
set BSP_NOBLUETOOTH=1
@REM ----- WLAN Device Driver Configuration ---------------------
set BSP_NOWLAN=1
@REM =============================================================
@REM
@REM Display & Multimedia Features
@REM
@REM =============================================================
@REM ----- BACKLIGHT Device Driver Configuration ----------------
set BSP_NOBACKLIGHT=
@REM ----- MFC Device Driver Configuration ----------------------
set BSP_NOMFC=
@REM ----- JPEG Device Driver Configuration ----------------------
set BSP_NOJPEG=
@REM ----- OpenGL ES Device Driver Configuration -----------------
@REM BSP_OES_FLIP=1 : FLIP mode
@REM BSP_OES_FLIP= : BLT mode
set BSP_NOOES=
set BSP_OES_FLIP=
if /i not "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_BLT
if /i "%BSP_OES_FLIP%"=="1" set _OESRELEASEDIR=%_FLATRELEASEDIR%\OpenGLES\DLL_FLIP
@REM ----- D3DM Device Driver Configuration ---------------------
set BSP_NOD3DM=1
@REM ----- TVOUT Device Driver Configuration --------------------
set BSP_NOTVOUT=
set BSP_NOHDCP=
set BSP_NOCEC=
@REM ----- CAMERAFILTER Device Driver Configuration -------------
@REM CAMERA FILTER/I2C Device Driver
set BSP_NOCAMERA=
set IMGCAMERAOEM=1
set BSP_KITL=NONE
@REM set BSP_KITL=SERIAL_UART0
@REM set BSP_KITL=SERIAL_UART1
@REM set BSP_KITL=SERIAL_UART2
@REM set BSP_KITL=SERIAL_UART3
@REM set BSP_KITL=USBSERIAL
@REM For Hive Based Registry
set IMGHIVEREG=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_FSREGHIVE=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_REGFLUSH_THREAD=1
@REM For Multiple XIP (using demand paging on BINFS)
set IMGMULTIXIP=
set BUILD_OPTIONS=
if /i "%BSP_NOSDMMC_BOOT%"=="" set BUILD_OPTIONS=%BUILD_OPTIONS% IROMBOOT
if /i "%BSP_NOPOCKETSTORE%"=="" call %_TARGETPLATROOT%\SRC\POCKETSTOREII15\env.bat
@REM Not support Multiple XIP on SDMMC Boot
if /i "%BSP_NOSDMMC_BOOT%"=="" set IMGMULTIXIP=
#6
哦,我的版本估计和你的一样。这个bat和你的差不多。不知是否是if /i "%BSP_NOSDMMC_BOOT%"=="" set BUILD_OPTIONS=%BUILD_OPTIONS% IROMBOOT 这项的影响。你单独编译iromboot目录能编译成功吗?你能把bootloader下的代码发给我对比一下吗?
#7
靠,终于可以了,原来是我的eboot下的SOURCE文件中的SOURCES= 增加了以下几句:
!IF "$(BSP_NOSDMMC_BOOT)"=="1"
utilb.cpp \
bootpart.cpp \
!ENDIF
编译就会报上面错误。去掉就可以了!
现在新的问题是:我编译好之后,要把那个文件烧到SD卡上?拷贝哪些文件到SD卡?谢谢Arthur_zeng
!IF "$(BSP_NOSDMMC_BOOT)"=="1"
utilb.cpp \
bootpart.cpp \
!ENDIF
编译就会报上面错误。去掉就可以了!
现在新的问题是:我编译好之后,要把那个文件烧到SD卡上?拷贝哪些文件到SD卡?谢谢Arthur_zeng
#8
samsung提供了一个工具,Dragin V1.26.2.exe,看其操作说明。
#9
哦,这个工具我没有呀,能发个给我吗?26451602@QQ.COM。谢谢
#10
++
#11
stepldr.nb0,EBOOT.NB0,bootimage.nb0该烧哪个文件到SD卡上呢?手册上说SD卡启动要SDMMC0和SDMMC2这两个SDIO口是吗?还是只要选emmc启动,只要选SDMMC2口呢?
#12
你看SD烧录里那一部分代码,找一找应该会有的
#13
samsung里面有个Dragin User Guide 1.21.pdf, 里面有描述如何烧录。公司上不了qq
#14
LZ可以参考我曾经发的环境变量的配置,那是可以在samsung开发板上跑起来的。
印象中好象是烧录bootimage.nb0/nk.bin,有一段时间了,记不太清了 。
印象中好象是烧录bootimage.nb0/nk.bin,有一段时间了,记不太清了 。
#15
谢谢Arthur_zeng,我烧了bootimage.nb0,stepldr.nb0,eboot.nb0,这三个测试都不行呀。测试XpwmTOUT0这个脚,输出脉宽比是:45:55, 说是“No BL1 data in boot device”这个错误。我选择的OM是:OM3,OM2都=1,其他都=0. 从SDMMC0启动。
#16
他要SD的,这个我看在眼里,但是我就是没时间搞,先整一下S5pv210 android23./4.0 先。
#17
呵呵,谷歌人大侠只要抽空几分钟看看就能搞定呀,相信你的多年wince从业经验呀。让我们都在wince的康庄大道上走得更稳更好呀。谢谢!
#18
呵呵,谷歌人大侠只要抽空几分钟看看就能搞定呀,相信你的多年wince从业经验呀。让我们都在wince的康庄大道上走得更稳更好呀。谢谢!
#19
三星S5PV210的SDK开发包里没有介绍如何从SD卡启动的详细介绍。等待做过的指点一下。现在编译通过了,测试XpwmTOUT0这个脚,输出脉宽比是:45:55, 说是“No BL1 data in boot device”这个错误。我选择的OM是:OM3和OM2等于1,其他都等于0. 从SDMMC0启动。我的TF卡里该烧哪个文件:stepldr.nb0,还是eboot.nb0?
#20
我在九鼎 X210的开发板上刚调通。支持SD卡启动。
烧写的是9tripod_boot.nb0,对应三星的应该就是stepldr.nb0+eboot.nb0 合成的一个镜像文件
烧写的是9tripod_boot.nb0,对应三星的应该就是stepldr.nb0+eboot.nb0 合成的一个镜像文件
#21
http://blog.csdn.net/zhengmeifu/article/details/7572014 这篇博客详细记录了我的烧写过程。哪位大侠给指点一下哪里出错了呀?
#22
我也烧了bootimage.nb0这个文件,这个文件就是stepldr.nb0+eboot.nb0 合成的,然后把nk.bin也考进tf卡里了,还是报:No BL1 data in boot device这个错误。能否我把这个文件发给你,你帮我烧写到SD卡上测试一下有没启动信息呀?谢谢!
#23
行你发给我,我给你试下,我是通过DNW下载的。我可以发我的镜像给你测试。QQ:109430111
#24
问题解决了:是我的代码问题,我自己找到原因了,不能用6410的烧SD卡的工具来烧。但应该可以修改一下源码来继续使用这个工具。谁有修改成功的能用于烧写SD卡在S5PV210系统上能启动的IROM烧写工具呢?我的代码还产生了新的问题:http://blog.csdn.net/zhengmeifu/article/details/7579867。这个问题估计一般人解决不了,呵呵。
感谢Jtripod_boy,感谢Arthur_zeng,感谢hudaweikevin,感谢CSDN。愿继续支持,共同进步。
感谢Jtripod_boy,感谢Arthur_zeng,感谢hudaweikevin,感谢CSDN。愿继续支持,共同进步。
#25
用winhex 来烧写就可以了。