@ -18,81 +18,16 @@ PKG_MIRROR_HASH:=a9c97755809994a668ee5f0e535cef9f344fc5523c4299ac76f26c63976c80b
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / C o n f i g
define Package/layerscape-rcw-$( 1)
SECTION:= firmware
CATEGORY:= Firmware
TITLE:= $( 2)
DEPENDS:= @TARGET_layerscape
CONFIG:= $( 3)
endef
d e f i n e P a c k a g e / l a y e r s c a p e - r c w
SECTION:= firmware
CATEGORY:= Firmware
TITLE:= NXP Layerscape RCW binaries
DEPENDS:= @TARGET_layerscape
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 1 2 a f r d m
TITLE:= NXP LS1012AFRDM RCW binary
CONFIG:= ls1012afrdm/N_SSNP_3305/rcw_800.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 1 2 a r d b
TITLE:= NXP LS1012ARDB RCW binary
CONFIG:= ls1012ardb/R_SPNH_3508/rcw_1000_default.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 1 2 a f r w y
TITLE:= NXP LS1012AFRWY RCW binary
CONFIG:= ls1012afrwy/N_SSNP_3305/rcw_1000_default.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 4 3 a r d b
TITLE:= NXP LS1043ARDB RCW binary
CONFIG:= ls1043ardb/RR_FQPP_1455/rcw_1600.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 4 3 a r d b - s d b o o t
TITLE:= NXP LS1043ARDB SD card boot RCW binary
CONFIG:= ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 4 6 a r d b
TITLE:= NXP LS1046ARDB RCW binary
CONFIG:= ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 4 6 a r d b - s d b o o t
TITLE:= NXP LS1046ARDB SD card boot RCW binary
CONFIG:= ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 8 8 a r d b
TITLE:= NXP LS1088ARDB RCW binary
CONFIG:= ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 8 8 a r d b - s d b o o t
TITLE:= NXP LS1088ARDB SD card boot RCW binary
CONFIG:= ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_sd.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 2 0 8 8 a r d b
TITLE:= NXP LS2088ARDB RCW binary
CONFIG:= ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / l s 1 0 2 1 a t w r
TITLE:= NXP LS1021ATWR RCW binary
CONFIG:= ls1021atwr/SSR_PNS_30/rcw_1200.bin
e n d e f
d e f i n e P a c k a g e / l a y e r s c a p e - r c w / I n s t a l l
define Package/layerscape-rcw-$( 1) /install
$( INSTALL_DIR) $( STAGING_DIR_IMAGE)
$( CP) $( PKG_BUILD_DIR) /$( CONFIG) $( STAGING_DIR_IMAGE) /$( 1) -rcw.bin
endef
e n d e f
RCWS := \
ls1012afrdm \
BOARDS := \
ls1012ardb \
ls1012afrdm \
ls1012afrwy \
ls1043ardb \
ls1043ardb-sdboot \
@ -103,9 +38,22 @@ RCWS := \
ls2088ardb \
ls1021atwr
$( foreach rcw ,$ ( RCWS ) , \
$( eval $( Package/layerscape-rcw/$( rcw) ) ) \
$( eval $( call Package/layerscape-rcw/Config,$( rcw) ,$( TITLE) ,$( CONFIG) ) ) \
$( eval $( call Package/layerscape-rcw/Install,$( rcw) ) ) \
$( eval $( call BuildPackage,layerscape-rcw-$( rcw) ) ) \
)
RCW_ls1012ardb := ls1012ardb/R_SPNH_3508/rcw_1000_default.bin
RCW_ls1012afrdm := ls1012afrdm/N_SSNP_3305/rcw_800.bin
RCW_ls1012afrwy := ls1012afrwy/N_SSNP_3305/rcw_1000_default.bin
RCW_ls1043ardb := ls1043ardb/RR_FQPP_1455/rcw_1600.bin
RCW_ls1043ardb-sdboot := ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.bin
RCW_ls1046ardb := ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin
RCW_ls1046ardb-sdboot := ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.bin
RCW_ls1088ardb := ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin
RCW_ls1088ardb-sdboot := ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_sd.bin
RCW_ls2088ardb := ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin
RCW_ls1021atwr := ls1021atwr/SSR_PNS_30/rcw_1200.bin
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( STAGING_DIR_IMAGE)
$( foreach board,$( BOARDS) , \
$( CP) $( PKG_BUILD_DIR) /$( RCW_$( board) ) $( STAGING_DIR_IMAGE) /$( board) -rcw.bin; )
e n d e f
$( eval $ ( call BuildPackage ,layerscape -rcw ) )