Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
broadcom-utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Broadcom
broadcom-utils
Commits
399bd035
Commit
399bd035
authored
5 years ago
by
Ronny Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
Add empty sources for generating Broadcom UBI METADATA volume.
parent
636e884f
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#89
failed
5 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
brcm_fw_tool/image-ubi.c
+26
-0
26 additions, 0 deletions
brcm_fw_tool/image-ubi.c
brcm_fw_tool/image-ubi.h
+8
-0
8 additions, 0 deletions
brcm_fw_tool/image-ubi.h
with
34 additions
and
0 deletions
brcm_fw_tool/image-ubi.c
0 → 100644
+
26
−
0
View file @
399bd035
#include
<stdlib.h>
#include
<unistd.h>
#include
<stdio.h>
#include
<stdint.h>
#include
<errno.h>
#include
<time.h>
#include
<string.h>
#include
"crc32.h"
#include
"linux/jffs2.h"
#include
<board.h>
#include
"bcmTag.h"
#include
"bcmnet.h"
#include
<bcm_sdk_version.h>
#define je16_to_cpu je16_to_cpu_bcm
#define getCrc32(x, y, z) crc32(z, x, y)
#include
<endian.h>
#include
"bcm_ubi.h"
// Generate Broadcom "METADATA" UBI volume.
int
gen_image_ubi
(
const
char
*
in_file
,
char
*
sequence_number
)
{
return
0
;
}
This diff is collapsed.
Click to expand it.
brcm_fw_tool/image-ubi.h
0 → 100644
+
8
−
0
View file @
399bd035
#ifndef IMAGE_JFFS2_H
#define IMAGE_JFFS2_H
int
gen_image_ubi
(
const
char
*
in_file
,
char
*
sequence_number
);
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment